bariew/phptools

Tools for web development

Installs: 183

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 0

Open Issues: 0

Type:helpers

1.0.0 2015-02-12 12:51 UTC

This package is auto-updated.

Last update: 2024-04-16 14:10:45 UTC


README

  1. FileModel - for extracting and saving data to file.
    $model = new \bariew\phptools\FileModel("/path/to/file.php");
    var_dump($model->data); // array(... file content);
    $model->set('myKey', 'myValue'); // now we have our value in file content array;
    $model->set(['my', 'multidimensional', 'key'], ['myValue']); // putting nested key into depth of file content array.