edefine / symfony-tools
Tools for Symfony projects.
dev-main
2026-05-31 19:14 UTC
Requires
- php: >=8.0
This package is auto-updated.
Last update: 2026-05-31 19:14:07 UTC
README
Installation
composer require edefine/symfony-tools
Tools
bin/setup-file-permissions
Sets up writable file permissions (via ACLs) for the given directories, granting read/write access to both the web-server user and the current user.
bin/setup-file-permissions directory...
bin/rebuild
Rebuilds local instance:
- Drops schema (full database)
- Recreates schema
- Loads fixtures
- Rebuilds frontend
- Clears cache
For usage see:
$ bin/rebuild -u Usage: bin/rebuild [options] Rebuild Options: -e|--env ENV Run rebuild for given environment (default: dev) -f|--frontend Rebuilds frontend Miscellaneous Options: -u|--usage Output this message
bin/deploy-local
Runs local deploy on production server.
Pass branch name or tag as a third argument. Otherwise, "master" will be deployed.
Usage:
bin/deploy-local user directory [branch or tag]
bin/deploy-remote
Runs remote deploy to production server.
Pass branch name or tag as a third argument. Otherwise, "master" will be deployed.
Usage:
bin/deploy-remote user@host directory [branch or tag]