Skip to content

Releases: citomni/http-skeleton

First stable release - CitOmni HTTP Skeleton v1.0.0

28 Sep 01:25

Choose a tag to compare

CitOmni HTTP Skeleton v1.0.0

🎉 First stable release of the official HTTP skeleton for CitOmni applications.

This skeleton provides the minimal, production-ready starting point for building high-performance PHP apps on the CitOmni framework. It is designed to stay out of your way, keep bootstrapping lean, and let the kernel handle all heavy lifting deterministically.


Highlights

  • Stable entrypoints
    /public/index.php (HTTP) is reduced to environment defines + Kernel::run().
    Deterministic boot via citomni/http kernel.

  • Deterministic config model
    Baseline -> Providers -> App config -> Env overlay (last wins).
    Deep read-only wrapper exposed as $this->app->cfg.

  • Service-map resolution
    Services accessed as $this->app->id, with optional constructor options.
    Overridable via /config/services.php.

  • Routing
    config/routes.php with exact, regex, and error routes.
    Controllers extend \CitOmni\Kernel\Controller\BaseController.

  • Error handling
    Optional \CitOmni\Http\Exception\ErrorHandler integrates with cfg node error_handler.

  • Maintenance flag
    Simple toggle under /var/flags/maintenance.php with customizable template.

  • Production-grade cache
    Supports precompiled cfg.http.php and services.http.php for fast boots.


Notes

  • Minimum PHP version: 8.2
  • License: GPL-3.0-or-later
  • Status: Stable, API/structure frozen for v1.x line.
  • For CLI skeleton, see citomni/cli-skeleton.

Installation

composer create-project citomni/http-skeleton my-app

Built with ❤️ on the CitOmni philosophy:
low overhead, high performance, and ready for anything.