![]() ![]() In this step we like to modify slight columns for users table. # Switch to project folder $ cd demo $ composer require laravel/ui $ php artisan ui bootstrap $ npm install & npm run dev $ php artisan ui:auth # Start dev server to check everything works fine # You should see LOGIN and REGISTER on the top right side in index $ php artisan serve Install Socialite $ composer require laravel/socialite Migration To keep things simple I will use bootstrap in this project you can change to any library or framework you want. env will like as follows DB_CONNECTION=pgsql DB_HOST=127.0.0.1 DB_PORT=5432 DB_DATABASE=demo DB_USERNAME=root DB_PASSWORD= Install dependencies & auth Create database with command line $ createdb demoĪdd configuration, for example I am using postgresql so my. $ laravel new demoĪfter create the project please create a database and setup. Let’s getting start from create a project. ![]() It’s also a note for myself if you want to know how to implement with codebase for production. ![]() We will create a demo project which is not only a demo but also can use in production. In this post, I’ll show you how to integrate those OAuth of social media step by step via Laravel Socialite. Laravel 7 - Socialite in Action ( Social Media Login Integration with Facebook, Twitter, LinkedIn, Google) ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |