I installed auth in laravel 8 but I don’t want to use the default table dedicated for authentication Users because I have my table Users_inf in this case I can’t use migration, Users_inf also has 200 records. Users_inf(user_id, password, user_name,privilege,active,CREATED_AT,UPDATED_AT). CREATED_AT and UPDATED_AT added by me to be compatible with laravel. I am using user_name for login not email. please,
Tag: laravel-8
Laravel 8 fresh install show directory structure
Instead of run project it showing directory Answer I follow below 2 step to overcome with this issue Rename server.php to index.php Move .htaccess from public directory to root directory
How to validate a unique field on a record update
I am recently started a laravel project to control some activities, but I am currently having issues with the validation specifically when updating a specific record on a table that contains unique values A couple of notes a started this project a couple of days of the launch of laravel 8 last month so perhaps there some changes that are
SerializableClosure error in Laravel – Your serialized closure might have been modified and it’s unsafe to be unserialized
I am getting this error in my domain where I have used laravel v8 for my site. It shows error in line no 52 in index file: Previously my .env file was not reading. As soon as I fixed that error I got this one now. Please help me solve this error. Answer This issue might occur due to change
Authentication using api token in laravel/fortify
I am using laravel/fortify and I was trying to authenticate using HTTP client request But I am getting error and error is: Answer return user instance like this or you as official doc says ref link https://jetstream.laravel.com/1.x/features/authentication.html
Undefined index on laravel8
I’m learning to display public API data from http://batikita.herokuapp.com/index.php/batik/all I have tried to display data with the following syntax: InfoController.php index.blade.php And the result is like this: enter image description here What is the correct syntax for displaying data from the public API with laravel8? Please help, thank you. Answer Your error doesn’t actually have something to do with Laravel,
What are the CRUD Commands that have to be run in Tinker with Laravel 8
When I run the known tinder CRUD Commands in Laravel 8, they aren’t working What I ran was the Create and Find commands $user = new AppUser; AppUser::all(); But they aren’t working, I knew that in …
Failed to install laravel/jetstream on laravel 8
after the installation of jetstream via composer composer require laravel/jetstream then suddenly get an ErrorException that there’s no such file or directory. I use this guideline for the installation. https://jetstream.laravel.com/1.x/installation.html I tried to delete the vendor and run composer update doesn’t work tried to cache clear but still doesn’t work. Answer Uncache your routes and try again. Remove jetstream from
How to redirect from google drive in laravel
I’m using google drive in my project for login with google. It’s working fine for me, but the problem is when user select email, in callback method user have to redirect to ‘/’, but user will redirect …
Unable to use Laravel Factory in Tinker
I am unable Model Factory in Laravel Tinker. //ItemFactory.php class ItemFactory extends Factory { /** * The name of the factory’s corresponding model. * * @var string */ …