1. Go to this page and download the library: Download abgeo/json-to-popo 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/ */
abgeo / json-to-popo example snippets
class Department
{
/**
* @var string
*/
private $title;
// Getters and Setters here...
}
class Position
{
/**
* @var string
*/
private $title;
/**
* @var \ABGEO\POPO\Example\Department
*/
private $department;
// Getters and Setters here...
}