PHP code example of tpojka / confer
1. Go to this page and download the library: Download tpojka/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/ */
tpojka / confer example snippets
class DatabaseSeeder extends Seeder {
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
// $this->call(ConferSeeder::class); // Laravel 7+ style
$this->call('ConferSeeder');
}
}
use Tpojka\Confer\Traits\CanConfer;
class User extends Authenticatable {
use CanConfer;
}