Home >>Laravel Tutorial >Laravel Introduction

Laravel Introduction

Laravel Introduction

Laravel is a compelling model view controller (MVC) architectural pattern PHP framework, an open-source web application development intended for developers who demand an uncomplicated and rich toolkit to build full-featured web applications. Taylor Otwell created Laravel. Laravel is a PHP framework which makes it effortless for you to produce professional web application by following refined coding standards and architectural pattern. This concise tutorial illustrates the basics of the Laravel framework.

Prerequisites

Before you begin progressing with this tutorial, we assume that you are familiar with website development using PHP and MySQL also you should be familiar with HTML, Core PHP, and Advance PHP. We have applied Laravel version 5.1 in all the examples.

Introduction of Laravel

Laravel is an open-source PHP framework, is robust as well as simple to learn. In simpler form, it is an open-source web application development framework written in PHP. It follows a model-view-controller design pattern. Taylor Otwell created Laravel and released under MIT license.  Laravel reuses the existing elements of various frameworks which aid in building a web application. Laravel offers a rich collection of functionalities which consolidates the primary characteristics of PHP frameworks like Code Igniter, Yii and different programming languages like Ruby on Rails. Laravel has a vibrant set of features which will heighten the pace of web development. Laravel is the most successful elected web development aloft other PHP based MVC frameworks due to its integrity, execution, scalability, and features.

Why Laravel?

. Assists professional and advanced web development exercises. . Promotes rapid as well as reliable web application development . Makes development, deployment, and maintenance flexible and pleasant. . Inherent Syntax. . An elegant set of convenient and advanced built-in features. . Laravel is the Utmost promising PHP based MVC framework. . Pretty adequately documented and has the large community of active members. . And the most desirable and promising thing is it is easy to learn and understand.

Laravel Philosophy

. Convention over configuration . Don't-Repeat-Yourself (DRY) . Encompassing powerful, compelling, and easy coding practices.

Advantages of Laravel

  1. Built-in Libraries.
  2. Built-in CLI.
  3. Built-in Template engine.
  4. Modular.
  5. Migration System.
  6. Error plus Exception Handling.
  7. Test Driven Development (TDD).
  8. Security.
  9. Follows MVC Architecture.
  10. Built-in ORM (object-relational mapping).

Composer

A composer is a tool, incorporates all the dominions and libraries. It enables a user to generate a project concerning the specified framework (for instance, those adopted in Laravel installation). Third party libraries can be installed efficiently with the help of composer. Laravel tutorial for beginners step by step guide you with all the provinces which are noted in a composer.json file placed in the source folder.

Artisan

Command line interface utilized in Laravel is named Artisan. It comprises a collection of commands which aids in developing a web application. These commands are consolidated from the Symphony framework, appearing in add-on hallmarks in Laravel 5.1 (latest version of Laravel).

Features of Laravel

  • Class Auto loading
  • IOC container
  • Migration
  • Query builder
  • Artisan console
  • Database Seeding
  • Unit-Testing
  • Application Logic
  • Automatic Pagination
  • Form Pagination
  • Restful Controllers
  • Reverse Routing
  • The Eloquent ORM
  • View Composers
  • Form request
  • Bundles

No Sidebar ads