Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmyers/fuel-storage
A Storage Package for Fuel
https://github.com/dmyers/fuel-storage
Last synced: 1 day ago
JSON representation
A Storage Package for Fuel
- Host: GitHub
- URL: https://github.com/dmyers/fuel-storage
- Owner: dmyers
- License: mit
- Created: 2013-03-22T00:50:31.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-08T02:32:13.000Z (over 10 years ago)
- Last Synced: 2023-03-14T08:20:23.961Z (over 1 year ago)
- Language: PHP
- Size: 230 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Fuel Storage Package
A super simple Storage package for Fuel.
## About
* Version: 1.0.0
* License: MIT License
* Author: Derek Myers## Installation
### Git Submodule
If you are installing this as a submodule (recommended) in your git repo root, run this command:
$ git submodule add git://github.com/dmyers/fuel-storage.git fuel/packages/storage
Then you you need to initialize and update the submodule:
$ git submodule update --init --recursive fuel/packages/storage/
### Download
Alternatively you can download it and extract it into `fuel/packages/storage/`.
## Usage
```php
$file = Storage::load('info.php');Storage::save('log.txt', 'success');
```## Updates
In order to keep the package up to date simply run:
$ git submodule update --recursive fuel/packages/storage/