bariew / phptools
Tools for web development
Installs: 189
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:helpers
pkg:composer/bariew/phptools
Requires
- php: >=5.4.0
 
This package is auto-updated.
Last update: 2025-10-16 17:06:47 UTC
README
- 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.