Download the PHP package dynoser/helml without Composer

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

HELML

helml-logo

PHP package

Implementations

Installation (PHP)

To install HELML, simply use composer:

or, You may copy and use files directly:

Usage

This package contains two independent classes:

class HELML

Here's a quick example of how to use the HELML class:

encoded_data:

Features

Encode and decode data arrays to/from HELML.

API

HELML::encode($arr, $url_mode=False)

Encode a data array into a HELML string.

Returns:

HELML::decode($src_rows)

Decode a HELML formatted string or list of strings into a nested dictionary.

Returns:

Class fileHELMLsect

This class implements selective loading of sections from a file in HELML format.

Result string:

In result we got data only from 'B', 'C' and 'D' sections, without comments and empty-lines

In this way, it is very convenient to get sections from the root level.

You can get nested keys in exactly the same way, however, it should be remembered that we will get these structures without the structures in which they are located.

For example, we can get ':nested' key from previous example file, and we got:

Result:

The parsing of this sample will be as follows:

Note:

By setting the $only_first_occ parameter to false, you can extract all variants of the values of some nested key. For example, let's get all the values of the nested key X from the examples above:

Result:

Independence

See also:

License

This project is licensed under the Apache-2 License.


All versions of helml with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
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 dynoser/helml contains the following files

Loading the files please wait ....