mohammed/php-boilerplate

Full-stack MVC structure

Maintainers

Package info

github.com/mohmmedlahlali20/php-boilerplate

Type:project

pkg:composer/mohammed/php-boilerplate

Statistics

Installs: 37

Dependents: 1

Suggesters: 0

Stars: 1

Open Issues: 0

v1.0.0 2026-02-22 19:43 UTC

This package is auto-updated.

Last update: 2026-03-22 20:20:03 UTC


README

Demon Framework Hero

"Speed is not a feature; it is an absolute mandate."

The Demon Framework is a high-performance, ultra-premium PHP MVC engine designed for developers who demand absolute dominance. Engineered with an obsidian core, tactical 3D rendering, and a ruthless attention to millisecond optimization, it provides a "50-engineer" scale infrastructure for modern, decentralized web applications.

🛠 Advanced Armory

  • Obsidian Core: A locked-down, high-performance container for manageing souls (services).
  • Demon CLI: An infernal binary tool for forging modules, controllers, and database migrations instantly.
  • Master Grimoire: Exhaustive, tactical documentation built directly into the core engine.
  • Nether ORM: A blazing fast Active Record implementation with chainable Necrotic Caching.
  • Soul Events: A global Event Dispatcher for building decoupled, horizontally scalable logic.
  • 3D Visual Engine: Native Three.js & GSAP integration for high-end, kinetic user experiences.
  • Hardened Containment: Built-in CSRF/XSS protection and tactical middleware layers.

📂 Anatomical Structure

├── src/
│   ├── Application/    # Domain-specific logic (Routes, Controllers)
│   ├── Core/           # The Framework Engine (The Obsidian Heart)
│   └── Infrastructure/ # Database pacts and low-level implementations
├── views/              # .demon.php template manifestations
├── public/             # The only portal to the mortal world
└── storage/            # Cache, Souls, and Application state

🚀 Primal Ignition

1. Summon the Repo

git clone https://github.com/mohmmedlahlali20/php-boilerplate.git
composer install

2. Sign the Environment Pact

cp .env.example .env
php demon key:generate

3. Manifest the Matrix

php demon run:server

Visit http://localhost:8000 to witness the manifestation.

💻 Elite CLI Commands

Intent Command
Ignite Engine php demon run:server
Forge Soul (Controller) php demon make:controller [Name]
Forge Vessel (Model) php demon make:model [Name]
Evolve World (Migrate) php demon migrate
Sacrifice Cache storage/framework/cache clear (Manual)
Inspect Soul Use dd($var) in code

📖 The Master Grimoire

For exhaustive technical documentation, visit the internal portal: http://localhost:8000/docs

⚖️ License

Licensed under the Abyssal Engineering Org - Authorized Use Only. Built with Blood.