elyerr/elymod

Elymod module project template

Maintainers

Details

gitlab.com/elyerr/elymod

Source

Issues

Installs: 18

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

Type:project

pkg:composer/elyerr/elymod

v1.0.8 2025-12-30 18:57 UTC

This package is auto-updated.

Last update: 2025-12-31 00:01:44 UTC


README

Elymod is a lightweight modular mini-framework inspired by Laravel.
It is designed to build fully independent third-party modules that integrate with the oauth2-passport-server ecosystem.

Elymod behaves like a minimal Laravel runtime, providing only the required features to develop, test, and distribute modules without depending on a full Laravel application.

๐Ÿง  What is Elymod?

Elymod is both:

  • ๐Ÿงฉ A mini Laravel runtime for third-party module development
  • ๐Ÿ—๏ธ A modular mini-framework focused on isolation and portability
  • ๐Ÿ” A foundation for extending OAuth2 / Passport-based systems

It allows developers to create modules that feel like Laravel applications, while remaining decoupled from the system core.

โš™๏ธ Core Features

  • ๐Ÿš€ Powered by laravel-runtime to simplify resource creation
  • ๐Ÿ“ฆ Modules behave like standalone Laravel applications
  • ๐Ÿงฉ Designed exclusively for independent / third-party modules
  • ๐Ÿ›ก๏ธ Fail-safe by design: a module failure never crashes the system
  • ๐Ÿ” Dynamic loading of:
    • Routes
    • Menus
    • Rate limits
    • Middleware
    • Feature flags
  • ๐Ÿ” Built with OAuth2 / Passport servers in mind

๐Ÿงฉ Laravel Runtime Integration

Elymod uses elyerr/laravel-runtime during development to provide:

  • Route registration
  • Middleware resolution
  • View rendering
  • Resource creation (controllers, requests, etc.)

This enables a familiar Laravel workflow while keeping the runtime minimal.

Elymod does not require a full Laravel installation in production.

๐Ÿ“ฆ Dependencies

Runtime / Core

  • elyerr/api-response
    Provides a unified and consistent response layer for both API and web outputs.

  • Transformer (required by api-response)
    Ensures controlled, predictable, and structured data output across all responses.

Development

  • laravel/framework (development only)
    Used for local development, testing, and tooling.

  • elyerr/laravel-runtime
    Provides Laravel-like behavior without framework overhead.

๐Ÿงช Why Elymod?

Elymod solves common problems when developing third-party extensions:

  • โŒ Tight coupling to the host system
  • โŒ Mandatory framework dependencies
  • โŒ Fragile forks and long-term maintenance
  • โŒ Limited control over module lifecycle

With Elymod, modules can be:

  • Developed independently
  • Distributed as standalone packages
  • Installed or removed safely
  • Maintained without affecting the system

๐Ÿ” Designed for OAuth2 Passport Servers

Elymod is optimized for platforms like oauth2-passport-server, where:

  • Authorization logic must remain stable
  • Third-party modules evolve independently
  • Isolation and security are mandatory

Each module controls its own:

  • Routes
  • Policies
  • Scopes
  • Internal lifecycle

๐Ÿ“œ License

Elymod is licensed under the MIT License.

Individual modules may define their own licenses and usage terms.

๐Ÿ‘ค Author

Elvis Yerel Roman Concha
๐Ÿ“ง Email: yerel9212@yahoo.es

Elymod provides a clean, predictable, and Laravel-like environment for building independent modules without compromising system stability.