Development
Day-to-day development workflows with Phexium.
Contributor Installation
To work on the Phexium framework itself (testing, bug fixes, contributions):
This command:
- Installs Composer dependencies
- Starts Docker containers (PHP, databases)
- Initializes all database schemas
- Loads demo fixtures
After installation, access the demo application at http://localhost:8080.
Building an application? If you want to create a new project using Phexium (not contribute to the framework), see Installation.
In This Section
- Documentation - Writing and maintaining docs
- Contributing - Contributing to the project
Updating Phexium
Phexium uses a copy-based distribution. Update the framework with:
php tools/phexium.php status # Check current version
php tools/phexium.php diff # Preview changes
php tools/phexium.php update # Apply update
After updating, review changes and run tests:
Troubleshooting
Docker Containers
Database Issues
Tests Failing
Development Best Practices
- Run tests frequently (
task tests:unit) - Check architecture before committing (
task deptrac:analyse) - Apply coding standards (
task coding-standard:fix) - Commit small, focused changes
- Write tests for new features (TDD)
Getting Help
- Documentation - Explore the
docs/directory - Examples - See
app/demo/for working code - Issues - Report bugs at https://gitlab.com/phexium/framework/-/issues