PHP code example of eazybright / status-page

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

    

eazybright / status-page example snippets


return [
    /**
     * Specify the location of the logo
    */
    'logo' => 'vendor/status-page/img/STATUSPAGE.png',
];

    // ...

    /**
     * Define the application's command schedule.
     *
     * @param Schedule $schedule
     * @return void
     */
    protected function schedule(Schedule $schedule)
    {
        // ...

        $schedule->command('status-page:create')->hourly();
    }
bash
php artisan vendor:publish --tag="status-page-assets"
bash
php artisan status-page:copy-script
bash
php artisan status-page:generate-route
bash
php artisan status-page:create