PHP code example of elliotjreed / json-resume
1. Go to this page and download the library: Download elliotjreed/json-resume 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/ */
elliotjreed / json-resume example snippets
me = (new \ElliotJReed\JsonResume\Entity\Resume())
->setBasics((new \ElliotJReed\JsonResume\Entity\Basics()
->setName('Elliot Reed'))
->setWork((new \ElliotJReed\JsonResume\Entity\Work())
->setName('Company Ltd.')
->setPosition('Spatula Tester')));
$jsonResume = new \ElliotJReed\JsonResume\JsonResume();
echo $jsonResume->asJson($jsonResume);
bash
php composer.phar install