Skip to content
Web development helpers
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
FileModel.php
LICENSE
README.md
composer.json

README.md

PHP tools for web development.

  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.

You can’t perform that action at this time.