serendipity_hq/component-array-writer

A class to read and write PHP arrays.

6.0.1 2024-02-24 16:44 UTC

README

Serendipity HQ Array Writer

A class to write and read arrays.

Supports:

Tested with:

Current Status

Coverage Maintainability Rating Quality Gate Status Reliability Rating Security Rating Technical Debt Vulnerabilities

Phan PHPStan PSalm PHPUnit Composer PHP CS Fixer Rector

Do you like this library?
LEAVE A ★

or run
composer global require symfony/thanks && composer thanks
to say thank you to all libraries you use in your current project, this included!

Available methods

  • getValue()
  • getValueAndForget()
  • getValueByPartialKey()
  • isNode()
  • isReadable()
  • isRoot()
  • isWritable()
  • keyExistsNested()
  • add()
  • cp()
  • cpSafe()
  • edit()
  • merge()
  • mv()
  • mvSafe()
  • mvUp()
  • rm()
  • wrap()
  • pathize()
  • unpathize()
  • forceArray()

For details about each method, please, read the comments in the code: they are really simple to be read, trust me!

Install Serendipity HQ Array Writer via Composer

$ composer require serendipity_hq/component-array-writer

This library follows the http://semver.org/ versioning conventions.

Do you like this library?
LEAVE A ★

or run
composer global require symfony/thanks && composer thanks
to say thank you to all libraries you use in your current project, this included!