Laravel


This draft deletes the entire topic.

expand all collapse all

Examples

  • 3

    Laravel is a well-known PHP Framework, it is one of the best PHP frameworks out there. Here, you will learn all-about Laravel. Starting from as-simple-as knowing what Object-Oriented Programming is, to the advanced Laravel package development topic.

    This, like every other Stackoverflow documentation tag, is community-driven documentation, so if you already have experiences on Laravel, share your knowledge by add your own topics or examples! Just don't forget to consult our Contribution style guide on this topic remarks to know more about how to contribute and the style guide that we made to make sure we can give the best experience towards people that want to learn more about Laravel.

    More than that, we are very glad that you come, hope we can see you often here!

    Starter Guide

    Starter guide is custom navigation that we ordered by ourselves to make topic browsing easier especially for beginner. This navigation is ordered by level of difficulty.

    Getting Started

    Installation

    Laravel Views

    Blade : Introduction

    Blade : Variables and Control Structures

    Or

    Installation form here

    1.Get composer form here and install it

    2.Get Wamp from here and install it. and set environment variable of php

    3.get path to www and type command:

    composer create-project --prefer-dist laravel/laravel projectname
    
Please consider making a request to improve this example.

Remarks

Laravel StackOverflow Slack Community

Coming soon

Featured Tutorial

Getting Started With Laravel

Contribution Guidelines

Coming soon

Contribution Style Guide

Coming soon

About Laravel

Created by Taylor Otwell as a free open-source PHP web framework, Laravel is meant to ease and accelerate the development process of web applications with a great taste for simplicity.

It follows the model–view–controller (MVC) architectural pattern as well as the PSR-2 coding standard, and the PSR-4 autoloading standard.

Running a Test Driven Development (TDD) in Laravel is fun and easy to implement.

Hosted on GitHub and available at https://github.com/laravel/laravel, Laravel boasts of a micro-services architecture, making it tremendously extendable and this, with ease, with the use of custom-made and or existing third-party packages.

Main Features

MVC

Laravel uses the MVC model, therefore there are three core-parts of the framework which work together: models, views and controllers. Controllers are the main part where most of the work is done. They connect to models to get, create or update data and display the results on views, which contain the actual HTML structure of the application.

Routing & Middleware

You can define the URLs of your application with the help of routes. These routes can contain variable data, connect to controllers or can be wrapped into middlewares. Middelware is a mechanism for filtering HTTP requests. They can be used to interact with requests before they reach the controllers and can thus modify or reject requests.

Artisan

Artisan is the command line tool you can use to control parts of Laravel. There are a lot of commands available to create models, controllers and other resources needed for development. You can also write your own commands to extend the Artisan command line tool.

Eloquent ORM

To connect your models to various types of databases, Laravel offers its own ORM with a large set of functions to work with. The framework also provides migration and seeding and also features rollbacks.

Event Handling

The framework is capable of handling events across the application. You can create event listeners and event handlers that are similar to the ones from NodeJs.

Versions

Laravel Version History

VersionRelease Date
1.02011-06-09
2.02011-11-24
3.02012-02-22
3.12012-03-27
3.22012-05-22
4.02013-05-28
4.12013-12-12
4.22014-06-01
5.02015-02-04
5.1 (LTS)2015-06-09
5.22015-12-21
5.32016-08-24

Laravel 5.1 is the first release to receive long term support (LTS); it will receive bug fixes for 2 years and security fixes for 3 years.

Still have a question about Getting started with Laravel? Ask Question

Topic Outline