Installation
Requirements
- PHP:
^7.1 - Laravel:
^5.6 - Laravel Nova:
Orion
Installation
Before installing the package, make sure you have set-up Laravel Nova.
TIP
Remember that you can add nova as a composer package: Link
Require this package (cloudstudio/resource-generator) in the composer.json of your Laravel project or run the following command in your console:
composer require cloudstudio/resource-generator
1
Next up, you must register the tool with Nova. This is typically done in the tools method of the NovaServiceProvider.
// in app/Providers/NovaServiceProvider.php
...
public function tools()
{
return [
...
new \Cloudstudio\ResourceGenerator\ResourceGenerator(),
];
}
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
Also, link storage folder
php artisan storage:link
1