PHP code example of sideapps / nova-translation
1. Go to this page and download the library: Download sideapps/nova-translation 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/ */
sideapps / nova-translation example snippets
namespace Laravel\Nova;
...
use Joedixon\NovaTranslation\NovaTranslation;
class NovaServiceProvider extends ServiceProvider
{
...
protected function registerTools()
{
Nova::tools([
...
new NovaTranslation,
]);
}
}