1. Go to this page and download the library: Download visanduma/nova-actor 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/ */
visanduma / nova-actor example snippets
return [
// auth user model
'model' => \App\Models\User::class,
// username column of user table
'username_column' => 'email',
// allowed environments
'environments' => ['local'],
];
// config/nova.php
'middleware' => [
'web',
HandleInertiaRequests::class,
DispatchServingNovaEvent::class,
BootTools::class,
...
\Visanduma\NovaActor\Http\Middlewares\NovaActorTheatre::class, // <-- Add this line
],