Subject 1: I am using Laravel version 7 in my project, and in order to add a query to all my models in Laravel, I have added a global scope to all my ...
Subject 1: I am using Laravel version 7 in my project, and in order to add a query to all my models in Laravel, I have added a global scope to all my ...
i have problem with HTTP API post request using laravel 7 i tried with with postman is work fine this my code : the response that i get : Note ...
I am facing some difficulties while developing an app on Laravel. I want to use Event and Listener to delete and rebuild the cache of an object. Here ...
whene i run composer u , in laravel receive this error : I feel that it says "I can't connect to the repo.packagist.org" i was try u --ignore-plat ...
I have 4 MySQL tables, using PHP and Laravel 7 members deductions payments payment_deductions Now I want to display every single member i ...
I have a table that looks like the one below: id age color 1 2 blue 3 ...
ErrorException Invalid argument supplied for foreach() (View: D:\Projects\Laravel\Laravel-api\resources\views\new.blade.php) Controller ...
I want to create a new database and user **only **for created new database And save it on current database. Ex - New User - Sam Password - samDb123 ...
in blade template in routes in controller but i receive HTTP code 404, if i remove the parameter in controller receive "ok". ...
I have used Laravel 7 for my project. This project has a many-to-many relationship between two tables named "orders" and "products." The following is ...
Lavavel & PHP versions: Laravel: 7 PHP: 7.4.30 I am trying to install pbmedia/laravel-ffmpeg package using composer like so: On the first tr ...
so I have validated a password with different regex pattern, now I want to return different validation messages for each pattern so that user can get ...
I have 2 methods in my feature test LoginTest.php that check for incorrect password or username. When I run vendor/bin/phpunit I don't get any errors ...
I am working with laravel 7 and after clone my existing repo which was created via windows operating system and right now i am using macOS. After clon ...
This my first post here, but by no mean my first time visiting. I'm an amateur coder and I'm working on something that has stumped me for passed day o ...
I have three different input file in a form. But when I submit the form it only gets the first input file. How can I upload multiple input file? Here' ...
I have two Laravel projects, lets say A and B, with different database. The login form of A has a select where user can choose project A or B to acces ...
I am trying to make a POST request to add a showroom in the Laravel application. When I try to do it with Showroom model using Eloquent ORM , it shows ...
I make a React bootstrap (not react-bootstrap) and Laravel project. It's only a taskscheduler This app fulfill with success CRUD operations (except ...
I am working on a MLM System, i want to get all childs & subchilds of any parent user. i tried use of recursion but failed. please help me to solv ...