1. Go to this page and download the library: Download inxilpro/zit 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/ */
inxilpro / zit example snippets
$container = new \Zit\Container();
$container->set('auth', function() {
return new Auth();
});
$container->set('auth', function($container) {
return new Auth($container->get('db'));
});