laravel/lumen
Laravel Lumen is a fast PHP micro-framework for building web apps and APIs with elegant syntax. It includes routing, database abstraction, queues, and caching. Note: the Laravel team now recommends starting new projects with Laravel instead.
api-resources package).spatie/laravel-permission may need adjustments).composer create-project laravel/lumen my-api
laravel/framework for shared logic).laravel/sanctum for auth if needed (verify compatibility).Route::get('/users', 'UserController@index')).| Component | Compatibility | Notes |
|---|---|---|
| Routing | High (PSR-7 middleware, route model binding) | Supports API resource routing. |
| Database | High (Eloquent, Query Builder) | Same as Laravel. |
| Authentication | Medium (JWT/OAuth via packages) | No built-in UI; use tyrimden/bouncer or spatie/laravel-permission. |
| Queues | High (Database, Redis, SQS) | Works with Laravel Horizon. |
| Caching | High (Redis, Memcached, file) | Identical to Laravel. |
| Testing | High (PHPUnit, Pest) | Use laravel/lumen-testing helpers. |
| Validation | High (Form Requests, API Resources) | Same as Laravel. |
| Events/Listeners | High | Works with Laravel’s event system. |
| Frontend | Low (No Blade) | Use API + separate frontend (React/Vue). |
tyrimden/bouncer).laravel/framework dependencies).spatie/, laravel/) with minimal overhead.Artisan or ServiceProvider hooks).config:clear and cache:clear frequently.How can I help you explore Laravel packages today?