PHPackages                             sendy/modularizer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. sendy/modularizer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sendy/modularizer
=================

0.3.0(11y ago)5841[1 issues](https://github.com/sendyHalim/laravel-modularizer/issues)PHPPHP &gt;=5.3.0

Since May 9Pushed 11y ago1 watchersCompare

[ Source](https://github.com/sendyHalim/laravel-modularizer)[ Packagist](https://packagist.org/packages/sendy/modularizer)[ RSS](/packages/sendy-modularizer/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (2)Dependencies (8)Versions (5)Used By (0)

\#Laravel 4 Modularizer
-----------------------

[](#laravel-4-modularizer)

This package is still in early development, but it is usable and already tested.

Modularizer is a Laravel 4 plugin. Basically it is an artisan command that creates module and auto validation repository based on given input. It is inspired by these amazing people:

- [creolab's module](https://github.com/creolab/laravel-modules)
- [JeffreyWay's generator](https://github.com/JeffreyWay/Laravel-4-Generators)

---

\###Install
-----------

[](#install)

Add `"sendy/modularizer": "dev-master"` to your composer.json then run `composer update` in your terminal.

Add `Sendy\Modularizer\ModularizerCommandServiceProvider` and `Sendy\Modularizer\ModularizerModulesServiceProvider` respectively to `app/config/app.php` service providers.

- `Sendy\Modularizer\ModularizerCommandServiceProvider` is for registering commands.
- `Sendy\Modularizer\ModularizerModulesServiceProvider` is for registering active modules(registers route and view namespace of module).

Last, (with default config)include this to your composer.json for autoloading

```
"psr-0":{
            "Modules": "app/modules"
        }

```

---

\###Using it...
---------------

[](#using-it)

First make you need to publish the config, fire up your terminal and type

```
php artisan config:publish sendy/modularizer

```

it will generate modularizer config `app/config/packages/sendy/modularizer/module.php`

inside the config, there's

```
