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(
I'm trying deploy my project to Hostinger with git, but I can't deploy direct to root folder (/home/uXXXXXXXX). The path in cPanel is directly to /home/uXXXXXXX
I'm trying to test a function that depends on $request->all(); in a method. How do I mock the Request class so $request->all(); returns ['includes' =
I noticed that whenever I create a class using database information in Laravel, the table name must be plural. Why is this?
I'm implementing a simple impersonation system for Laravel with Sanctum. Earlier I used Tymondesigns/jwt-auth with Rickycezar/laravel-jwt-impersonate, but we re
I have logging enabled by default on Laravel 5.5. The settings are: In config/app.php file: 'log' => env('APP_LOG', 'single'), 'log_level' => env('APP
I am having a small issue. There are two user roles and one is a normal member and one is an admin. The member can delete a blog and they will not be able to se
Something's making my out-of-the-box Laravel project with browser-sync and the browser-sync-webpack-plugin installed to load infinitely on the browser-sync page
How do I print all running session variable in Laravel 5.1? I want to print all the running session variable. Currently I can retrieve single running session f
I am using laravel 5.6 on windows environment using php 7.2, (installed with xampp).After installing laravel the 'php artisan serve' command work but automatica
Recently I have migrated one of my projects (PHP 7.4/Lumen/Ubuntu 20.04) from MongoDB to MongoDB compatible AWS DocumentDB. Since the migration all the CLI Scri
I've been reading answers from all the questions related to GuzzleHttp\Client but situation is getting worst. I am trying to send E-mail Updates to all of my Ap
I am new to laravel framework. I am trying to edit laravel webapplication. Website is running in EC-2 instance of AWS. I am doing SCP with filezilla. I found
So, i try to install the lumen restful api. Based on tutorial, i have to "serve" on php artisan. The command be like: php artisan serve sample_api sample_api/p
In Laravel Application I have month number like 01, 02, 03 upto 12. I want to get all days in this month. I cannot use daysInMonth() as I do not have a date all
I am trying to get the current user in my laravel vue application. And whenever I trie to get it i am getting this error: Symfony\Component\Routing\Exception\Ro
I'm little wonder please help me out. My query is :- Invoice::join('orders', 'orders.invoice_id', '=', 'invoices.id')->groupBy('invoices.id')->get();
I have been trying to work with laravel unit testing. What I wanted was how to get the response data of original. public function testProducts() { $respons
I am new in laravel. My query is i need to find out value from comma separated field. Here is my table: tags_value id tags 1 css,html,php 2 php,java,css 3 java
I am working on Laravel(5.4) project. I am facing an strange issue regarding the laravel views. My all views are working fine but some views are always showing