PHP code example of viewflex / tiny

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

    

viewflex / tiny example snippets


Viewflex\Tiny\TinyServiceProvider::class,

'caching'       => [
	'active'        =>  true,
	'minutes'       =>  1440
],

'query'         => '\Viewflex\Tiny\Queries\TinyQuery',

'tables'        => [
	'urls'          => 'tiny_urls'
]
bash
php artisan migrate
bash
php artisan vendor:publish  --tag='tiny-data'
bash
php artisan vendor:publish  --tag='tiny'