PHP code example of sebastiaanluca / laravel-skeleton

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

    

sebastiaanluca / laravel-skeleton example snippets


$model->published_at = Carbon::fromDisplayTimezone($request->published_at);

$model->created_at->toDisplayTimezone()->isoFormat('LLLL');