PHP code example of vivid-lamp / pipe-skeleton

1. Go to this page and download the library: Download vivid-lamp/pipe-skeleton 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/ */

    

vivid-lamp / pipe-skeleton example snippets


(function () {
    p(__DIR__ . '/../');

    $app->pipe(ExceptionHandlerMiddleware::class);

    $app->pipe(InitializeMiddleware::class);

    $app->pipe(RouteMiddleware::class);

    $app->pipe(RouteMissedMiddleware::class);

    $app->run();
})();