Download the PHP package bytic/deployer-recipies without Composer
On this page you can find all versions of the php package bytic/deployer-recipies. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bytic/deployer-recipies
More information about bytic/deployer-recipies
Files in bytic/deployer-recipies
Package deployer-recipies
Short Description Deployer recipes for the Bytic framework
License MIT
Homepage https://github.com/ByTIC/deployer-recipies
Informations about the package deployer-recipies
deployer-recipies
Deployer recipes for the ByTIC framework.
Requirements
- PHP 8.1+
- Deployer 8.x
Installation
Usage
In your deploy.php, include the main recipe:
Available Recipes
recipies/bytic.php — Main deploy recipe
Composes all sub-recipes into a full deploy pipeline:
Configuration
| Key | Default | Description |
|---|---|---|
keep_releases |
3 |
Number of releases to keep on the server |
shared_files |
['.env'] |
Files shared between releases |
shared_dirs |
['storage/app', 'storage/logs'] |
Dirs shared between releases |
writable_dirs |
see config.php |
Dirs that must be writable |
writable_chmod_mode |
'0775' |
chmod mode for writable dirs |
common/cloudflare.php — Cloudflare cache purge
Purges the entire Cloudflare cache for a domain after deploy.
Tasks: deploy:cloudflare
common/supervisor.php — Supervisor integration
Merges local config files and uploads them to the remote server, then restarts services.
Tasks: supervisor:stop, supervisor:upload, supervisor:start
common/slack.php — Slack notifications
Sends Block Kit messages to a Slack webhook.
Tasks: slack:notify, slack:notify:success, slack:notify:failure
contrib/bytic-console.php — Bytic CLI helper
Provides the bytic() helper function and bin/bytic config key.
Supported option flags in the $options array:
'failIfNoEnv'— abort if.envis missing'skipIfNoEnv'— skip silently if.envis missing'showOutput'— print command output to the console
recipies/deploy/scheduler.php — Scheduler integration
Publishes cron/scheduler events after a successful deploy.
Tasks: bytic:scheduler:publish