PHP code example of jersoncarin / wink-publishing

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

    

jersoncarin / wink-publishing example snippets


's3' => [
    'driver' => 's3',
    'key' => env('AWS_ACCESS_KEY_ID'),
    'secret' => env('AWS_SECRET_ACCESS_KEY'),
    'region' => env('AWS_DEFAULT_REGION'),
    'bucket' => env('AWS_BUCKET'),
    'url' => env('CDN_URL'),
    'options' => [
        'CacheControl' => 'public, max-age=315360000'
    ],
],

'unsplash' => [
    'key' => env('UNSPLASH_ACCESS_KEY'),
],
sh
composer n wink:install
php artisan storage:link
sh
php artisan wink:migrate
sh
php artisan wink:migrate
php artisan vendor:publish --tag=wink-assets --force