cryental / lumen-skeleton
Skeleton for Laravel/Lumen with several modifications
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^8.1
- ext-curl: *
- ext-json: *
- chuckrincon/lumen-config-discover: ^1.0
- cryental/larasupport: ^1.7
- fakerphp/faker: ^1.19
- flipbox/lumen-generator: ^9.1
- hhxsv5/laravel-s: ^3.4
- illuminate/redis: ^9.11
- laravel/lumen-framework: ^9.0
- laravel/tinker: ^2.7
- monicahq/laravel-cloudflare: ^3.2
- rogervila/lumen-rate-limiting: ^1.1
Requires (Dev)
- mockery/mockery: ^1.5
- phpunit/phpunit: ^9.5
- spatie/ray: ^1.34
This package is auto-updated.
Last update: 2024-10-23 14:57:39 UTC
README
This is a skeleton based on Laravel/Lumen with missing features and tweaks for RESTful API developments.
Requirements
- PHP 8.1
- MaxmindDB Extension
- All Extensions for Lumen
Optional Requirements
- Swoole Extension
Installation
composer create-project --prefer-dist cryental/lumen-skeleton myproject
Usage
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