synetro/laravel-modules

Modern Laravel module system with first-class Inertia.js + React support

Maintainers

Package info

github.com/SYNETROEU/laravel-modules

pkg:composer/synetro/laravel-modules

Transparency log

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v0.1.1 2026-08-29 13:15 UTC
No longer found in upstream repository

This package is auto-updated.

Last update: 2026-08-29 14:50:01 UTC


README

PHP Version Laravel Version License

Modern Laravel module system with first-class Inertia.js + React support.

No manual app.tsx edits. No manually maintained page registries. No boilerplate.

composer require synetro/laravel-modules
php artisan module:make Billing --full --inertia

Then immediately:

return Inertia::render('Billing::Dashboard');

That's it.

Why?

Existing Laravel module packages force you into Blade-centric workflows, require manual frontend registries, and create more problems than they solve.

This package was built from scratch to work natively with:

  • Laravel 12+
  • Inertia.js
  • React
  • Vite
  • TypeScript

Modules should feel like a first-class part of your application — not an afterthought.

Installation

composer require synetro/laravel-modules

Publish the config (optional):

php artisan vendor:publish --tag=modules-config

Quick Start

php artisan module:make Blog --full --inertia
php artisan module:enable Blog

Visit /blog to see your new module.

Features

  • Zero-config module discovery
  • Automatic Inertia page resolution
  • Automatic Vite integration
  • Module lifecycle (enable/disable/remove)
  • Dependency management with validation
  • Artisan generators for controllers, models, pages, components, and more
  • Optional Fuse integration
  • Isolated module testing
  • Route registration per module
  • Module-specific config, translations, and views
  • Doctor command for diagnostics
  • Production-ready manifest caching

Documentation

See the docs/ directory for full documentation.

License

MIT