PHP code example of brightlogic-tech / project-template
1. Go to this page and download the library: Download brightlogic-tech/project-template 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/ */
brightlogic-tech / project-template example snippets
declare(strict_types = 1);
\chdir(__DIR__);
ROJECT_ROOT,
];
$preloader = new \BrightLogic\Template\Bootstrap(...$paths);
$preloader->load();
sql
CREATE TABLE `log` (
`id` int(11) unsigned auto_increment primary key,
`time` datetime default current_timestamp() not null,
`level` varchar(20) not null,
`head` varchar(255) not null,
`message` longtext null
) CHARSET = utf8mb4;
CREATE INDEX `log_level_index` ON `log` (level);