lumen

PHP micro-framework by Laravel

TLDR

Create new project
$ lumen new [project-name]
Serve application
$ php -S localhost:8000 -t public
Generate key
$ php artisan key:generate
Run migrations
$ php artisan migrate
List routes
$ php artisan route:list
Clear cache
$ php artisan cache:clear

SYNOPSIS

lumen command [options]

DESCRIPTION

lumen is a PHP micro-framework by Laravel. It's designed for fast microservices and APIs.The framework provides routing, caching, and Eloquent ORM with minimal overhead.

PARAMETERS

COMMAND

Lumen command to execute.
new NAME
Create new project.
--help
Display help information.

INSTALL

nix profile install nixpkgs#lumen

CAVEATS

Requires PHP and Composer. Subset of Laravel features. Uses artisan for commands.

HISTORY

Lumen was created by Taylor Otwell in 2015 as a lightweight version of Laravel for microservices.

SEE ALSO

php(1), composer(1), artisan(1)