2017 © Pedro Peláez
 

library module

A shrimp of an application module loader

image

caridea/module

A shrimp of an application module loader

  • Saturday, February 10, 2018
  • by doublecompile
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

caridea-module

Caridea is a miniscule PHP application library. This shrimpy fellow is what you'd use when you just want some helping hands and not a full-blown framework., (*1)

, (*2)

This is its module loader. You can use it to write extensible applications., (*3)

Packagist Build Status Scrutinizer Code Quality Code Coverage, (*4)

Installation

You can install this library using Composer:, (*5)

$ composer require caridea/module
  • The master branch (version 3.x) of this project requires PHP 7.1 and depends on caridea/container.
  • Version 2.x of this project requires PHP 7.0 and depends on caridea/container.

Compliance

Releases of this library will conform to Semantic Versioning., (*6)

Our code is intended to comply with PSR-1, PSR-2, and PSR-4. If you find any issues related to standards compliance, please send a pull request!, (*7)

Features

The Caridea\Module\System class has three dependency containers: one for configuration properties, one for back-end objects and one for front-end objects. Modules can register objects in these containers. The configuration container is the parent of the back-end container, which in turn is parent of the front-end container., (*8)

namespace Acme;

class MyModule extends \Caridea\Module\Module
{
}

$modules = ['Acme\MyModule'];
$conf = []; // Read in your configuration from somewhere.
$system = new \Caridea\Module\System($modules, $conf);

$myObj = $system->getFrontendContainer()->get('myObject');

The Versions

10/02 2018

dev-master

9999999-dev http://github.com/libreworks/caridea-module

A shrimp of an application module loader

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

plugin extension bundle module

10/02 2018

3.0.0

3.0.0.0 http://github.com/libreworks/caridea-module

A shrimp of an application module loader

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

plugin extension bundle module

22/03 2017

2.0.0

2.0.0.0 http://github.com/libreworks/caridea-module

A shrimp of an application module loader

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

plugin extension bundle module

22/03 2017

2.0.x-dev

2.0.9999999.9999999-dev http://github.com/libreworks/caridea-module

A shrimp of an application module loader

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

plugin extension bundle module