Skip to content

Tag: laravel

PHP Laravel Nova returns 404

I’m working on a local laravel-nova project which worked fine the last couple of days. Now all of a sudden, when I try to go to the /nova route I get a 404 error saying Page could not be found. I tried with but with no luck. I even deleted the vendor-folder and ran composer install and php artisan nova:…

laravel seeds unique column ignore duplicate entries

i have a Seeder in Laravel in this email is unique, when I run first time its entering records into the database, when I run again its showing duplicate entry. do i have option to ignore that.? Answer We have an option to check whether the given email exists in the table or not.

How to get the username through an id in Laravel?

I am trying to create an offers forum, where some user can create their offers in order to provide their services and I want to show the name of the person that created that offer instead of the id. In my database I have the two tables: Offers table: User table: In offers I have a column of the professor_id,

Laravel Auth Login Page Just Refreshes

I am using Laravel 5.4. I ran the make:auth command to scaffold out my auth controllers and views. I can register a new account without issue as it is showing up in my database. However when I try to login, the login page simply refreshes without any errors being thrown. In the login controller I have the red…