Closed koppelaar closed 9 years ago
I'm probably an idiot for asking this, but when running the example I get this:
Fatal error: Class 'Firebase' not found in (.....)/firebase-php/index.php on line 8
The code I'm using is this:
<?php require 'autoload.php'; const DEFAULT_URL = 'https://xxxx.firebaseio.com'; const DEFAULT_TOKEN = 'yyyy'; const DEFAULT_PATH = ''; $firebase = new Firebase(DEFAULT_URL, DEFAULT_TOKEN); $test = array( "foo" => "bar", "i_love" => "lamp", "id" => 42 ); $dateTime = new DateTime(); $firebase->set(DEFAULT_PATH . '/' . $dateTime->format('c'), $test); ?>
It seems to be called FirebaseLib now.
FirebaseLib
The README needs updating.
Duplicate of #22.
Readme is updated, it should be straightforward now. Thank you for your note.
I'm probably an idiot for asking this, but when running the example I get this:
Fatal error: Class 'Firebase' not found in (.....)/firebase-php/index.php on line 8
The code I'm using is this: