PHP code example of itsgoingd / clockwork-web

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

    

itsgoingd / clockwork-web example snippets


'providers' => array(
	...
    'Clockwork\Web\Support\Laravel\ClockworkWebServiceProvider'
)

$app = new Slim(...);
$app->add(new Clockwork\Web\Support\Slim\ClockworkWebMiddleware());

$ php artisan vendor:publish --provider='Clockwork\Web\Support\Laravel\ClockworkWebServiceProvider'

$ php artisan config:publish itsgoingd/clockwork-web --path vendor/itsgoingd/clockwork-web/Clockwork/Web/Support/Laravel/config/
html
...
<?= $clockwork_web