Symfony Console CLI application using Contributte bootstrap with Doctrine ORM and SQLite database.
- PHP 8.4 or higher
- Composer
- SQLite (included with PHP)
# Create local config
make init
# Install dependencies
make install
# Prepare runtime dirs
make setupNette application is configured in config/config.neon.
You can override parameters in config/local.neon:
parameters:
# Add your parameters here
services:
# Add your services heremake console# List all users
bin/console user:list
# Create a new user
bin/console user:new --email "user@example.com" --name "User Name"
# Show a user by ID or email
bin/console user:show 1
bin/console user:show user@example.com
# Delete a user by ID or email
bin/console user:delete 1 --force
bin/console user:delete user@example.com --force# Quality assurance (coding standards + static analysis)
make qa
# Run coding standards check
make cs
# Fix coding standards automatically
make csf
# Run static analysis with PHPStan
make phpstan
# Run test suite
make tests
# Run with coverage report
make coverage