serendipity_hq / component-array-writer
A class to read and write PHP arrays.
Installs: 326 051
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 0
Open Issues: 1
Requires
- php: ^8.1
- symfony/property-access: ^5.4|^6.4|^7.0
- thecodingmachine/safe: ^2.0
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.4
- phpstan/phpstan: 1.10.59
- phpstan/phpstan-phpunit: 1.3.15
- rector/rector: 1.0.1
- roave/security-advisories: dev-master
- serendipity_hq/rector-config: ^1.0
- thecodingmachine/phpstan-safe-rule: 1.2.0
README
Serendipity HQ Array Writer
A class to write and read arrays.
Current Status
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!