PHP code example of apility / laravel-netflex-api

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

    

apility / laravel-netflex-api example snippets


use NetflexAPI;

$structures = NetflexAPI::get('builder/structures');

/*
[
  {
    "id": "10000",
    "name": "Articles",
    "description": "Articles posted to our website",
    "created": "2019-10-25 16:30:00",
    "value_edit": null,
    "value_create": null,
    "value_media": null,
    "value_relations": null,
    "value_name": null,
    "value_tags": null,
    "value_variants": null,
    "value_author": null,
    "canonical_page_id": "0",
    "hide_url": "0",
    "generate_sitemap": "0",
    "url_scheme": null,
    "tags": null
  }
]
*/