PHP code example of warksit / time

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

    

warksit / time example snippets


namespace App\Nova;

use Warksit\Time\Time;

class BlogPost extends Resource
{
    // ...

    public function fields(Request $request)
    {
        return [
            // ...

            Time::make('Post start Time')->