Search code examples
phplaravellaravel-5bundles

Laravel 5 bundles


I'm starting working with Laravel5 and I need to make app with some parts - e.g.:

admin.example.com
app.example.com
example.com

It means: in app will have registered users access, in admin, there will have access administrators and example.com will be for everybody.

I know, that this can be done in Symfony 2 via bundles, but I'm not sure, what's the best way to make it in Laravel 5.

Could you give me please your opinion about this?


Solution

  • In Laravel, bundles are called packages. You could also use a custom package to easily split your application into modules. Here's the same question asked with some answers.

    Hope this puts you on the right path.