chaosfw / framework
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^8.2
- chaoswd/core: *
README
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.
Installation
Create a new project using Composer:
composer create-project chaoswd/framework my-app
This will scaffold a new project in the my-app
directory.
Features
- 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
Usage
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
Roadmap
- 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
Changelog
See CHANGELOG.md for version history.
License
This package is open-sourced software licensed under the MIT license.