revolution/laravel-slim
最新稳定版本:1.4.0
Composer 安装命令:
composer require revolution/laravel-slim
包简介
Set up a Laravel project to console/api only.
README 文档
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.2
- Laravel >= 12.0
Only new projects with Laravel 12.(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
统计信息
- 总下载量: 367
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-04-05