Download the PHP package enrise/soy-symfony-build-parameters-task without Composer

On this page you can find all versions of the php package enrise/soy-symfony-build-parameters-task. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package soy-symfony-build-parameters-task

Archived and unmaintained

This is an old repository that is no longer used or maintained. We advice to no longer use this repository.

Original README can be found below:

Soy Symfony Build Parameters Task

Install

This task is available as package at: https://packagist.org/packages/enrise/soy-symfony-build-parameters-task

You can run: composer require enrise/soy-symfony-build-parameters-task

After installing you can follow the usage below, if you don't know soy, first check: https://github.com/soy-php/soy

Objective and Usage

This task aims on generating the parameters.yml for symfony configurations, for that using environment strategies.

The default strategy does:

  1. Read a global environment file: files/env/environment.global.yml
  2. Read a environment file: files/env/environment.dev.yml
  3. Reads a templace file: app/config/parameters.dist.yml
  4. Generates the final parameters file: app/config/parameters.yml

You can do it without interaction just by creating simple recipes like:

And then run:

Result:

Basic recipe can look like

This way will satisfy all tasks dependencies and also give total control. The help command will look like:

Parameters priorities (lower to higher)

If you supply no options the command default ones are gonna get used:

Symfony environment variable

CLI Arguments

Force on recipe

Recipe


All versions of soy-symfony-build-parameters-task with dependencies

PHP Build Version
Package Version
Requires soy-php/soy Version >=0.2.0
soy-php/replace-task Version >=0.1.0
symfony/yaml Version ^2.0|^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package enrise/soy-symfony-build-parameters-task contains the following files

Loading the files please wait ....