PHP code example of djb / confer
1. Go to this page and download the library: Download djb/confer 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/ */
djb / confer example snippets
class DatabaseSeeder extends Seeder {
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Model::unguard();
$this->call('ConferSeeder');
}
use DJB\Confer\Traits\CanConfer;
class User extends Model {
use CanConfer;
}
'pusher' => [
'public' => 'public_key',
'secret' => 'secret_key',
'app_id' => 'app_id'
]