Statistics
2165
4
2
22d
Badges
Tags
neon
Dependencies

Neonizer

Interactive parameters (NEON/JSON) handling during composer install / update.


Build Status Code coverage Licence

Downloads this Month Downloads total Latest stable

Discussion / Help

Join the chat

Versions

State Version Branch PHP
stable ^0.1 master >= 5.6

Sample

Neonizer

Install

Install via composer

composer require contributte/neonizer

Add post-install and post-update script to composer.json

"scripts": {
  "post-install-cmd": [
    "Contributte\\Neonizer\\NeonizerExtension::process"
  ],
  "post-update-cmd": [
    "Contributte\\Neonizer\\NeonizerExtension::process"
  ]
}

Usage

Add extra.neonizer section to your composer.json

"extra": {
  "neonizer": {
    "files": [
      {
        "dist-file": "app/config/config.local.neon.dist"
      },
      {
        "dist-file": "app/config/config.local.neon.dist",
        "file": "app/config/config.local.json"
      }
    ]
  }
}

You can define:

  • dist-file - Resource/template file for parameters handling.
  • file - Destination/result file.

Maintainers


Milan Felix Šulc

Josef Benjač

Thank you for testing, reporting and contributing.

  • v0.1 v0.1

    First bump! 👊

Is this addon outdated? Did you find an issue? Please report it.

Componette Componette admin@componette.com