Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.
/ array-fly Public archive

ArrayFly is a simple PHP Library that allows you to modify an array on the fly.

License

Notifications You must be signed in to change notification settings

vitorarantes/array-fly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArrayFly

ArrayFly allows you to:

  • Change an array value from a file.

  • Get the array value from a file.

Installation

composer require vitorarantes/array-fly

Usage

<?php

use ArrayFly\ArrayFly;

$arrayFly = new ArrayFly('my-array-file.php');

echo $arrayFly->getValue('key1');
(output: value1)

$arrayFly->setValue('key1', 'value2')->save();

echo $arrayFly->getValue('key1');
(output: value2)

About

ArrayFly is a simple PHP Library that allows you to modify an array on the fly.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages