| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is a small sample application for the Phalcon PHP Framework: a simple registration form built as an MVC app. It is the companion code for the Basic Tutorial documentation page and runs on both Phalcon 5 (the C extension) and Phalcon 6 (the phalcon/phalcon Composer package).
cp resources/.env.example .env
docker compose up -d --buildThen open http://localhost:8080. The database schema and a seed user are loaded automatically on first boot.
To run on Phalcon 6 instead of 5, set PHALCON_VARIANT=v6 in .env (or export it) and rebuild:
PHALCON_VARIANT=v6 docker compose up -d --buildTo open a shell in the app container:
docker compose exec app bash| Script | What it does |
|---|---|
| composer cs | Check coding standard (PSR-12) with PHPCS |
| composer cs-fix | Auto-fix coding standard with PHPCBF |
| composer cs-fixer | Check style with PHP-CS-Fixer (dry-run) |
| composer cs-fixer-fix | Apply PHP-CS-Fixer changes |
| composer analyze | Static analysis with PHPStan (level 6) |
| composer test | Run the functional smoke test (Talon) |
This project follows the PDS skeleton:
docs/ documentation public/ web root (index.php, css) resources/ tooling configs, docker, schema, .env.example src/ application source (PSR-4 Tutorial\) tests/ Talon functional test
The Phalcon Tutorial is open-sourced software licensed under the MIT license. © Phalcon Framework Team and contributors.
| Back | FazBrowse Home | New Git URL |