I'm working on an very old internal portal (pure PHP, many developers, no rules, deprecated functions, etc...) which contains many independent tools (statistics, forms, news, etc...).

In order to stop the disaster I would like to reorganize it, and I would like to base it on a framework to manage its core (routing, user permissions, DB access).

Then the different parts of the portal should be organized/developed like independent plugins/modules/blocks/extensions/whatever.

Main requirements:

  • Provide restricted page access, restricted functionality access, and the best would be restricted data access (all my registered users are tagged with their company name, and all DB's data too, in order to check who can access this data)
  • Database access compatible with SQL Server 2008
  • Good PHP/CSS/JS file organization for independent developments

1 Answer 1


Laravel should do the trick just fine.

It has by default some basic authentication functions and a route filter that allows to easily restrict routes to authenticated users (or course, you can make your own filters).

If you need advanced permissions with groups and roles you can extend it with third-party packages such as Confide+Entrust or Sentry.

It seems to support SQL Server but I've never tried that so I can't be sure.

For your separate plugins/blocks/modules requirement, maybe you should just use multiple installations of the framework (and use the same models for shared data such as users) ? That way they don't interfere with each other, can be developed independently and if one of them breaks the others are fine.

  • Do you know how works routing when using multiple installations? Commented Aug 29, 2014 at 9:15
  • @Fractaliste each installation should have its own domain or subdomain - they are totally separate installations and each one has its own routes, the only thing they have in common is the same database.
    – user111
    Commented Aug 29, 2014 at 11:14
  • Definitely supports MSSQL Server - tried and tested with MSSQL 2008R2 and MSSQL 2014 in my own projects
    – SteB
    Commented Oct 24, 2014 at 13:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.