I want to install a specific version of Laravel Lumen (5.1 instead of the lastest one 5.2) on a new project.
From the documentation :
lumen new blog
or :
composer create-project laravel/lumen --prefer-dist
Does not work : it install the lastest one.
Lumen is better for building high performing micro framework API. Laravel can handle event queuing and has a powerful template. Lumen can't handle the event queuing and don't have any powerful template either. Laravel has Symfony framework that can be used to create Symfony components.
To start with, install composer and then change your directory to the root folder of the server. Create a lumen project “lumen_api” from the “laravel/lumen” package (packagist.org). The composer will create a folder “lumen_api” and install all files of lumen including dependency.
Create a project using the composer command :
Create a Laravel 5.1 project into the blog folder :
composer create-project laravel/laravel blog "5.1.*"
Create a Lumen 5.1 project into the blog folder :
composer create-project laravel/lumen blog "5.1.*"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With