1. Go to this page and download the library: Download anzusystems/common-bundle library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?phprequire_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
anzusystems / common-bundle example snippets
publicfunction__construct(
private string $appSystem, // Specific application/system name, eg. "core".
private string $appVersion, // Specific application/system version, eg. "1.0.0".
private bool $appReadOnlyMode, // Boolean if application/system should run in read only mode.
string $environment,
bool $debug,
){
parent::__construct(
environment: $environment,
debug: $debug
);
}