PHP code example of aedart / athenaeum-utils
1. Go to this page and download the library: Download aedart/athenaeum-utils 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/ */
aedart / athenaeum-utils example snippets
use Aedart\Utils\Json;
use Aedart\Utils\Version;
// Obtain version of installed package
$version = Version::package('aedart/athenaeum-utils');
// Json encode ~ throws exception if encoding fails
echo Json::encode([
'version' => $version
]);