PHP code example of atpro / translator
1. Go to this page and download the library: Download atpro/translator 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/ */
atpro / translator example snippets
AtproTranslateMiddleware::class,
php
'providers' => [
\Atpro\Translator\AtproServiceProvider::class,
],
bash
php artisan vendor:publish
bash
php artisan atpro:translate
bash
php artisan atpro:generate-view-translate