Next step, Go to app/database/create_users_table.php and put the below code here : * The accessors to append to the model's array form. In this step, Go to app/Model/User.php and set fillable property put the below code here : 'datetime', Recommended:- Laravel 10 Socialite Google Login Example Tutorial Step 5: Add Code In Model and Migration 'Socialite' => Laravel\Socialite\Facades\Socialite::class, Laravel\Socialite\SocialiteServiceProvider::class, Then add the following code into app.php file: 'providers' => [ Then configure this package in app.php file. In this step, install the socialite package using the below command: composer require laravel/socialite Then add database details as follow: DB_CONNECTION=mysqlĭB_PASSWORD=here database password here Step 3: Install Socialite Login Package In this step, Go to your project root direcotry and open. Then execute the following into it to install or download a fresh Laravel setup: composer create-project -prefer-dist laravel/laravel blog Step 2: Connecting Database to Laravel App Step 10: Run Development Server Step 1: Install Laravel 10 Setupįirst of all, Open your terminal or command prompt.Step 8: Install Laravel Livewire and Jetstream Packages. ![]() ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |