quademu/flarum-tinker
Composer 安装命令:
composer require quademu/flarum-tinker
包简介
Brings Laravel Tinker to Flarum
README 文档
README
A Flarum extension allows you to interact with your entire Flarum application on the command line, including the Eloquent ORM, jobs, events, and more.
[Flarum Tinker by Luuhai48 and maintained by QUADEMU]
Installation
composer require quademu/flarum-tinker
Enable the extension in your admin setting panel, or you can add these lines to your {project_root}/extend.php file.
return [
(new Extend\Console())->command(QUADEMU\FlarumTinker\TinkerCommand::class),
(new Extend\Console())->command(QUADEMU\FlarumTinker\TinkerInstallCommand::class),
];
Updating
composer update quademu/flarum-tinker
(Optional if you want to use alias classes)
composer dump-autoload -o
Run the command below, you will find a config file published to {project_root}/config/tinker.php.
php flarum tinker:install
Modify config file if you want to alias classes from specific package of your choice.
Links
统计信息
- 总下载量: 81
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-06-01