Storing images in public folder and serving them from controller
While working ony my first Laravel application imageshare.code4fun.io which was inspired from imgur.com I had to figure out how to best store the images in the public folder. Looking at imgur and the links it servers which look like this http://i.im...
How to share data with all views in Laravel 5.3 the right way
How do you share data to all views in Laravel 5.3? Well if you look at the documentation it gives this simple example class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void...
Laravel Ajax Register and Login
In this tutorial we gonna show you how to do Ajax register and login with Laravel 5.3 We'll start by creating new Laravel project. laravel new ajaxlogin After the project is created, create new database called ajaxlogin and update .ENV file like s...