Using database to store images in Laravel 5.1

Using database to store images in Laravel 5.1

In this post I will show you how to store images in a database in Laravel 5.1. Almost for sure in most cases better solution would be to store the images (or other files) directly in the file system. There are some advantages of storing images in database, though. For...
Basic authentication in Laravel route how-to

Basic authentication in Laravel route how-to

Sometimes you’d like to have very simple and basic authentication similar to HTTP basic authentication applied to a directory. For example you’d like to protect an API accessible under https://www.example.com/secret-api. Obviously when using Laravel routes...