PHP code example of thebugfoundation / turingphp

1. Go to this page and download the library: Download thebugfoundation/turingphp 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/ */

    

thebugfoundation / turingphp example snippets


\zion\core\System::configure();

// Verifica se o disco atual tem espaço mínimo suficiente para a aplicação funcionar
\zion\core\System::checkStorage();

// Ativa o WAF
\zion\security\WAF::checkAll();

// Encaminha a requisição para o controle se a URI estiver no padrão
\zion\core\App::route();