Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neojato/firebase-php-gae
Based on the Firebase REST API and extended to use the GAE URL Fetch API instead of cURL
https://github.com/neojato/firebase-php-gae
composer fetch-api firebase firebase-database gae google-appengine php php-library
Last synced: 20 days ago
JSON representation
Based on the Firebase REST API and extended to use the GAE URL Fetch API instead of cURL
- Host: GitHub
- URL: https://github.com/neojato/firebase-php-gae
- Owner: neojato
- Created: 2016-09-16T19:29:17.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-16T20:46:55.000Z (over 8 years ago)
- Last Synced: 2024-11-15T06:26:11.387Z (about 2 months ago)
- Topics: composer, fetch-api, firebase, firebase-database, gae, google-appengine, php, php-library
- Language: PHP
- Homepage: https://packagist.org/packages/neojato/firebase-php-gae
- Size: 8.79 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GAE Firebase PHP Client
forked from: [ktamas77/firebase-php](https://github.com/ktamas77/firebase-php)
unit tests are included in `tests` directory.
Based on the [Firebase REST API](https://www.firebase.com/docs/rest-api.html).
Reworked for use on Google App Engine PHP Runtime by replacing cURL requests with GAE's URL Fetch API.
See [GAE URL Fetch PHP API](https://cloud.google.com/appengine/docs/php/urlfetch/) for more information.### Supported Commands
```php
// -- Firebase API commands$firebase->set($path, $value); // stores data in Firebase
$value = $firebase->get($path); // reads a value from Firebase
$firebase->delete($path); // deletes value from Firebase
$firebase->update($path, $data); // updates data in Firebase
$firebase->push($path, $data); // push data to Firebase// -- Firebase PHP Library commands
$firebase->setToken($token); // set up Firebase token
$firebase->setBaseURI($uri); // set up Firebase base URI (root node)
$firebase->setTimeOut($seconds); // set up maximum timeout / request
```Please refer to [ktamas77/firebase-php](https://github.com/ktamas77/firebase-php) for further details.
### Add using composer
```bash
cd
composer require neojato/firebase-php-gae
```