Laravel Nova Undocumented
- Some useful links to start with
Require the Nova package in your composer.json
and run the nova:install
and migrate
artisan commands:
php artisan nova:install
php artisan migrate
Default path: http://localhost/nova
The Country field generates a Select field containing a list of the world's countries. By default, the Country field dropdown will list all the country world. If you would like to limit the countries showed in the dropdown, you may use the options method:
use Laravel\Nova\Fields\Country;
Country::make('Country', 'country_code')
->options([
'KE' => __('Kenya'),
'UG' => __('Uganda'),
'TZ' => __('Tanzania'),
])