PHP code example of benbjurstrom / curator-model
1. Go to this page and download the library: Download benbjurstrom/curator-model 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/ */
benbjurstrom / curator-model example snippets
// config/app.php
'providers' => [
...
BenBjurstrom\CuratorModel\CuratorModelServiceProvider::class,
];
// database/seeds/DatabaseSeeder.php
class DatabaseSeeder extends Seeder
{
public function run()
{
...
$this->call(BenBjurstrom\CuratorModel\Seeds\DatabaseSeeder::class);
}
}