This is a simple PHP REST API For library network .
- PHP >= 7.2
- JSON PHP Extension
- PDO PHP Extension
- SQL SERVER PHP Extension
- XML PHP Extension
change the params in the config/Database.php file to your own Syngeb database Server
<?php
// DB Params
private $host = 'server Adress';
private $db_name = 'database';
private $username = 'username';
private $password = 'password';
You can map your fields on api/book/read.php
<?php
$book_item = array(
'id' => $DOC_ID,
'Cot_notice'=>$COT_NOTICE,
'title' => $DOC_TITRE_PROPRE,
'body' => $DOC_TITRE_COMPLEMENT,
'author' => $DOC_TITRE_PARALLELE,
'category_id' => $DOC_TITRE_ENSEMBLE,
'YEAR' => $DOC_ANNEE,
'ISBN' => $DOC_ISBN,
'LAN_ID'=>$LAN_ID,
'PAY_ID'=> $PAY_ID,
...
Belaoura Abdelouahab Belaoura Abdelouahab
1.0.0
This project is licensed under the MIT License