I have a users table which has many debitur. I already set the user_id in debitur with onDelete('cascade'). Schema::table('debitur', function ($table) { $t
I've a fetch a Laravel Eloquent collection by: $product = Product::query()->with(['merchant', 'picture'])->where('id', $id)->first(); and get the du
I am uploading a simple subscription page for my website using cPanel. I uploaded the files to public_html, moved the files from public folder and modify index.
I have been using Laravel powered API and VueJS powered frontend, two separate projects for single page application. Now I want to switch to Laravel Jetstream w
I tried to get the environment variable from the .env in my root with Route::get('/test', function () { return "value is". getenv('APP_ENV'); }); and Ro
I've searched and searched and I can't find the answer to my problem on SO. So here's my issue. I'm trying to load jQuery Globally using Laravel Mix. I've tried
@ dev /home/eduardo/blog2 npm run development @ development /home/eduardo/blog2 cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js -
I've saved some of my mobile registration_codes that are connected with my development environment of Firebase. Once I send a manual notification by the api I r
I have a Laravel installation running on a Debian 9.9 server and PHP 7.4. I need to connect to a SQL Server database on a remote Windows server. I followed th
Using PHP Laravel Framework to consume kafka messages with the help of the mateusjunges/laravel-kafka laravel package. Is it possible to save the offset by cons
Does calling the Laravel increment() on an Eloquent model lock the row? For example: $userPoints = UsersPoints::where('user_id','=',\Auth::id())->first();
In my site I have seven different HTML Layouts. The reason i ended up having so many is because some pages had different headers/footers and some pages did not
My laravel project is standing on xampp on windows. Whenever I make a critical error (a typo for example) i should get an error, but instead I'm seeing "This pa
I have a problem. I am download project from hosting. now when I run the project this error shows. pic attached. I think this is cache problem, I clear cache, v
I want to develop an eCommerce website using laravel on a limited time-frame and i found out the package bagisto is developed for that purpose. However after do
I have a monolith web application powered by Laravel. Users access different forms and some of them have button on them that executes Ajax call to the back-end
I want to see how I can disable CSRF token in Laravel and where I have to disable it. Is this good to disable it or not?
I am new to PHP and Laravel. While virtualhosting with Wamp, I could specify the documentroot, servername and the port number - hence specifying the domain name
The external links of CSS and JS are not working when I try access my Laravel project from localhost by www.localhost/myproject this. But others porject run wel
Have created an app in Laravel 8, and have used the PHP artisan command "ui:auth" to create a login system, which works fine. However, when trying to use "auth(