Skip to content

elyerr/laravel-runtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Laravel Runtime

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

About

A minimal Laravel runtime bridge exposing essential features for modular applications

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages