Category "laravel-8"

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

Laravel Http client before request send add headers

I'm using Http client for making outgoing HTTP requests. I've used it many places in the project.Now project has new requirement that I have to add a new header

Illuminate\Contracts\Container\BindingResolutionException Target class [app\Http\Controllers\FrontEnd\IndexController] does not exist

**Target class ** does not exist. ?? Why I didn't understand Error Is lluminate\Contracts\Container\BindingResolutionException Target class [app\Http\Control

Google Sheet to Laravel 8 Integration

I want to integrate google sheet with Laravel 8 without any third party tool or connector. I know its simple for many but i am not able to get through. Highly a

Google Sheet to Laravel 8 Integration

I want to integrate google sheet with Laravel 8 without any third party tool or connector. I know its simple for many but i am not able to get through. Highly a

Laravel 8 Admin controller don't work - in what problem?

I have this route: Route::group(['prefix' => 'admin', 'namespace' => 'Admin', 'middleware' => ['web', 'auth']], function () {; Route::get('/', fun

Laravel data backtracking after Session::flush()

I'm using Laravel 8 to do a login/logout function, if users login, their data will record in session; and if logout, it will be destroyed from session. I find t

Using Carbon diffForHumans in my model in laravel 8

I am using laravel 8 framework as my backend for my android application and I want to output time the same way instagram shows time but each time I use carbon d

Laravel Sanctum throws 401 Unauthenticated when using Postman

I have problem with Laravel Sanctum. My dev environment is located in subdomain. All my API routes are prefixed with /api. Here are my settings: .env APP_URL=ht

Getting msg as "cmdlet Invoke-WebRequest at command pipeline position 1 Supply values for the following parameters: Uri:" when installing laravel

Getting msg as "cmdlet Invoke-WebRequest at command pipeline position 1 Supply values for the following parameters: Uri:" when installing Laravel with docker. I

How to generate QR CODE for dynamic generating link and logo using Simple QrCode in laravel?

I want to generate 'Image inside QR CODE' with dynamic url and Image. I have mentioned the below error and code. Used the https://www.simplesoftware.io/#/docs/s

How to change 'users' auth table and use another instead Laravel

So I just started a Laravel Project with Breeze, and I wanted to change the default table users , the problem is it didn't work, I did my research for days and

run function in every login in laravel fortify

I am using Laravel 8 with Fortify. I saved user's emails and passwords into the database and I'm not going to use registration. Every time users log in, I need

Laravel reuse session on subdomain

Let's say, I created 2 server and 4 sub domains. example.com and first.example.com route to first server. second.example.com and third.example.com route to seco

How to properly start Laravel 8 with Bootstrap & authentication

I face the following image every time I want to start a new Laravel 8 project with authentication routes set up using the laravel/ui package and Bootstrap scaff

How to properly start Laravel 8 with Bootstrap & authentication

I face the following image every time I want to start a new Laravel 8 project with authentication routes set up using the laravel/ui package and Bootstrap scaff