PHP code example of dutchcodingcompany / laravel-notes

1. Go to this page and download the library: Download dutchcodingcompany/laravel-notes 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/ */

    

dutchcodingcompany / laravel-notes example snippets


use DutchCodingCompany\Notes\Concerns\HasNotes;
use DutchCodingCompany\Notes\Contracts\HasNotes as HasNotesContract;

class Post extends Model implements HasNotesContract
{
    use HasNotes;
    
    // ...
}

php artisan vendor:publish --provider=DutchCodingCompany\Notes\NoteServiceProvider

php artisan migrate