PHP code example of verzth / tcx

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

    

verzth / tcx example snippets


    return [
        //...
        //..
        //.
        
        'providers' => [
            // ...
            Verzth\TCX\TCXServiceProvider::class,
            ...
        ]
        
        //.
        //..
        //...
    ];
    

        $middleware = [
            //...
            \Verzth\TCX\Middleware\TCXMiddleware::class,
            //...
        ];
    

        $middlewareGroups = [
            //...
            'api' => [
                //...
                \Verzth\TCX\Middleware\TCXMiddleware::class,
                //...
            ]
            //...
        ];
    

        $routeMiddleware = [
            //...
            'tcx' => \Verzth\TCX\Middleware\TCXMiddleware::class,
            //...
        ];
    

    $this->call(TCXApplicationsTableSeeder::class);
    
shell script
    php artisan vendor:publish --provider=Verzth\TCX\TCXServiceProvider
    
shell script
    php artisan migrate
    
shell script
    composer dump-autoload
    
shell script
    php artisan db:seed --class=TCXApplicationsTableSeeder
    

        tcx_datetime=20181230235959 // For 23:59:59, 30 December 2018