Laravel Tutorials

Create Layout in Laravel using blade templates

Create Layout in Laravel using blade templates




Any type of site need template to divide layout in sections like header, middle, sidebar and footer. This is called templating. We are using blade template to create layout in laravel. Using blade templates we can save more html code writing and fast rendering of page. It is a another good feature of blade template. Let’s check how to create layout in laravel using blade templates. Blade Template Blade is …

Continue reading




How to remove public from URL in Laravel

How to remove public from URL in Laravel




In this tutorial I will show you how to remove public from URL in laravel. Default laravel access URL is http://example.com/public/. So we need to remove “public” from the URL to get clean urls in Laravel 5. Remove public from URL in laravel 5 and Lower versions Move public index.php file to root It’s a simple method to remove public from URL in laravel below are the steps to do …

Continue reading




How to include css and js in Laravel 5

How to include css and js in Laravel 5




It’s a basic need to include external or internal css and js in our application. Today in this tutorial we’ll discuss how to include css and js in Laravel 5 application. Before laravel 5 we are using HtmlBuilder to add style and scripts. But in laravel 5 HtmlBuilder has been removed, so HTML::style() is no longer available now. After including HtmlBuilder package you can easily add your css and js …

Continue reading




Turn on maintenance mode in laravel

Turn on maintenance mode in laravel




Today I will show you how to turn on maintenance mode in laravel. If you are working on your live site and want to turn on maintenance mode in laravel, you just need a command run and done. All this can handle via php artisan commands. You can learn about artisan commands here. Turn on maintenance mode in laravel You just need to grab your application path where laravel application …

Continue reading




Install Laravel via Laravel installer in windows

Install Laravel via Laravel installer in windows




Today I will explain how to install Laravel via Laravel installer in windows. Laravel 5 has new method to install via laravel installer on all operating systems like windows, ubuntu etc and for xampp or wamp. Installing laravel via laravel installer method on windows is much faster then composer. It require only few commands to install and will be instant install so it’s a quick method. Below I am sharing …

Continue reading