Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

luuhai48/flarum-tinker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flarum Tinker

License Latest Stable Version

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

Installation

composer require luuhai48/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(Luuhai48\FlarumTinker\TinkerCommand::class),
    (new Extend\Console())->command(Luuhai48\FlarumTinker\TinkerInstallCommand::class),
];

Updating

composer update luuhai48/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

About

Brings Laravel Tinker to your Flarum

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages