Randy_Johnson's avatar

🚀 Exciting News! Introducing Laravel Hotswap

Hi everyone,

I’m thrilled to share that after several weeks of hard work, my package is nearly complete! It was a challenging journey, but thanks to the support of this amazing community, I made it to the finish line.

I’m proud to introduce Laravel Hotswap — a package designed for modular Laravel development. It allows you to create self-contained modules with their own routes, migrations, service providers, and frontend scaffolding. Built for Laravel + Inertia + Vite, it makes developing reusable modules fast, simple, and enjoyable.

You can find the full implementation instructions here: https://github.com/JoshuaHeathcote1987/Laravel_Hotswap

Roadmap:

Add Vue, Implement Pause module, Implement Play module

I’d love your feedback and ideas 💓

0 likes
4 replies
Randy_Johnson's avatar

Laravel Hotswap is now finish, working with InertiaJS ReactJS, and VueJS. Could be some bugs, not had time to finish testing everything. Hope you guys give it a go.

https://github.com/JoshuaHeathcote1987/Laravel_Hotswap/tree/main

How to use

From a fresh app run

composer require joshlogic/hotswap:dev-main
php artisan hotswap:scaffold

Choose either vue or react depending on your project.

php artisan hotswap:create ecommerce
composer dump-autoload
npm run build
php artisan serve
Randy_Johnson's avatar

Thanks for letting me know. Ignore the last comment, this forum is so broke on mobile.

Randy_Johnson's avatar

Update to Hotswap

https://github.com/JoshuaHeathcote1987/Laravel_Hotswap

https://packagist.org/packages/joshlogic/hotswap

💡 Boost your Laravel workflow with Hotswap Artisan Commands

With just a few commands, you can:

  1. Quickly generate models, controllers, and migrations within a module (e.g., ecommerce)

  2. Pause or resume modules as needed — perfect for staged rollouts or maintenance

  3. Permanently remove modules when they’re no longer in use

  4. Now compatible with vue.js

This makes your development process more modular, maintainable, and efficient. ⚡

Please or to participate in this conversation.