Tutorial by Examples

Laravel applications are installed and managed with Composer, a popular PHP dependency manager. There are two ways to create a new Laravel application. Via Composer $ composer create-project laravel/laravel [foldername] Or $ composer create-project --prefer-dist laravel/laravel [foldername] ...
The Laravel framework has the following requirements: 5.3 PHP >= 5.6.4 XML PHP Extension PDO PHP Extension OpenSSL PHP Extension Mbstring PHP Extension Tokenizer PHP Extension 5.1 (LTS)5.2 PHP >= 5.5.9 PDO PHP Extension Laravel 5.1 is the first version of Laravel to support ...
Create a Laravel application: $ composer create-project laravel/laravel hello-world Navigate to the project folder, e.g. $ cd C:\xampp\htdocs\hello-world Create a controller: $ php artisan make:controller HelloController --resource This will create the file app/Http/Con...
Open routes file. Paste the following code in: Route::get('helloworld', function () { return '<h1>Hello World</h1>'; }); after going to route localhost/helloworld it displays Hello World. The routes file is located: 5.3 For Web routes/web.php For APIs routes/api.php ...
LaraDock is a Laravel Homestead like development environment but for Docker instead of Vagrant. https://github.com/LaraDock/laradock Installation *Requires Git and Docker Clone the LaraDock repository: A. If you already have a Laravel project, clone this repository on your Laravel root director...

Page 1 of 1