yabot-plugins
, (*1)
This is a collection of plugins for yabot, (*2)
Getting Started
Initialize a yabot project using the yabot
quick start, (*3)
Then add yabot-plugins:, (*4)
composer require nopolabs/yabot-plugins
See the
plugins
discussion in yabot, (*5)
After running the
quick start
you should have a directory like this:, (*6)
.
|-- composer.json
|-- composer.lock
|-- config/
| `-- plugins.yml
|-- config.php
|-- vendor/
`-- yabot.php
Adding plugins to plugins.yml
If you required nopolabs/yabot-plugins then you will be able to find example plugin configs in
vendor/nopolabs/yabot-plugins/config/plugins.yml, (*7)
These configs can be by reference:, (*8)
# app/config/config.yml
imports:
- { resource: '../vendor/nopolabs/yabot-plugins/config/plugins.yml' }
But you may wish to include them more selectively., (*9)
See the Symfony import docs
and remember:, (*10)
The resource location, for files, is either a relative path from the current file or an absolute path.