2017 © Pedro PelĂĄez
 

library config-version-extension

Versions for sample/local Nette configuration files

image

clevis/config-version-extension

Versions for sample/local Nette configuration files

  • Thursday, February 5, 2015
  • by Mikulas
  • Repository
  • 10 Watchers
  • 8 Stars
  • 466 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

clevis/config-version-extension

Installation

composer require clevis/config-version-extension:~1.0

config.neon:, (*1)

extensions:
    version: Clevis\Version\DI\VersionExtension

config.local.sample.neon and config.local.neon:, (*2)

version: [1]

Usage

Whenever you change config.local.sample.neon in a back compatibility breaking way, update version key in sample config. Hook onCompile will check if your local config is up to date. If not, it presents you the following exception with custom Tracy panel:, (*3)

, (*4)

If you aren't using default paths, set them before Container builds, (*5)

use Clevis\Version\DI\VersionExtension;
VersionExtension::$samplePath = '%appDir%/config/config.local.example.neon';

The Versions

05/02 2015

v1.1.1-beta

1.1.1.0-beta

Versions for sample/local Nette configuration files

  Sources   Download

MIT

The Requires

 

by Mikuláơ Dítě

17/09 2014

dev-master

9999999-dev

Versions for sample/local Nette configuration files

  Sources   Download

MIT

The Requires

 

by Mikuláơ Dítě

05/09 2014

v1.1.0

1.1.0.0

Versions for sample/local Nette configuration files

  Sources   Download

MIT

The Requires

 

by Mikuláơ Dítě

22/08 2014

v1.0.0

1.0.0.0

Versions for sample/local Nette configuration files

  Sources   Download

MIT

The Requires

 

by Mikuláơ Dítě