revolution / laravel-slim
Set up a Laravel project to console/api only.
Fund package maintenance!
1.5.1
2026-03-18 10:59 UTC
Requires
- php: ^8.3
- illuminate/support: ^13.0
Requires (Dev)
- laravel/pint: ^1.22
- orchestra/testbench: ^11.0
- revolution/laravel-boost-copilot-cli: ^2.1
README
Set up a Laravel project to console/api only.
- Console only
- Stateless API only
Note: laravel-console-starter is a starter kit that has this package applied.
Requirements
- PHP >= 8.3
- Laravel >= 13.0
Only new projects with Laravel 13.(No starter kit, No API)
Installation
composer require revolution/laravel-slim --dev
Uninstall
composer remove revolution/laravel-slim --dev
Once you have run the command you can uninstall this package.
Usage
Console project
Be sure to run this command only on new projects. A lot of files are deleted.
php artisan slim:console
Which files will be deleted? See SlimConsoleCommand.php
After set up
You can use the usual artisan commands.
php artisan make:command Test
Re-add config file
php artisan config:publish services
Stateless API project (Sanctum API Token Authentication)
Be sure to run this command only on new projects.
php artisan slim:api
LICENSE
MIT