I am working on a registration form with Laravel 8 and Vue 3. The back-end is an API. In the users table migration file I have: class CreateUs
I'm using Laravel Cashier. I dont use reel users for payment $stripeCharge = (new User)->charge(100, $paymentMethod); Now, I need to preview invoice informa
I have the User model which define the following attribute: public function getAvatarUrlAttribute() { return 'https://i.pravatar.cc/300?u=' . $this->
I am working on a laravel reactjs project and when I run the command npm run dev the compilation stuck at 95% and give the following error. I checked in the wh
I am working on a Laravel project. I often change the database connection between Mysql and Sqlite during development. In a php artisan Laravel command I have a
Using lumen 8.2.3 I am only trying to dispatch a unique job to a queue. In app/Console/Kernel I have sent a schedule to $schedule->job(new myJob(), 'high')-
I've posted about this three times and hopefully someone will help me with a solution. I have a lot of data in my database that the user has created. Suppose I
I have started a new project with Laravel 8. I use the starter kit Laravel Breeze. But I can't customize fields. I have changed fields in the migration and Regi
Someone can help me to fix this conflict Your requirements could not be resolved to an installable set of packages. Problem 1 - tymon/jwt-auth is locked to vers
I am trying to install a fresh laravel 8 project. After downloading frontend scaffolding when I try to run npm run dev it gives me an error. This problem also h
I am pretty new to Laravel. So I have a Laravel Vue app where i want to hide a view.blade only in my production environment and not on staging , i tried with th
I'm developing real-time app with Laravel. Since I don't want to use Pusher, I'm trying to make websockets work using Laravel Echo Server, Redis, and Socket.IO.
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
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
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' =&
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
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
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
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
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