Modern PHP backend API using Nette framework 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 hereThe easiest way is to use php built-in web server:
# Docker development
make docker-up
# Local development
make devThen visit http://localhost:8080 in your browser.
# 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
# Start Docker environment
make docker-up
# Access Docker container
make docker-in
# Clean cache and logs
make clean
