https://github.com/drakantas/modules
A library that allows you to split functionality into modules in a Laravel application without having to write service providers and additional configuration.
https://github.com/drakantas/modules
laravel-package laravel54 php-7
Last synced: 3 months ago
JSON representation
A library that allows you to split functionality into modules in a Laravel application without having to write service providers and additional configuration.
- Host: GitHub
- URL: https://github.com/drakantas/modules
- Owner: drakantas
- License: mit
- Archived: true
- Created: 2017-03-24T21:26:52.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-25T19:37:27.000Z (almost 9 years ago)
- Last Synced: 2024-12-15T12:48:01.042Z (about 1 year ago)
- Topics: laravel-package, laravel54, php-7
- Language: PHP
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
## 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.
## Requirements
- PHP 7.1.2 or higher.
- Laravel 5.4
## Configuration
There is hardly anything to do to set this up:
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.
## File structure
You may not change this file structure because it's currently hard coded.
```
/
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.