2017 © Pedro Peláez
 

library app

Management package for davek1312 packages

image

davek1312/app

Management package for davek1312 packages

  • Monday, May 1, 2017
  • by davek1312
  • Repository
  • 0 Watchers
  • 0 Stars
  • 54 Installations
  • 6 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 26 Versions
  • 0 % Grown

The README.md

davek1312/app

Management package for davek1312 packages., (*1)

Installation

The package is available on Packagist, you can install it using Composer., (*2)

composer require davek1312/app

Registering Components

You can register the following components: Database Migrations, Console Commands and Configuration Files., (*3)

Create Your Registry Class:

<?php

namespace YourNamespace;

use Davek1312\App\Registry;

class YourRegistry extends Registry {

    protected function register() {
        // Register the directory of your configuration files
        $this->registerConfig(__DIR__.'/path/to/config');

        // Register the directory of your database migration files
        $this->registerMigrations(__DIR__.'/path/to/migrations');

        // Register the class names of your console commands
        $this->registerCommands('YourNamespace\Console\Commands\YourCommand');

        // Register the package language files
        $this->registerLang('package-name', __DIR__.'path/to/lang');

        // Register custom validation rule using a closure
        $this->registerValidationRules('foo', function ($attribute, $value, $parameters, $validator) {
            return $value == 'foo';
        });

        // Register custom validation rule using a method
        $this->registerValidationRules('foo', 'FooValidator@validate');

        // Register an implicit custom validation rule
        $this->registerImplicitValidationRules('foo', 'FooValidator@validateImplicit');

        // Register a custom validation rule replacer. This is used to replace custom place holders.
        $this->registerValidationReplacers('foo', function($message, $attribute, $rule, $parameters) {
            return str_replace('replace', 'with', $message);
        });

        // Register the package routes files
        $this->registerRoutes(__DIR__.'path/to/routes');
    }
}

Register Your Registry Class:

Copy the management folder i.e vendor/davek1312/app/davek1312 to your application's root directory and add YourNamespace\YourRegistry to app.php:, (*4)

<?php

return [

     'root_package_dir' => __DIR__.'/../',

        'registry' => [

            'YourNamespace\YourRegistry',

        ],

];

The Versions

01/05 2017

dev-master

9999999-dev https://bitbucket.org/davek1312/app

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

01/05 2017

v0.2.11

0.2.11.0 https://bitbucket.org/davek1312/app

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

29/04 2017

v0.2.10

0.2.10.0 https://bitbucket.org/davek1312/app

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

10/04 2017

v0.2.9

0.2.9.0 https://bitbucket.org/davek1312/app

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

10/04 2017

v0.2.8

0.2.8.0 https://bitbucket.org/davek1312/app

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

10/04 2017

v0.2.7

0.2.7.0 https://bitbucket.org/davek1312/app

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

10/04 2017

v0.2.6

0.2.6.0 https://bitbucket.org/davek1312/app

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

09/04 2017

v0.2.5

0.2.5.0 https://bitbucket.org/davek1312/app

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

02/04 2017

v0.2.4

0.2.4.0

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

02/04 2017

v0.2.3

0.2.3.0

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

02/04 2017

v0.2.2

0.2.2.0

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

02/04 2017

v0.2.1

0.2.1.0

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

02/04 2017

v0.1.2

0.1.2.0

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

29/03 2017

v0.1.1

0.1.1.0

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

29/03 2017

v0.0.12

0.0.12.0

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

29/03 2017

v0.0.11

0.0.11.0

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

29/03 2017

v0.0.10

0.0.10.0

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

29/03 2017

v0.0.9

0.0.9.0

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

29/03 2017

v0.0.8

0.0.8.0

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

19/03 2017

v0.0.7

0.0.7.0

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

19/03 2017

v0.0.6

0.0.6.0

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

19/03 2017

v0.0.5

0.0.5.0

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

19/03 2017

v0.0.4

0.0.4.0

Management package for davek1312 packages

  Sources   Download

MIT

The Requires

 

The Development Requires

by David Kelly

app management davek1312

19/03 2017

v0.0.3

0.0.3.0

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

19/03 2017

v0.0.2

0.0.2.0

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312

19/03 2017

v0.0.1

0.0.1.0

Management package for davek1312 packages

  Sources   Download

MIT

The Development Requires

by David Kelly

app management davek1312