PHP code example of xdarko / twill-auto-translate
1. Go to this page and download the library: Download xdarko/twill-auto-translate 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/ */
xdarko / twill-auto-translate example snippets
return [
];
$twillAutoTranslate = new Xdarko\TwillAutoTranslate();
echo $twillAutoTranslate->echoPhrase('Hello, Xdarko!');
bash
php artisan vendor:publish --tag="twill-auto-translate-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="twill-auto-translate-config"