PHP code example of lucinda / abstract_mvc

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

    

lucinda / abstract_mvc example snippets


$this->response->view()["hello"] = "world";
regexp
$redirection = new Lucinda\\MVC\\Redirect("https://www.google.com");
$redirection->setPermanent(false);
$redirection->run();