bariew/phptools

Tools for web development

Installs: 187

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-12-16 15:31:09 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.