elyerr/laravel-runtime

A minimal Laravel runtime bridge exposing essential features for modular applications

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/elyerr/laravel-runtime

v1.0.0 2025-12-14 23:12 UTC

This package is auto-updated.

Last update: 2025-12-15 01:55:50 UTC


README

Laravel Runtime is a lightweight bridge library built on top of the Laravel framework. It is designed to help you create modular applications or mini-frameworks that rely on Laravel only where it adds real value.

Instead of extending or forking Laravel, this library constrains it.

🎯 Purpose

Laravel Runtime exists to support custom runtimes and mini-frameworks that:

  • Use Laravel as a dependency
  • Do not require the full Laravel feature set
  • Need a clean, controlled Artisan environment
  • Want to stay upgrade-safe over time

A real-world example is Elymod, a modular mini-framework built on top of Laravel Runtime. Elymod uses familiar Laravel make:* commands while enforcing a reduced and predictable runtime.

✨ Core Features

  • Selective Artisan Commands Only explicitly allowed commands are exposed (for example, make:*).

  • Custom Runtime Bootstrap Overrides Laravel’s Application and Console Kernel to control initialization.

  • Command Map Filtering Internally filters Laravel’s command registry without modifying vendor files.

  • Upgrade-Safe by Design No forks, no vendor hacks, no fragile overrides.

  • Framework-Oriented Ideal for building modular systems, internal platforms, or opinionated runtimes.

πŸ“¦ Installation

composer require elyerr/laravel-runtime

Laravel Runtime is meant to be embedded, not used as a standalone framework.

πŸ— Architecture

project
 └── laravel-runtime
      β”œβ”€β”€ composer.json
      β”œβ”€β”€ README.md
      └── src
           β”œβ”€β”€ App
           β”‚    β”œβ”€β”€ Application.php
           β”‚    └── ApplicationBuilder.php
           └── Console
                β”œβ”€β”€ Application.php
                └── Kernel.php
application (elymod)
   β†’ laravel-runtime
       β†’ laravel/framework

🧠 Design Philosophy

Laravel Runtime is not a Laravel replacement.

It is a control layer that allows you to:

  • Expose only what your system needs
  • Keep developer ergonomics familiar
  • Prevent framework sprawl in modular applications
  • Build long-lived architectures on top of Laravel

πŸ§ͺ Compatibility

  • Laravel 12.x
  • PHP 8.2+

πŸ“„ License

MIT License

πŸ‘€ Author

Elvis Yerel Roman Concha Framework & Runtime Architecture