PHP code example of samosadlaker / statamic-langtag

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

    

samosadlaker / statamic-langtag example snippets


return [
  'default' => 'sk',
  'supported' => ['sk', 'en'],
];
bash
php artisan vendor:publish --tag=statamic-langtag