2017 © Pedro Peláez
 

library packaging

Helpers for local package development

image

ems/packaging

Helpers for local package development

  • Wednesday, December 13, 2017
  • by mtils
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2,327 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 8 % Grown

The README.md

A helper lib for local laravel development

This is a small helper package to help you while developing laravel applications and packages., (*1)

Install

1. Add this to your composer.json:

{
    "require-dev": {
        "ems/packaging" : "0.1.*"
    }
}

2. Then on Laravel in your app.php on the top:


use Packaging\Environment; $usePackaging = Environment::init();

It returns true if it found a configuration., (*2)

3. Let the environment configure your application

<?php

Environment::configure($app);

In this step it just adds some Development ServiceProviders (if configured)., (*3)

4. Add a develop configuration file (config/develop.php) with the following content:

<?php

return [

    'providers' => [
        'Barryvdh\Debugbar\ServiceProvider'
    ]
    ,
    'package-overwrites' => [
        'psr-0' => [
            'Collection'    => "/home/youruser/development/github/mypackage/src"
        ]
    ]

];

This is just a sample. Under "providers" you can add any custom service providers for development. The part under "package-overwrites" is to load your custom packages from anywhere on your hdd without changing your composer.json. Package overloading is realized with a simple autoloader which will prepended to the spl autoload stack., (*4)

If no develop.php file is found it will exist and does nothing., (*5)

The Versions

13/12 2017

dev-master

9999999-dev

Helpers for local package development

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

laravel packages

13/12 2017

v0.1.3

0.1.3.0

Helpers for local package development

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

laravel packages

03/01 2016

v0.1.2

0.1.2.0

Helpers for local package development

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

laravel packages

03/01 2016

v0.1.1

0.1.1.0

Helpers for local package development

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

laravel packages

21/04 2015

v0.1.0

0.1.0.0

Helpers for local package development

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

laravel packages