Category "laravel"

Too few arguments to function App\Http\Controllers\DataPegawaiController::storeDetail(), 1 passed in

i have problem like this. After insert new User to Pegawais table, i want to redirect to another view with user id parameter to define EducationHistory & Wo

How to disable laravel 5.2 password bcrypt

I want to disable the laravel password bcrypt when I try to log-in like this Auth::guard('client')->attempt( 'id' => $request['id'], 'password' => $re

How to fix `There is currently no session available` after an API request call to Laravel 9

After Laravel project upgrade to PHP8 and laravel 9 on the all API endpoints started getting: There is currently no session available. Upgrade was made from lar

The post method is not supported for this route

I'm new to laravel and I want to submit a form which have three attachments plus some arrays but when I click submit button laravel says "The POST method

Take back to login page after successfully reset his/her password in laravel 5.4

I want to redirect to login page whenever a user successfully reset his/her password in laravel 5.4. Currently it redirects to dashboard page after successfull

Netbeans customize laravel blade commands color

I have been working on a Laravel project and was able to implement the code completion from the IDE Helper. What I am trying to find is a way to customize the c

How to read laravel_session cookies saved in cookie memory of browser in client side?

I have an laravel and angular based application, I would like to read cookies from client to server side, But i can't read it. So can any one tell me how could

Call to a member function givePermissionTo() on null

I'm trying to learn Spatie Laravel Permission Package. When trying to insert data to models has permissions table it gives the below error in postman. I don't k

postgresql uuid-ossp.control file missing in extention folder. I have installed postgres 9.6 on windows 10

I am getting the below error on running this query CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; SQLSTATE[58P01]: Undefined file: 7 ERROR: could not open extensi

How to insert data in the enum field?

I've an enum field in my migration. The code is here: Schema::create('clients', function (Blueprint $table) { $table->increments('id'); $ta

Why I get this error laravel-worker: ERROR (no such group)

I followed the official Laravel doc to start queue in the background using supervisor in Centos 7. But whene I run this command sudo supervisorctl start larave

Use a Laravel Application alongside another scripts (wp/joomla/...) and remove /public

This is my directory structure: Public_html /app /bootstrap /config /database /public /resources /routes /vendor /storage /another-sctipt I

Why config cache not working on my shared hosting in Laravel 8

I uploaded my laravel site in shared hosting, my site is working well in localhost, but the CSS is not working on the server. I want to clear cache but not run

Access to pivot table field using Vue.js

I started working on a small project using Laravel, and i would like to access to the pivot table to get the position field, that i have in organisation_user (p

Laravel 5: Is there a non-case sensitive way to sort a collection by an attribute?

I'm struggling to sort an Eloquent collection using the sortBy() method. The issue is that the sorting is case sensitive and it first retrieves the uppercase re

PHPUnit gives error: Target [Illuminate\Contracts\View\Factory] is not instantiable

I created a simple test for my new Laravel 7 application. But when I run php artisan test I get the following error. Target [Illuminate\Contracts\View\Factory]

Laravel Schedule not sending email

It's my first time trying to implement Task Scheduling, I'm trying to send automatic E-mails at a certain time: Before implementing my cron I first tested my em

retrieve simple products and product_variation with corcel

In larvel I'm using corcel and with the help of this comment I'm trying to retrieve only simple products and variations of variable products. $type = array('pro

Utf8 encoding issue with Laravel

I have an issue after deploying my laravel website ( that works properly in local ). Some text are not encoded correctly, for example : what should be Joë

Should we make a request to /sanctum/csrf-cookie first, before registration that logs in a user after a successful registration?

My SPA is in the same repository as my laravel application and the documentation states that when using sanctum, your SPA's "login" page should first make a req