Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

coalman's avatar

Scalable application with modular or package approach

Hello friends

Basically, I am developing a School ERP which needs different modules like Attendance, Marks, Homework and more. Now the thing is the application is to be available for multiple schools and some schools might not require the homework module/package or the other. So, what is the approach to be followed as deleting a single module homework would effect the relationships for both teacher and student. Also, the views would be changed.

Should I use something like "if_view_available ? show_view : do_not_show" and the view can be loaded using components fromt the package. Same for relationships, if a package/module homework is not there how to manage the relationships.

So, in all what I am thinking about is a base application consisting of admin, student, teacher to which I can add modules/packages.

Sorry for any typos or if this question seems to be lame.. I am new to laravel.

Thanks

0 likes
3 replies
martinbean's avatar

@coalman How do you intend to deploy this application? Will one instance power multiple schools? Or are you going to deploy a new instance of the application for each customer?

coalman's avatar

Hello @martinbean, as for now I am planning a new instance of application for each customer.

Please or to participate in this conversation.