Category "laravel-8"

Laravel - Alternative root domain on verification email link

I have a Laravel application which can be accessed from multiple clients all of which have their own domain (eg myclient.com). In addition, there is a core clie

Build the complete Tailwind 3 app.css file using Laravel Mix in Docker container

I have set up Laravel in a Docker container and launched it using Laravel Sail. I'm using Laravel mix with tailwind version 3 to include my CSS. The issue is th

Login if user is active using Laravel Breeze

I've changed it in the LoginRequest.php file at authenticate function, but it doesn't work. if (! Auth::attempt($this->only('email', 'password', ['active' =&

Laravel 8 http testing error Failed asserting that two strings are equal

I want to test the endpoint Sign Up (you can consider signup as registration), and at the same time I want to return the response object and redirect the user t

Use array_filter in foreach

I am presenting this problem when making a store in my database, which is data entered from a table in my view. Example: table For example, my user selects row

Use array_filter in foreach

I am presenting this problem when making a store in my database, which is data entered from a table in my view. Example: table For example, my user selects row

Mailhog is not working in Laravel 8.x + Sail

I'm using Sail with Laravel 8.x I set it up and it's working perfectly. However, as said here in the Doc, I'm supposed to be able to access the MailHog web inte

When I use ngrok to load my Laravel app , it only displays basic html and no css

The website my groupmates and I are working on is only locally available on my laptop. I want them to be able to open the website from their own homes, so that

Laravel failed to listen on 127.0.0.1:8000 (reason ?)

So I just created a new project using the command: laravel new blog Then I started by changing the directory and do the command php artisan serve And this i

Attempt to read property \"view\" on null when sending password reset email

I am trying to build password reset functionality but with a custom email template. So instead of returning the MailMessage from the notification I can sending

When try to log in as user : Target class [Laravel\Fortify\Http\Controllers\AuthenticateSessionController] does not exist

I am new to Laravel 8, I am trying to make a multi auth system for admin and user. I made a guard for admin, in FortifyServiceProvider in register method I adde

Insert multiple records at once from a table

I have this table which is loaded with data from the database and what the user has to do is select the one they want and fill in the data from both the select

strpos(): Argument #1 ($haystack) must be of type string, array given

I'm newbie in Laravel, and follow a free course in Laracast. This is link of my course my_cource (episode 11 at 2:49s). Summary of my problem: I'm trying to mak

The POST method is not supported for this route. Supported methods: GET, HEAD, PUT, PATCH, DELETE. Laravel 8

hello i have a problem with uploading a form this is my form @extends('layouts.app-admin') @section('content') <div class="container"> <div

Laravel 8 - Bootstrap 5 Bootstrap-select dont show options

I am trying to set bootstrap-select in laravel via laravel mix. Everything seems correct, but when clicking on the select, it does not show the options. In reso

Undefined variable in Laravel 8 project (php 7.4)

Most of the functions i the project works but when it comes to register results I’m getting an error. This is an extensive pistol competition system where

Laravel route returning error 404 when attempt is made to pass value to controller function

I have a button in my blade like this @can('customer_show') <a class = "btn btn-primary" href = "{{ route('admin.loan-applications.showCustVi

How to use regex or any other operator with whereIn clause

Is there any way we can use operator or regex as we normally do with the whereIn() clause. I want to use something like this $query->whereIN(name,'like','%te

storage\logs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied

I have developed my application in Laravel 8, it's working fine in localhost and Linux server. But When I deployed it in Plesk Windows Server it's showing permi

How can i update or reset my password without entering email field in laravel-8?

i have some users in my usertable ,when ever i sent to reset token to my mail based on that mail i am updating my user account password(reset-password)that's wo