Environnement :
- Strangebuzz Snippet VM : 6.4.9
- Symfony : 6.4.20
Sortie du code exΓ©cutΓ© :
ββ π The Strangebuzz Symfony Makefile π βββββββββββββββββββββββββββββββββββ
help Outputs this help screen
ββ Composer π§ββοΈ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
install Install vendors according to the current composer.lock file
ββ PHP π (macOS with brew) βββββββββββββββββββββββββββββββββββββββββββββββββ
php-upgrade Upgrade PHP to the last version
php-set-8-2 Set php 8.2 as the current PHP version
php-set-8-3 Set php 8.3 as the current PHP version
php-set-8-4 Set php 8.1 as the current PHP version
ββ Symfony π΅ βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
sf List all Symfony commands
cc Clear the cache. DID YOU CLEAR YOUR CACHE????
warmup Warmup the cache
fix-perms Fix permissions of all var files
assets Install the assets with symlinks in the public folder
purge Purge cache and logs
ββ Symfony binary π» ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
cert-install Install the local HTTPS certificates
serve Serve the application with HTTPS support (add "--no-tls" to disable https)
unserve Stop the webserver
ββ elasticsearch π βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
populate Reset and populate the Elasticsearch index
list-index List all indexes on the cluster
delete-index Delete a given index (parameters: index=app_2021-01-05-075600")
ββ Docker π³ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
up Start the docker hub (PHP,caddy,MySQL,redis,adminer,elasticsearch)
build Builds the images (php + caddy)
down Stop the docker hub
check Docker check
sh Log to the docker container
logs Show live logs
wait-for-mysql Wait for MySQL to be ready
wait-for-elasticsearch Wait for Elasticsearch to be ready
bash Connect to the application container
ββ Project π βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
start Start docker, load fixtures, populate the Elasticsearch index and start the webserver
reload Load fixtures and repopulate the Meilisearch index
stop Stop docker and the Symfony binary server
cc-redis Flush all Redis cache
commands Display all commands in the project namespace
load-fixtures Build the DB, control the schema validity, load fixtures and check the migration status
init-snippet Initialize a new snippet
ββ Tests β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
test Run tests with optionnal suite and filter
test-all Run all tests
ββ Coding standards β¨ ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
cs Run all coding standards checks
static-analysis Run the static analysis (PHPStan)
stan Run PHPStan
lint-php Lint files with php-cs-fixer
fix-php Fix files with php-cs-fixer
ββ Deploy & Prod π βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
easy-deploy Full no-downtime deployment with EasyDeploy (with pre-deploy Git hooks)
env-check Check the main ENV variables of the project
le-renew Renew Let's Encrypt HTTPS certificates
ββ Yarn π± / JavaScript βββββββββββββββββββββββββββββββββββββββββββββββββββββ
dev Rebuild assets for the dev env
watch Watch files and build assets when needed for the dev env
encore Build assets for production
lint-js Lints JS coding standarts
fix-js Fixes JS files
ββ Stats π βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
stats Commits by the hour for the main author of this project
ββ JWT πΈ βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
jwt-generate-keys Generate the main JWT ket set (you can use the "lexik:jwt:generate-keypair" command now)
jwt-create-ok Create a JWT for a valid test account (you can use the "lexik:jwt:generate-token" command now)
jwt-create-nok Login attempt with wrong credentials
jwt-test Test a JWT token to access an API Platform resource
ββ Code Quality reports π ββββββββββββββββββββββββββββββββββββββββββββββββββ
report-metrics Run the phpmetrics report
coverage Create the code coverage report with PHPUnit
deploy Simple manual deploy on a VPS