1. Go to this page and download the library: Download kwidoo/hex-tools 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/ */
kwidoo / hex-tools example snippets
// config/hex-tools.php
'modules' => [
// Define your business modules here
'User',
'Product',
'Order',
'Payment',
'Shared', // Common utilities shared across modules
],
'module_rules' => [
// Define which modules each module can depend on
'Shared' => ['Shared'],
'User' => ['User', 'Shared'],
'Product' => ['Product', 'Shared'],
'Order' => ['Order', 'Product', 'User', 'Shared'],
'Payment' => ['Payment', 'Order', 'User', 'Shared'],
],