Installation
Requirements
- Craft CMS 5.0 or later
- PHP 8.2 or later
Install via Composer
Open your terminal and run:
composer require justinholtweb/craft-garrison
Install the Plugin
Then install the plugin via the Craft CLI:
php craft plugin/install garrison
Or navigate to Settings → Plugins in the Control Panel and click “Install” next to Garrison.
Copy Config File
Copy the default configuration file to your project:
cp vendor/justinholtweb/craft-garrison/src/config.php config/garrison.php