Classes

IC Card (Malaysia Citizen)

$ic = new \Vortechron\Essentials\Core\IC($request->ic);
$user->dob = $ic->getDateOfBirth();
$user->ic = $ic->getIc();
$user->gender = $ic->getGender();

SeederGenerator

SeederGenerator::mapPermissions(['dashboard', 'users', 'photos', 'payments', 'email', 'pemissions', 'settings', 'page'], ['administrator']);

Proxy

(new Proxy(null))->trying->to->get->something->that->doesnt->exists
// null
(new Proxy(new Exists))->trying->to->get->something->that->exists
// it exists

Config Model

Config::set('key', 'value');
Config::find('key') // value