1. Go to this page and download the library: Download devxnetx/bo-api-laravel library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
devxnetx / bo-api-laravel example snippets
[
'username' => 'YOUR USERNAME',
'password' => 'YOUR PASSWORD',
// You can use it for fallback - Sofia (727011)
'city' => 727011
];
BurziObiavi::getCities();
BurziObiavi::getCategories();
BurziObiavi::postAd([
"title" => "Your Ad Title - Не приема HTML",
"content" => "<b>DESCRIPTION</b>",
"price" => "100",
"phone" => "0888888888",
"city" => 727011,
"catid" => 11,
"subcatid" => 181,
"api_custom_id" => "ID from your system",
"images" => ["https://cdn.shopify.com/s/files/1/2394/4001/files/21_MAYO_e83d41cd-e674-4508-8d9a-267075361e02_480x480.jpg"]
]);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.