2017 © Pedro Peláez
 

library modules

A library that allows you to split functionality into modules in a Laravel application without having to write service providers and additional configuration.

image

draku/modules

A library that allows you to split functionality into modules in a Laravel application without having to write service providers and additional configuration.

  • Saturday, March 25, 2017
  • by draku
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Draku modules

Modules is a library that allows you to split functionality into modules in a Laravel application without having to write service providers and additional configuration., (*1)

Personal opinion

This library is currently on a very early stage, there's many things that should be optimized and another bunch that need to be worked on, such as a cache. I recommend you to install the dev-master version., (*2)

Requirements

  • PHP 7.1.2 or higher.
  • Laravel 5.4

Configuration

There is hardly anything to do to set this up:, (*3)

  1. Add Draku\Modules\ModulesServiceProvider::class to your autoloaded service providers list.
  2. Run php artisan vendor:publish just in case you want to customize your installation.
  3. That's it, you're ready to go.

Documentation

Soon., (*4)

File structure

You may not change this file structure because it's currently hard coded., (*5)

<Your Laravel application>/
    modules/
        Auth/
            Controllers/
                LoginController.php
            Entities/
                User.php
            Routes/
                Auth.php
            Views/
                login.blade.php
                redirect.php

TO DO

  • ~~Separate configuration from classes.~~
  • Allow UrlGenerator to find modules' controllers.
  • Class map cache.
  • CLI functionality.
  • Unit tests.

The Versions

25/03 2017

dev-master

9999999-dev

A library that allows you to split functionality into modules in a Laravel application without having to write service providers and additional configuration.

  Sources   Download

MIT

The Requires

 

by Avatar draku

25/03 2017

0.0.3

0.0.3.0

A library that allows you to split functionality into modules in a Laravel application without having to write service providers and additional configuration.

  Sources   Download

MIT

The Requires

 

by Avatar draku

24/03 2017

0.0.2

0.0.2.0

A library that allows you to split functionality into modules in a Laravel application without having to write service providers and additional configuration.

  Sources   Download

MIT

The Requires

 

by Avatar draku

24/03 2017

0.0.1

0.0.1.0

A library that allows you to split functionality into modules in a Laravel application without having to write service providers and additional configuration.

  Sources   Download

MIT

The Requires

 

by Avatar draku