Extended use of the default App\User Eloquent model used by Laravel applications
MIT License
Published by sfneal over 3 years ago
DatabaseSeeder
causing ambiguous class resolutionsRoleSeeder
which can be used in production- fix issue with DatabaseSeeder
causing ambiguous class resolutionsRoleSeeder
which can be used in productionPublished by sfneal over 3 years ago
HelpersTest::isAdminOrActiveUser()
test methodPublished by sfneal over 3 years ago
AppInfo
when installing using '--prefer-lowest' flagAbstractNotification
to Notification
Published by sfneal over 3 years ago
UserFactory
with creating a 'role' relationshipPublished by sfneal over 3 years ago
mediumText()
instead of text()
Published by sfneal over 3 years ago
UserBuilder::allWithInactive()
methods return type hintingallWithInactive()
test method to UserBuilderTest
Published by sfneal over 3 years ago
Published by sfneal over 3 years ago
Authenticatable
to AuthModel
Published by sfneal over 3 years ago
Published by sfneal over 3 years ago
Published by sfneal over 3 years ago
Published by sfneal over 3 years ago
AbstractService
extensionsPublished by sfneal over 3 years ago
whereNotUser()
method to whereUserNot()
whereUserNotIn()
method to UserBuilder.Published by sfneal over 3 years ago
UserBuilder
& RoleBuilder
for scoping query results with 'role' clausesPublished by sfneal over 3 years ago
whereNotRole()
, whereRoleIn()
, whereRoleNotIn()
, whereRole()
& orWhereRole()
methods to UserBuilderwhereName()
method to RoleBuilderPublished by sfneal over 3 years ago
isWebDeveloper()
method to User model for checking User rolesisAdmin()
method to return true if the user has a 'web developer' rolePublished by sfneal over 3 years ago
Published by sfneal over 3 years ago
Published by sfneal over 3 years ago
Published by sfneal over 3 years ago