The application skeleton for starting a new Chaos Framework project.
Provides the base directory structure, bootstrap files, and Composer integration.
It should be noted that this framework is designed for Socket usage, not web usage.
Create a new project using Composer:
composer create-project chaoswd/framework my-app
This will scaffold a new project in the my-app
directory.
- Preconfigured to load environment variables via
chaoswd/dotenv
- Preconfigured to use
chaoswd/core
for configuration and console commands - Includes example
config/app.php
file - Ships with a
chaos
CLI bootstrap - Public entry point (
public/index.php
) - Example Commands in
app/Commands
Serve the app with the built-in PHP server:
php chaos serve
Start the Socket Server:
php chaos server:start
Run the CLI:
php chaos help
- Add additional commands (with auto-discovery)
- Add additional config files for database, cache, logging
- Add database connections and functionality
- Add installer script for first-time setup
See CHANGELOG.md for version history.
This package is open-sourced software licensed under the MIT license.