Posts

Laravel Socialite |Socialite: Creating a Social Login in Laravel Part 1

Image
       Socialite: Creating a Social Login In Laravel with  Socialite Step1: Install Laravel Socialite composer require laravel/socialite Step2: Create Controller for Login   Php artisan make:controller LoginController <?php namespace App\Http\Controllers\Auth ; use App\Http\Controllers\ Controller ; use App\Providers\ RouteServiceProvider ; use Illuminate\Foundation\Auth\ AuthenticatesUsers ; use Illuminate\Http\ Request ; use Illuminate\Support\Facades\ Auth ; use Laravel\Socialite\Facades\ Socialite ; class LoginController extends Controller { /* |-------------------------------------------------------------------------- | Login Controller |-------------------------------------------------------------------------- | | This controller handles authenticating users for the application and | redirecting them to your home screen. The controller uses a trait | to conveniently provide its functionality to your applic...

Laravel Notifications | Laravel Notify Using GMail to Send Invoice Details:

Image
                                          Laravel Notifications To Send Mail  When Order Placed: Laravel notifications Using Gmail: Laravel notifications should be short, informational messages that notify users of something that occurred in your application. For example, if you are writing a billing application, you might send an "Invoice Paid" notification to your users via the email and SMS channels. A single class, usually kept in the app/Notifications directory, represents each notification in Laravel. If you don't see this directory in your application, don't worry; the make: command will create it for you.alert Craftsman's directive: Laravel Notify to Send Invoice Mail  to user  Whenever Order Placed : Create OrderController  to Load  Cartpage and Invoice Page: php artisan make:Controller  OrderController       <?php namespa...