Larabeans > Core (Beaner)
APIATO container that contains parent classes or common code used by all containers provided by Larabeans.
Adds parent models, extending Apiato parent models under parent namespace.
- Parents/Models/Model.php
Below models are provided as default models having modification required for UUID or tenant. You can extend these or implement you own. Don't forget to update config file accordingly.
- User.php
- Role.php
- Permission.php
Reusable Traits
- HasUuid (Works along with uuider container)
- MultiTenantable (Works along with tenanter container)
- HasLocation (Works along with locationer container)
- HasLocations (Works along with locationer container)
- HasMobileLocation (Works along with locationer container)
- MultiTenantableScope (Works along with tenanter container)
- Update CreateRoleRequest file to remove unique name rule and add ( 'name' => 'required|min:2|max:20|no_spaces' )