PHP code example of hasnayeen / blade-ssg

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

    

hasnayeen / blade-ssg example snippets


return [
];

$bladeSsg = new Hasnayeen\BladeSsg();
echo $bladeSsg->echoPhrase('Hello, Hasnayeen!');
bash
php artisan vendor:publish --tag="bladessg-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="bladessg-config"
bash
php artisan vendor:publish --tag="bladessg-views"