PHP code example of sura / framework

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

    

sura / framework example snippets

bash
$ php craft -migrate
bash
$ php craft -make:add-user Ivan Petrov [email protected] password

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }