diff --git a/README.md b/README.md index 0b95493..235af1d 100644 --- a/README.md +++ b/README.md @@ -14,12 +14,17 @@ This is an AIO container done mostly right. It contains Nginx, PHP 8.3 and FPM p Symfony projects are detected from the `symfony.lock` file. -The support will ensure that composer is installed, and that the cache directory is writable. +The support will ensure that composer is installed by checking for the presence of a *vendor* directory, and that the cache directories exist and are writable. + +It will invoke the following hooks in the `/application/` directory if present: + +- `.symfony-preinit` - invoked before the *vendor* directory check and any composer calls. +- `.symfony-init` - invoked after the *vendor* directory check. #### BoltCMS -BoltCMS is detected and configured by the Symfony framework support script. +BoltCMS is detected and configured by the Symfony framework support script. For now, you should do your setup in the `.symfony-init` hook. ### Composer -While not a frarmework, as a last resort the presence of a `composer.json` file will trigger an install. +While not a framework, as a last resort the presence of a `composer.json` file will trigger an install.