Setting up SQLite for Laravel

Setting up SQLite for Laravel

Sometimes you may decide you want to use SQLite for your Laravel app instead of a full blown MySQL database. In that case setting it up is pretty simple. Following the instructions in the Laravel docs, first you need to set up a SQLite database by running this command...
Setting up SQLite for Laravel

How to Set Up a Laravel CRON Job on your Server

Task Scheduling can be a very powerful resource for your application but it needs use CRON jobs to work. Laravel’s command scheduler allows you to define your command schedule within Laravel itself, saving a lot of grief on the server! However it does require you to...
Laravel Image Tutorials: Displaying an image

Laravel Image Tutorials: Displaying an image

In the first instalment of how to add an image in Laravel, we added the image to the database and stored it in the Laravel Storage folder to be used later. In this instalment we will now use that image and display it on the page. Displaying an Image First we need...
Setting up SQLite for Laravel

Laravel Image Tutorials: Adding an image

In this series of tutorials I am going to show you how to add images to a database and upload them to storage, then display them on your website and finally delete them from the database and storage. This first tutorial will show you how to add an image. Firstly, I...
Setting up SQLite for Laravel

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’,...