chaosfw/framework

v0.1.1 2025-10-02 20:38 UTC

This package is auto-updated.

Last update: 2025-10-02 20:40:05 UTC


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.