edefine/symfony-tools

Tools for Symfony projects.

Maintainers

Package info

github.com/eDefine/symfony-tools

Language:Shell

pkg:composer/edefine/symfony-tools

Statistics

Installs: 107

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2026-05-31 19:14 UTC

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:

  1. Drops schema (full database)
  2. Recreates schema
  3. Loads fixtures
  4. Rebuilds frontend
  5. 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]