PHP code example of blackfyre / blueprint-nova-addon
1. Go to this page and download the library: Download blackfyre/blueprint-nova-addon 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/ */
blackfyre / blueprint-nova-addon example snippets
// App/Nova/Comment.php
public function fields(Request $request)
{
return [
ID::make()->sortable(),
Textarea::make('Content')
->rules('p/Nova/Post.php
public function fields(Request $request)
{
return [
ID::make()->sortable(),
Text::make('Title')
->rules('
bash
php artisan vendor:publish --tag=nova_blueprint