Laravel

A MVC framework based on PHP.

Simple Icons contributors / Simple IconsCC0 1.0

A MVC framework based on PHP.

A MVC framework based on PHP.

php artisan make:migrations <>.php
composer create-project laravel/laravel public_html --prefer-dist

Begins with direct or catch all .php.

Routes

Routes.php.

<?php

<?php Route::get(‘<path:/[{var}]>’, ‘<>Controller@<>’|function(){ … return View::make(‘’)->with([params, …]});

Error

App/start/global.php.

App::missing(function($exception).

{

Return Response::view('errors.missing', array(), 404);.

});.

View::make('<text>’)

View::make(path).

'index'

App/views/index.php.

index.foo

App/views/index/foo.php.

two extensions. .php or .blade.php.

Log

Info.

Warning.

Error.

Listener.

Log::listen(function($level, $message, $context).

{.

});.

Updated: 2026 Aug 19