Download the PHP package phillarmonic/crescendo-var-bundle without Composer

On this page you can find all versions of the php package phillarmonic/crescendo-var-bundle. 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 crescendo-var-bundle

CrescendoVarBundle

Elevate Your Code to a Symphony of Efficiency with CrescendoVarBundle: Where Every Variable Plays its Part Perfectly.

Overview

The phillarmonic/crescendo-var-bundle is a Symfony Bundle designed to enhance your development workflow by simplifying environment variable manipulation. With its intuitive features, developers can effortlessly convert environment variable strings into integers or booleans, as well as transform a single environment variable into an array.

This document provides a comprehensive guide on how to integrate and utilize the CrescendoVarBundle in your projects.

This is particularly useful when you need values of a specific type, but your workflow necessitates the use of strings to set your environment variables. An example of this is an ArgoCD YAML file, which requires all values to be strings.

Features

Installation

To install the CrescendoVarBundle, run the following command in your project directory:

Ensure that your project's composer.json is updated and that the package is installed successfully.

Configuration

After installation, configure the bundle by adding it to your application's bundle configuration. This process may vary depending on the framework or platform you are using. Typically, it involves registering the bundle in a configuration file or through an application's bundle registration system.

Usage

CrescendoVarBundle simplifies the usage of environment variables by providing special processors to handle common use cases. Below are examples of how to use these processors in your application:

Converting String to Integer

Use the tryint processor to convert an environment variable value to an integer. This is particularly useful for ports and other numerical configurations.

Converting String to Boolean

The trybool processor converts an environment variable value to a boolean. This is ideal for feature flags and other boolean-based configurations.

Explode Environment Variable into an Array

The explode processor splits a single environment variable into an array based on a delimiter (default is coma ,). This is useful for lists of hosts, tags, or any multivalued configuration.

Support and Contribution

For issues, questions, or contributions, please visit the project's GitHub repository. Our community is eager to help and welcomes contributions from developers at all skill levels.



All versions of crescendo-var-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
composer/package-versions-deprecated Version ^1.11
symfony/console Version ^6.0|^7.0
symfony/framework-bundle Version ^6.0|^7.0
symfony/http-kernel Version ^6.0|^7.0
symfony/validator Version ^6.0|^7.0
symfony/dependency-injection Version ^6.0|^7.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 phillarmonic/crescendo-var-bundle contains the following files

Loading the files please wait ....