1. Go to this page and download the library: Download samrap/gestalt 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/ */
samrap / gestalt example snippets
$config = new Configuration([
'app' => [
'debug' => true,
'version' => '1.0',
],
]);
// Get values using dot notation or ArrayAccess.
$config->get('app.debug');
$config['app'];
// Add values using dot notation or ArrayAccess.
$config->add('app.locale', 'en');
$config['mail'] = ['driver' => 'MailMonkey'];
$config = new Configuration($values);
$config->attach(new StatefulObserver);
// Notifies the StatefulObserver that the
// Configuration has been updated.
$config->set('app.debug', false);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.