Download the PHP package donatj/php-ini-builder without Composer

On this page you can find all versions of the php package donatj/php-ini-builder. 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 php-ini-builder

PHP INI Builder

Latest Stable Version License ci.yml

Create PHP parse_ini_string / parse_ini_file compatible INI strings from associative arrays.

Requirements

Installing

Install the latest version with:

Example

Here is a simple example script:

Which outputs:

Documentation

Class: donatj\Ini\Builder

Utility for Converting An Array to a INI string

Method: Builder->__construct

Parameters:

Method: Builder->generate

INI String Result

Throws: \donatj\Ini\ExceededMaxDepthException


Method: Builder->__invoke

Same as generate - exists to make Builder callable.


Method: Builder->escape

Escapes Values According to Currently Set Rules

Parameters:

Method: Builder->enableBoolDetection

Enable / Disable Automatic Boolean Detection

PHP's built in parse_ini_* methods parse 1, '1' and true and likewise '', and false to the same
values when the scanner mode is set to INI_SCANNER_NORMAL, enabling this option causes these values to be
output as true / false


Method: Builder->enableNumericDetection

Enable / Disable Automatic Numeric Detection

PHP's built in parse_ini_* methods parse all values to string. Enabling this option enables numeric detection
so they will be output once again as floats/ints


Method: Builder->enableAlphaNumericDetection

Enable / Disable Automatic AlphaNumeric Detection

PHP's built in parse_ini_* methods does not require quotation marks around simple strings without spaces.
Enabling this option removes the quotation marks on said simple strings.


Method: Builder->enableSkipNullValues

Enable / Disable Skipping Null Values

When enabled, null values will be skipped.

Class: donatj\Ini\ExceededMaxDepthException

Exception thrown when the max depth supported by INI is exceeded.


All versions of php-ini-builder with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
ext-ctype Version *
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 donatj/php-ini-builder contains the following files

Loading the files please wait ....