serendipity_hq/php_array_writer

This package is abandoned and no longer maintained. The author suggests using the serendipity_hq/component-array-writer package instead.

A class to read and write PHP arrays.

6.0.1 2024-02-24 16:44 UTC

README

687474703a2f2f7777772e736572656e64697069747968712e636f6d2f6173736574732f6f70656e2d736f757263652d70726f6a656374732f4c6f676f2d536572656e64697069747948512d49636f6e2d546578742d507572706c652e706e67

Serendipity HQ Array Writer

A class to write and read arrays.

68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736572656e6469706974795f68712f636f6d706f6e656e742d61727261792d7772697465722e7376673f7374796c653d666c61742d737175617265 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265 68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f736572656e6469706974795f68712f636f6d706f6e656e742d61727261792d7772697465723f636f6c6f723d253233383839324246267374796c653d666c61742d737175617265266c6f676f3d706870

Supports: 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d253545352e342d3333333f7374796c653d666c61742d737175617265266c6f676f3d73796d666f6e79 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d253545362e302d3333333f7374796c653d666c61742d737175617265266c6f676f3d73796d666f6e79

Tested with: 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d253545352e342d3333333f7374796c653d666c61742d737175617265266c6f676f3d73796d666f6e79 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d253545362e302d3333333f7374796c653d666c61742d737175617265266c6f676f3d73796d666f6e79

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!