PHP code example of digitalcloud / nova-page-tool
1. Go to this page and download the library: Download digitalcloud/nova-page-tool 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/ */
digitalcloud / nova-page-tool example snippets
use DigitalCloud\PageTool\PageTool;
// ....
public function tools()
{
return [
// ...
new PageTool(),
// ...
];
}
shell
php artisan migrate
shell
php artisan vendor:publish --provider="DigitalCloud\PageBuilderField\FieldServiceProvider" --tag=public