PHP code example of sirgrimorum / transarticles

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

    

sirgrimorum / transarticles example snippets

 bash
$ php artisan migrate
 php
$text = TransArticles::get("scope.nickname");
 php
$text = trans_article("scope.nickname");