PHP code example of zephia / laravel-olx

1. Go to this page and download the library: Download zephia/laravel-olx 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/ */

    

zephia / laravel-olx example snippets


// config/app.php


return [
    'providers' => [
        // ...
        Zephia\LaravelOLX\Provider\LaravelOLXServiceProvider::class
        // ...
    ]
];


$adBag = new \Zephia\OLXFeed\Entity\AdBag();
app('olx')->generate($adBag);