An open API service indexing awesome lists of open source software.

https://github.com/2dojo/module_manager

Laravel module manager
https://github.com/2dojo/module_manager

laravel laravel5 laravel55 module-loader module-system modulemanager

Last synced: 4 days ago
JSON representation

Laravel module manager

Awesome Lists containing this project

README

          

# Module manager

[![Latest Stable Version](https://poser.pugx.org/2dojo/module_manager/v/stable)](https://packagist.org/packages/2dojo/module_manager)
[![Build Status](https://travis-ci.org/2dojo/module_manager.svg?branch=master)](https://travis-ci.org/2dojo/module_manager)
[![codecov](https://codecov.io/gh/2dojo/module_manager/branch/master/graph/badge.svg)](https://codecov.io/gh/2dojo/module_manager)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/2dojo/module_manager/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/2dojo/module_manager/?branch=master)
[![License](https://poser.pugx.org/2dojo/module_manager/license)](https://packagist.org/packages/2dojo/module_manager)

## Table of contents
- [Installation](#installation)
- [Module Development](#module-development)
- [Module Manager Methods](#module-manager-methods)

## Installation
The Module Manager can be installed via composer:
```
composer require 2dojo/module_manager
```

This package uses Laravel auto-discovery so the ServiceProvider and the Facade automatically register itself.

After you installed this package you have to call the **ModuleManager** facade **initializeModules** method in you **AppServiceProvider boot** method.

```php
'database'
```

## Module Development
You can create your modules in a separated composer package or in your laravel project for example in the app/Modules directory.

```php