LinuxCommandLibrary

lumen

PHP micro-framework by Laravel

TLDR

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

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.

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)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard