Articles

Authenticated Routes in Laravel

Once you’ve set up your project with Authentication you will probably then want to add pages which require the user to be logged in.  In the Routes/web.php file you need to add in these routes. The simplest one for a one page is: Route::get('/home',...

Basic Laravel 7 Setup with Auth

This is how to set up a new Laravel install with everything you need to get started including Auth. 1: go to Terminal and create a new Laravel project laravel new projectName 2: add Auth with these two commands composer require laravel/ui php artisan ui vue --auth 3:...

How to Create a Laravel App With a Old Version

Sometimes you may find that you want to create a new Laravel application but you need to use an older version of Laravel. In order to do that, when you go into Terminal to set up a new project, use the code format below: composer create-project laravel/laravel="6.*"...

Simple Laravel Edit Not Working? Try This.

If you've made a small edit to Laravel and for some reason it's not working then you made need to clear your cache.  For example I change the default MAIL_DRIVER from the log to smtp (so I could test out Mailtrap) and it had no effect at all.  The way to fix this is...