Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung | |||
dstore-php [20.01.2014 ] ::1 [Download] |
dstore-php [13.11.2014 ] (aktuell) |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== dStore_php ====== | ||
+ | dStore_php ist eine Bibliothek für PHP ab 5.3 um den Zugriff auf das webservice_SmartGate zu erleichtern. HTTP-Requests werden mittels der cURL-Erweiterung für PHP durchgeführt. | ||
+ | |||
+ | Die Bibliothek wird als phar-Datei ausgeliefert und verwendet den PHP-Autoloader Mechanismus. Es ist also notwendig den include-Pfad auf die phar-Datei zu setzen und das Bootstrap-Skript einzubinden. Das geschieht so: | ||
+ | |||
+ | <code php> | ||
+ | set_include_path(get_include_path() . PATH_SEPARATOR . 'phar://dStore_php-2.x.y.phar'); | ||
+ | // Alternativ kann der include-pfad auch per htaccess oder php.ini gesetzt werden | ||
+ | require("dStore_php.php"); | ||
+ | </code> | ||
+ | |||
+ | ==== Einführung ==== | ||
+ | |||
+ | * [[dstore-php:examples|Anwendungsbeispiele]] | ||
+ | * [[dstore-php:exceptions|Fehlerbehandlung/ Exeptions]] | ||
+ | |||
+ | ==== Download ==== | ||
+ | |||
+ | * Aktuelle Version (2.1) | ||
+ | * Download: [[http://software.dstore.de/dStore_php/2.1.1/dStore_php-2.1.1.phar|dStore_php-2.1.1.phar]] | ||
+ | * Dokumentation: [[http://software.dstore.de/dStore_php/2.1.1/phpdocumentor/index.html|online lesen]] | ||
+ | * Vorherige Versionen | ||
+ | * Download: [[http://software.dstore.de/dStore_php/2.1.0/dStore_php-2.1.0.phar|dStore_php-2.1.0.phar]] | ||
+ | * Dokumentation: [[http://software.dstore.de/dStore_php/2.1.0/phpdocumentor/index.html|online lesen]] | ||
+ | * Download: [[http://software.dstore.de/dStore_php/2.0.2/dStore_php-2.0.2.phar|dStore_php-2.0.2.phar]] | ||
+ | * Dokumentation: [[http://software.dstore.de/dStore_php/2.0.2/phpdocumentor/index.html|online lesen]] |