• Provides support for straigh:orward API authen1ca1on • If you need to provide a full OAuth 2 auth server, this isn't that • Not quite as secure but probably secure enough and faster to work with • No Client Creden1al or Authoriza1on Code Grant CC BY-NC 4.0 Jus-n Yost 4
that minimizes the API and wraps it into a Laravel facade goodness Illuminate\Support\Facades\Http:: get($url, ['foo' => 'bar']); CC BY-NC 4.0 Jus-n Yost 5
in Laravel • Uses the x- syntax • Public Proper:es are passed to the class • Can then modify and pass along data to a new Blade template <x-nav title="Update Your Info!"></x-nav> CC BY-NC 4.0 Jus-n Yost 9
to send out an email Mail::mailer('postmark') ->send(new TransactionEmail($transaction)); Mail::mailer('mailchimp') ->send(new WelcomeEmail($transaction)); CC BY-NC 4.0 Jus-n Yost 11
than Laravel 6 • Model Binding to custom fields Route::get('users/{user:slug}', function (App\User $user) { return $user; }); CC BY-NC 4.0 Jus-n Yost 12
cast fields to a custom Laravel type when you run a query $users = User::select( [ 'users.*', 'last_posted_at' => PostForUser::select(['created_at'])->get(); ], ->withCasts(['last_posted_at' => 'date']) ->get(); CC BY-NC 4.0 Jus-n Yost 13
bypass lis8ng • Set an error page to render before Laravel is available in maintenance mode php artisan down --secret="AllowMe" --render="errors::503" https://example.com/AllowMe CC BY-NC 4.0 Jus-n Yost 19
old Laravel auth scaffolding • Provides: login, registra(on, email verifica(on, 2FA, session, API and team management • Uses Tailwind for CSS • Uses Livewire or Iner(a.js for frontend rendering CC BY-NC 4.0 Jus-n Yost 22