PHPackages                             barbosa/packager - 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. barbosa/packager

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

barbosa/packager
================

Facade pseudo classes for dependencies

0.1(9y ago)122GLP-3.0PHPPHP &gt;=5.4

Since Nov 1Pushed 8y ago1 watchersCompare

[ Source](https://github.com/barbosa89/packager)[ Packagist](https://packagist.org/packages/barbosa/packager)[ RSS](/packages/barbosa-packager/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

Packager: This package allows calling classes in static style, through the use of facade classes.
=================================================================================================

[](#packager-this-package-allows-calling-classes-in-static-style-through-the-use-of-facade-classes)

Installation
------------

[](#installation)

To install via composer (), place the following in your composer.json file:

```
{
    "require": {
        "barbosa/packager": "dev-master"
    }
}

```

or download package from github.com:

```
http://github.com/barbosa89/packager

```

Configuration
-------------

[](#configuration)

Consider the following folder structure:

```
/project
    /src
        MainClass.php
        Router.php
        TextProcessing.php
        Request.php
        services.php
        /Facades
            Router.php
            TextProcessing.php
            Request.php

```

The services.php file, returns an array with an alias and the corresponding namespace and the following sintax:

```
