PHP code example of vormkracht10 / laravel-static

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

    

vormkracht10 / laravel-static example snippets


return [
];

$laravelStatic = new Vormkracht10\LaravelStatic();
echo $laravelStatic->echoPhrase('Hello, Vormkracht10!');
bash
php artisan vendor:publish --tag="laravel-static-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="laravel-static-config"
bash
php artisan vendor:publish --tag="laravel-static-views"