Skeleton for Laravel/Lumen with several modifications

2.0.0 2022-05-23 09:21 UTC

This package is auto-updated.

Last update: 2023-02-23 11:29:14 UTC


This is a skeleton based on Laravel/Lumen with missing features and tweaks for RESTful API developments.


  • PHP 8.1
  • MaxmindDB Extension
  • All Extensions for Lumen

Optional Requirements

  • Swoole Extension


composer create-project --prefer-dist cryental/lumen-skeleton myproject


First, copy .env.example to .env.

After that, run following commands:

composer install
php artisan key:generate
php artisan migrate
php artisan cloudflare:reload

Do not forget to set a cronjob for production:

* * * * * php /path/to/artisan schedule:run

Run Laravel/Lumen Swoole using this package:

php artisan swoole:http start

If you want the Swoole server to run after reboot, add the following line to your crontab:

@reboot php /path/to/artisan swoole:http start