daevin 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/Daevin_test/.editorconfig +15 -0
- package/Daevin_test/.env.example +92 -0
- package/Daevin_test/.gitattributes +10 -0
- package/Daevin_test/CODE_OF_CONDUCT.md +3 -0
- package/Daevin_test/CONTRIBUTING.md +3 -0
- package/Daevin_test/LICENSE +21 -0
- package/Daevin_test/README.md +314 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Actions/ApiLoginProxyForWebClientAction.php +52 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Actions/ApiLogoutAction.php +23 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Actions/ApiRefreshProxyForWebClientAction.php +47 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Actions/ForgotPasswordAction.php +43 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Actions/GetAuthenticatedUserAction.php +19 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Actions/RegisterUserAction.php +39 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Actions/ResetPasswordAction.php +61 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Actions/SendVerificationEmailAction.php +19 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Actions/VerifyEmailAction.php +43 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Actions/WebLoginAction.php +46 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Actions/WebLogoutAction.php +17 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Classes/LoginCustomAttribute.php +97 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Configs/appSection-authentication.php +117 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Exceptions/EmailNotVerifiedException.php +12 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Exceptions/InvalidEmailVerificationDataException.php +12 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Exceptions/InvalidResetPasswordTokenException.php +12 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Exceptions/LoginFailedException.php +12 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Exceptions/RefreshTokenMissingException.php +12 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Mails/ForgotPassword.php +32 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Mails/Templates/forgot-password.blade.php +73 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Middlewares/RedirectIfAuthenticated.php +35 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Notifications/EmailVerified.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Notifications/PasswordReset.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Notifications/VerifyEmail.php +49 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Notifications/Welcome.php +25 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Providers/AuthServiceProvider.php +76 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Providers/MainServiceProvider.php +32 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Providers/MiddlewareServiceProvider.php +19 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/README.md +1 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Tasks/CallOAuthServerTask.php +36 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Tasks/CreatePasswordResetTokenTask.php +14 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Tasks/CreateUserByCredentialsTask.php +34 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Tasks/LoginTask.php +14 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Tasks/MakeRefreshCookieTask.php +25 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Tasks/SendVerificationEmailTask.php +16 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Tests/Stubs/oauth-private.key +51 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Tests/Stubs/oauth-public.key +14 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Tests/TestCase.php +18 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Tests/Unit/CreatePasswordResetTokenTaskTest.php +27 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Tests/Unit/CreateUserByCredentialsTaskTest.php +42 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Tests/Unit/ForgotPasswordActionTest.php +28 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Tests/Unit/LoginCustomAttributeTest.php +48 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Tests/Unit/RedirectIfAuthenticatedMiddlewareTest.php +44 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Tests/Unit/RegisterUserActionTest.php +64 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Tests/Unit/ResetPasswordActionTest.php +83 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Tests/Unit/SendVerificationEmailTaskTest.php +40 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Tests/Unit/WebLoginActionTest.php +75 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/Traits/AuthenticationTrait.php +25 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Controllers/ForgotPasswordController.php +24 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Controllers/GetAuthenticatedUserController.php +24 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Controllers/LoginProxyForWebClientController.php +33 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Controllers/LogoutController.php +25 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Controllers/RefreshProxyForWebClientController.php +35 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Controllers/RegisterUserController.php +24 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Controllers/ResetPasswordController.php +30 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Controllers/SendVerificationEmailController.php +22 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Controllers/VerifyEmailController.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Requests/ForgotPasswordRequest.php +50 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Requests/GetAuthenticatedUserRequest.php +45 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Requests/LoginProxyPasswordGrantRequest.php +57 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Requests/LogoutRequest.php +51 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Requests/RefreshProxyRequest.php +51 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Requests/RegisterUserRequest.php +61 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Requests/ResetPasswordRequest.php +55 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Requests/SendVerificationEmailRequest.php +56 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Requests/VerifyEmailRequest.php +51 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Routes/ForgotPassword.v1.public.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Routes/GetAuthenticatedUser.v1.private.php +23 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Routes/LoginProxyForWebClient.v1.public.php +30 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Routes/LoginUsingCredentialGrant.v1.public.php +29 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Routes/LoginUsingPasswordGrant.v1.private.php +31 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Routes/Logout.v1.public.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Routes/RefreshProxyForWebClient.v1.public.php +29 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Routes/RegisterUser.v1.private.php +38 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Routes/ResetPassword.v1.public.php +37 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Routes/SendVerificationEmail.v1.public.php +32 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Routes/VerifyEmail.v1.public.php +35 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Tests/ApiTestCase.php +74 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Tests/Functional/ApiLoginProxyForWebClientTest.php +129 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Tests/Functional/ApiLogoutTest.php +28 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Tests/Functional/ApiRefreshProxyForWebClientTest.php +86 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Tests/Functional/ForgotPasswordTest.php +56 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Tests/Functional/GetAuthenticatedUserTest.php +76 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Tests/Functional/RegisterUserTest.php +208 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Tests/Functional/ResetPasswordTest.php +79 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Tests/Functional/SendVerificationEmailTest.php +95 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Tests/Functional/Stubs/oauth-private.key +51 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Tests/Functional/Stubs/oauth-public.key +14 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/API/Tests/Functional/VerifyEmailTest.php +84 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/WEB/Controllers/LoginController.php +39 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/WEB/Controllers/LogoutController.php +25 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/WEB/Requests/LoginRequest.php +54 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/WEB/Requests/LogoutRequest.php +50 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/WEB/Routes/GetLogin.v1.public.php +8 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/WEB/Routes/PostLogin.v1.public.php +8 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/WEB/Routes/PostLogout.php +7 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/UI/WEB/Views/login.blade.php +121 -0
- package/Daevin_test/app/Containers/AppSection/Authentication/composer.json +11 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Actions/AssignRolesToUserAction.php +32 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Actions/AttachPermissionsToRoleAction.php +31 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Actions/AttachPermissionsToUserAction.php +31 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Actions/CreatePermissionAction.php +22 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Actions/CreateRoleAction.php +22 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Actions/DeleteRoleAction.php +22 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Actions/DetachPermissionsFromRoleAction.php +30 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Actions/DetachPermissionsFromUserAction.php +31 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Actions/FindPermissionAction.php +22 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Actions/FindRoleAction.php +22 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Actions/GetAllPermissionsAction.php +21 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Actions/GetAllRolesAction.php +21 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Actions/GetRolePermissionsAction.php +23 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Actions/GetUserPermissionsAction.php +23 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Actions/GetUserRolesAction.php +23 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Actions/RevokeRolesFromUserAction.php +40 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Actions/SyncPermissionsOnRoleAction.php +33 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Actions/SyncUserRolesAction.php +33 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Configs/appSection-authorization.php +24 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Configs/permission.php +161 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Data/Factories/PermissionFactory.php +19 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Data/Factories/RoleFactory.php +28 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Data/Migrations/2016_12_29_201047_create_permission_tables.php +141 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Data/Migrations/2017_04_22_122453_add_extra_fields_to_permissions_tale.php +30 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Data/Migrations/2017_04_22_122522_add_extra_fields_to_roles_table.php +30 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Data/Repositories/PermissionRepository.php +19 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Data/Repositories/RoleRepository.php +19 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Data/Seeders/AuthorizationDefaultUsersSeeder_4.php +36 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Data/Seeders/AuthorizationGivePermissionsToRolesSeeder_3.php +24 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Data/Seeders/AuthorizationPermissionsSeeder_1.php +27 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Data/Seeders/AuthorizationRolesSeeder_2.php +21 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Models/Permission.php +27 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Models/Role.php +27 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Providers/MainServiceProvider.php +27 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/README.md +1 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Tasks/AssignRolesToUserTask.php +21 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Tasks/CreatePermissionTask.php +41 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Tasks/CreateRoleTask.php +41 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Tasks/DeleteRoleTask.php +35 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Tasks/DetachPermissionsFromRoleTask.php +24 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Tasks/DetachPermissionsFromUserTask.php +24 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Tasks/FindPermissionTask.php +49 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Tasks/FindRoleTask.php +49 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Tasks/GetAllPermissionsTask.php +40 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Tasks/GetAllRolesTask.php +40 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Tasks/RevokeRoleFromUserTask.php +21 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Tests/TestCase.php +18 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Tests/Unit/CreatePermissionTaskTest.php +29 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Tests/Unit/CreateRoleTaskTest.php +29 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Tests/Unit/DeleteRoleTaskTest.php +36 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Tests/Unit/FindPermissionTaskTest.php +44 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Tests/Unit/FindRoleTaskTest.php +44 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Tests/Unit/PermissionFactoryTest.php +22 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Tests/Unit/PermissionMigrationTest.php +95 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Tests/Unit/RoleFactoryTest.php +33 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Traits/AuthorizationTrait.php +11 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/Traits/IsResourceOwnerTrait.php +19 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Controllers/AssignRolesToUserController.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Controllers/AttachPermissionsToRoleController.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Controllers/AttachPermissionsToUserController.php +27 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Controllers/CreateRoleController.php +27 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Controllers/DeleteRoleController.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Controllers/DetachPermissionsFromRoleController.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Controllers/DetachPermissionsFromUserController.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Controllers/FindPermissionController.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Controllers/FindRoleController.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Controllers/GetAllPermissionsController.php +28 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Controllers/GetAllRolesController.php +28 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Controllers/GetRolePermissionsController.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Controllers/GetUserPermissionsController.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Controllers/GetUserRolesController.php +27 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Controllers/RevokeRolesFromUserController.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Controllers/SyncPermissionOnRoleController.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Controllers/SyncUserRolesController.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Requests/AssignRolesToUserRequest.php +48 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Requests/AttachPermissionsToRoleRequest.php +48 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Requests/AttachPermissionsToUserRequest.php +53 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Requests/CreateRoleRequest.php +47 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Requests/DeleteRoleRequest.php +45 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Requests/DetachPermissionsFromRoleRequest.php +48 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Requests/DetachPermissionsFromUserRequest.php +53 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Requests/FindPermissionRequest.php +45 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Requests/FindRoleRequest.php +45 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Requests/GetAllPermissionsRequest.php +45 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Requests/GetAllRolesRequest.php +45 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Requests/GetRolePermissionsRequest.php +51 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Requests/GetUserPermissionsRequest.php +51 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Requests/GetUserRolesRequest.php +51 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Requests/RevokeRolesFromUserRequest.php +48 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Requests/SyncPermissionsOnRoleRequest.php +48 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Requests/SyncUserRolesRequest.php +48 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Routes/AssignRolesToUser.v1.private.php +29 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Routes/AttachPermissionsToRole.v1.private.php +29 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Routes/AttachPermissionsToUser.v1.private.php +27 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Routes/CreateRole.v1.private.php +25 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Routes/DeleteRole.v1.private.php +28 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Routes/DetachPermissionsFromRole.v1.private.php +29 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Routes/DetachPermissionsFromUser.v1.private.php +27 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Routes/FindPermission.v1.private.php +23 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Routes/FindRole.v1.private.php +23 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Routes/GetAllPermissions.v1.private.php +21 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Routes/GetAllRoles.v1.private.php +21 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Routes/GetRolePermissions.v1.private.php +25 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Routes/GetUserPermissions.v1.private.php +25 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Routes/GetUserRoles.v1.private.php +25 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Routes/RevokeRolesFromUser.v1.private.php +29 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Routes/SyncPermissionOnRole.v1.private.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Routes/SyncUserRoles.v1.private.php +27 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Routes/_permission.v1.public.php +25 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Routes/_role.v1.public.php +43 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Routes/_userPermissions.v1.public.php +48 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Tests/ApiTestCase.php +15 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/AssignRolesToUserTest.php +71 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/AttachPermissionToUserTest.php +114 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/AttachPermissionsToRoleTest.php +115 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/CreateRoleTest.php +65 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/DeleteRoleTest.php +40 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/DetachPermissionFromUserTest.php +120 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/DetachPermissionsFromRoleTest.php +115 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/FindPermissionTest.php +42 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/FindRoleTest.php +42 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/GetAllPermissionsTest.php +30 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/GetAllRolesTest.php +32 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/GetRolePermissionsTest.php +39 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/GetUserPermissionsTest.php +40 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/GetUserRolesTest.php +40 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/RevokeRolesFromUserTest.php +115 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/SyncPermissionsOnRoleTest.php +92 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/SyncUserRolesTest.php +93 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Transformers/PermissionTransformer.php +28 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/API/Transformers/RoleTransformer.php +34 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/WEB/Controllers/UnauthorizedController.php +19 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/WEB/Requests/UnauthorizedRequest.php +49 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/WEB/Routes/GetUnauthorized.php +7 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/UI/WEB/Views/unauthorized.blade.php +43 -0
- package/Daevin_test/app/Containers/AppSection/Authorization/composer.json +11 -0
- package/Daevin_test/app/Containers/AppSection/Posts/Actions/CreatePostsAction.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Posts/Actions/DeletePostsAction.php +18 -0
- package/Daevin_test/app/Containers/AppSection/Posts/Actions/FindPostsByIdAction.php +18 -0
- package/Daevin_test/app/Containers/AppSection/Posts/Actions/GetAllPostsAction.php +23 -0
- package/Daevin_test/app/Containers/AppSection/Posts/Actions/UpdatePostsAction.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Posts/Configs/appSection-posts.php +14 -0
- package/Daevin_test/app/Containers/AppSection/Posts/Data/Factories/PostsFactory.php +22 -0
- package/Daevin_test/app/Containers/AppSection/Posts/Data/Migrations/2023_2_19_55939_create_posts_migration.php +30 -0
- package/Daevin_test/app/Containers/AppSection/Posts/Data/Repositories/PostsRepository.php +17 -0
- package/Daevin_test/app/Containers/AppSection/Posts/Models/Posts.php +42 -0
- package/Daevin_test/app/Containers/AppSection/Posts/Posts.json +7 -0
- package/Daevin_test/app/Containers/AppSection/Posts/README.md +194 -0
- package/Daevin_test/app/Containers/AppSection/Posts/Tasks/CreatePostsTask.php +34 -0
- package/Daevin_test/app/Containers/AppSection/Posts/Tasks/DeletePostsTask.php +35 -0
- package/Daevin_test/app/Containers/AppSection/Posts/Tasks/FindPostsByIdTask.php +33 -0
- package/Daevin_test/app/Containers/AppSection/Posts/Tasks/GetAllPostsTask.php +31 -0
- package/Daevin_test/app/Containers/AppSection/Posts/Tasks/UpdatePostsTask.php +33 -0
- package/Daevin_test/app/Containers/AppSection/Posts/UI/API/Controllers/Controller.php +94 -0
- package/Daevin_test/app/Containers/AppSection/Posts/UI/API/Requests/CreatePostsRequest.php +54 -0
- package/Daevin_test/app/Containers/AppSection/Posts/UI/API/Requests/DeletePostsRequest.php +54 -0
- package/Daevin_test/app/Containers/AppSection/Posts/UI/API/Requests/FindPostsByIdRequest.php +53 -0
- package/Daevin_test/app/Containers/AppSection/Posts/UI/API/Requests/GetAllPostsRequest.php +54 -0
- package/Daevin_test/app/Containers/AppSection/Posts/UI/API/Requests/UpdatePostsRequest.php +56 -0
- package/Daevin_test/app/Containers/AppSection/Posts/UI/API/Routes/CreatePostsRoute.v1.private.php +52 -0
- package/Daevin_test/app/Containers/AppSection/Posts/UI/API/Routes/DeletePostsRoute.v1.private.php +31 -0
- package/Daevin_test/app/Containers/AppSection/Posts/UI/API/Routes/FindPostsByIdRoute.v1.private.php +52 -0
- package/Daevin_test/app/Containers/AppSection/Posts/UI/API/Routes/GetAllPostsRoute.v1.private.php +74 -0
- package/Daevin_test/app/Containers/AppSection/Posts/UI/API/Routes/UpdatePostsRoute.v1.private.php +52 -0
- package/Daevin_test/app/Containers/AppSection/Posts/UI/API/Transformers/PostsTransformer.php +49 -0
- package/Daevin_test/app/Containers/AppSection/Posts/composer.json +7 -0
- package/Daevin_test/app/Containers/AppSection/User/Actions/CreateAdminAction.php +39 -0
- package/Daevin_test/app/Containers/AppSection/User/Actions/DeleteUserAction.php +22 -0
- package/Daevin_test/app/Containers/AppSection/User/Actions/FindUserByIdAction.php +22 -0
- package/Daevin_test/app/Containers/AppSection/User/Actions/GetAllUsersAction.php +21 -0
- package/Daevin_test/app/Containers/AppSection/User/Actions/UpdateUserAction.php +33 -0
- package/Daevin_test/app/Containers/AppSection/User/Actions/UpdateUserPasswordAction.php +35 -0
- package/Daevin_test/app/Containers/AppSection/User/Configs/appSection-user.php +5 -0
- package/Daevin_test/app/Containers/AppSection/User/Data/Factories/UserFactory.php +44 -0
- package/Daevin_test/app/Containers/AppSection/User/Data/Migrations/2000_01_01_000001_create_users_table.php +34 -0
- package/Daevin_test/app/Containers/AppSection/User/Data/Migrations/2000_01_01_000002_create_password_resets_table.php +28 -0
- package/Daevin_test/app/Containers/AppSection/User/Data/Repositories/UserRepository.php +21 -0
- package/Daevin_test/app/Containers/AppSection/User/Data/Seeders/UserPermissionsSeeder_1.php +26 -0
- package/Daevin_test/app/Containers/AppSection/User/Models/User.php +58 -0
- package/Daevin_test/app/Containers/AppSection/User/Notifications/PasswordUpdatedNotification.php +28 -0
- package/Daevin_test/app/Containers/AppSection/User/Providers/MainServiceProvider.php +39 -0
- package/Daevin_test/app/Containers/AppSection/User/README.md +1 -0
- package/Daevin_test/app/Containers/AppSection/User/Tasks/DeleteUserTask.php +35 -0
- package/Daevin_test/app/Containers/AppSection/User/Tasks/FindUserByEmailTask.php +28 -0
- package/Daevin_test/app/Containers/AppSection/User/Tasks/FindUserByIdTask.php +31 -0
- package/Daevin_test/app/Containers/AppSection/User/Tasks/GetAllUsersTask.php +26 -0
- package/Daevin_test/app/Containers/AppSection/User/Tasks/UpdateUserTask.php +42 -0
- package/Daevin_test/app/Containers/AppSection/User/Tests/TestCase.php +18 -0
- package/Daevin_test/app/Containers/AppSection/User/Tests/Unit/CreateAdminActionTest.php +50 -0
- package/Daevin_test/app/Containers/AppSection/User/Tests/Unit/DeleteUserTaskTest.php +35 -0
- package/Daevin_test/app/Containers/AppSection/User/Tests/Unit/FindUserByIdTaskTest.php +35 -0
- package/Daevin_test/app/Containers/AppSection/User/Tests/Unit/PasswordResetsMigrationTest.php +28 -0
- package/Daevin_test/app/Containers/AppSection/User/Tests/Unit/UpdateUserTaskTest.php +52 -0
- package/Daevin_test/app/Containers/AppSection/User/Tests/Unit/UserFactoryTest.php +36 -0
- package/Daevin_test/app/Containers/AppSection/User/Tests/Unit/UsersMigrationTest.php +34 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Controllers/DeleteUserController.php +26 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Controllers/FindUserByIdController.php +26 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Controllers/GetAllUsersController.php +28 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Controllers/UpdateUserController.php +30 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Controllers/UpdateUserPasswordController.php +30 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Requests/DeleteUserRequest.php +48 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Requests/FindUserByIdRequest.php +45 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Requests/GetAllUsersRequest.php +45 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Requests/UpdateUserPasswordRequest.php +56 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Requests/UpdateUserRequest.php +50 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Routes/DeleteUser.v1.private.php +26 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Routes/FindUserById.v1.private.php +24 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Routes/GetAllUsers.v1.private.php +23 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Routes/UpdateUser.v1.private.php +27 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Routes/UpdateUserPassword.v1.private.php +36 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Routes/_user.v1.public.php +25 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Tests/ApiTestCase.php +15 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Tests/Functional/DeleteUserTest.php +50 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Tests/Functional/FindUserByIdTest.php +80 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Tests/Functional/GetAllUsersTest.php +88 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Tests/Functional/UpdateUserPasswordTest.php +126 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Tests/Functional/UpdateUserTest.php +80 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/API/Transformers/UserTransformer.php +52 -0
- package/Daevin_test/app/Containers/AppSection/User/UI/CLI/Commands/CreateAdminCommand.php +37 -0
- package/Daevin_test/app/Containers/AppSection/User/composer.json +7 -0
- package/Daevin_test/app/Containers/AppSection/Users/Actions/CreateUsersAction.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Users/Actions/DeleteUsersAction.php +18 -0
- package/Daevin_test/app/Containers/AppSection/Users/Actions/FindUsersByIdAction.php +18 -0
- package/Daevin_test/app/Containers/AppSection/Users/Actions/GetAllUsersAction.php +23 -0
- package/Daevin_test/app/Containers/AppSection/Users/Actions/UpdateUsersAction.php +26 -0
- package/Daevin_test/app/Containers/AppSection/Users/Configs/appSection-users.php +14 -0
- package/Daevin_test/app/Containers/AppSection/Users/Data/Factories/UsersFactory.php +22 -0
- package/Daevin_test/app/Containers/AppSection/Users/Data/Migrations/2023_2_19_55939_create_users_migration.php +31 -0
- package/Daevin_test/app/Containers/AppSection/Users/Data/Repositories/UsersRepository.php +17 -0
- package/Daevin_test/app/Containers/AppSection/Users/Models/Users.php +44 -0
- package/Daevin_test/app/Containers/AppSection/Users/README.md +194 -0
- package/Daevin_test/app/Containers/AppSection/Users/Tasks/CreateUsersTask.php +34 -0
- package/Daevin_test/app/Containers/AppSection/Users/Tasks/DeleteUsersTask.php +35 -0
- package/Daevin_test/app/Containers/AppSection/Users/Tasks/FindUsersByIdTask.php +33 -0
- package/Daevin_test/app/Containers/AppSection/Users/Tasks/GetAllUsersTask.php +31 -0
- package/Daevin_test/app/Containers/AppSection/Users/Tasks/UpdateUsersTask.php +33 -0
- package/Daevin_test/app/Containers/AppSection/Users/UI/API/Controllers/Controller.php +94 -0
- package/Daevin_test/app/Containers/AppSection/Users/UI/API/Requests/CreateUsersRequest.php +55 -0
- package/Daevin_test/app/Containers/AppSection/Users/UI/API/Requests/DeleteUsersRequest.php +54 -0
- package/Daevin_test/app/Containers/AppSection/Users/UI/API/Requests/FindUsersByIdRequest.php +53 -0
- package/Daevin_test/app/Containers/AppSection/Users/UI/API/Requests/GetAllUsersRequest.php +54 -0
- package/Daevin_test/app/Containers/AppSection/Users/UI/API/Requests/UpdateUsersRequest.php +57 -0
- package/Daevin_test/app/Containers/AppSection/Users/UI/API/Routes/CreateUsersRoute.v1.private.php +53 -0
- package/Daevin_test/app/Containers/AppSection/Users/UI/API/Routes/DeleteUsersRoute.v1.private.php +31 -0
- package/Daevin_test/app/Containers/AppSection/Users/UI/API/Routes/FindUsersByIdRoute.v1.private.php +53 -0
- package/Daevin_test/app/Containers/AppSection/Users/UI/API/Routes/GetAllUsersRoute.v1.private.php +75 -0
- package/Daevin_test/app/Containers/AppSection/Users/UI/API/Routes/UpdateUsersRoute.v1.private.php +53 -0
- package/Daevin_test/app/Containers/AppSection/Users/UI/API/Transformers/UsersTransformer.php +49 -0
- package/Daevin_test/app/Containers/AppSection/Users/Users.json +7 -0
- package/Daevin_test/app/Containers/AppSection/Users/composer.json +7 -0
- package/Daevin_test/app/Ship/Broadcasts/channels.php +16 -0
- package/Daevin_test/app/Ship/Commands/HelloWorldCommand.php +32 -0
- package/Daevin_test/app/Ship/Commands/closures.php +19 -0
- package/Daevin_test/app/Ship/Configs/apiato.php +185 -0
- package/Daevin_test/app/Ship/Configs/debugbar.php +275 -0
- package/Daevin_test/app/Ship/Configs/fractal.php +43 -0
- package/Daevin_test/app/Ship/Configs/hashids.php +54 -0
- package/Daevin_test/app/Ship/Configs/ide-helper.php +319 -0
- package/Daevin_test/app/Ship/Configs/notification.php +16 -0
- package/Daevin_test/app/Ship/Configs/repository.php +250 -0
- package/Daevin_test/app/Ship/Contracts/MustVerifyEmail.php +14 -0
- package/Daevin_test/app/Ship/Criterias/CreatedTodayCriteria.php +15 -0
- package/Daevin_test/app/Ship/Criterias/GroupByCriteria.php +21 -0
- package/Daevin_test/app/Ship/Criterias/IsNullCriteria.php +21 -0
- package/Daevin_test/app/Ship/Criterias/NotNullCriteria.php +21 -0
- package/Daevin_test/app/Ship/Criterias/OrderByCreationDateAscendingCriteria.php +14 -0
- package/Daevin_test/app/Ship/Criterias/OrderByCreationDateDescendingCriteria.php +14 -0
- package/Daevin_test/app/Ship/Criterias/OrderByFieldCriteria.php +37 -0
- package/Daevin_test/app/Ship/Criterias/OrderByNameCriteria.php +14 -0
- package/Daevin_test/app/Ship/Criterias/OrderByUpdateDateAscendingCriteria.php +14 -0
- package/Daevin_test/app/Ship/Criterias/OrderByUpdateDateDescendingCriteria.php +14 -0
- package/Daevin_test/app/Ship/Criterias/ThisBetweenDatesCriteria.php +21 -0
- package/Daevin_test/app/Ship/Criterias/ThisEqualThatCriteria.php +20 -0
- package/Daevin_test/app/Ship/Criterias/ThisLikeThatCriteria.php +35 -0
- package/Daevin_test/app/Ship/Criterias/ThisUserCriteria.php +19 -0
- package/Daevin_test/app/Ship/Events/.gitkeep +0 -0
- package/Daevin_test/app/Ship/Exceptions/CreateResourceFailedException.php +12 -0
- package/Daevin_test/app/Ship/Exceptions/DeleteResourceFailedException.php +12 -0
- package/Daevin_test/app/Ship/Exceptions/EmailIsMissedException.php +12 -0
- package/Daevin_test/app/Ship/Exceptions/Handlers/ExceptionsHandler.php +107 -0
- package/Daevin_test/app/Ship/Exceptions/InternalErrorException.php +12 -0
- package/Daevin_test/app/Ship/Exceptions/NotAuthorizedResourceException.php +12 -0
- package/Daevin_test/app/Ship/Exceptions/NotFoundException.php +12 -0
- package/Daevin_test/app/Ship/Exceptions/NotImplementedException.php +12 -0
- package/Daevin_test/app/Ship/Exceptions/UnsupportedFractalSerializerException.php +12 -0
- package/Daevin_test/app/Ship/Exceptions/UpdateResourceFailedException.php +12 -0
- package/Daevin_test/app/Ship/Exceptions/ValidationFailedException.php +12 -0
- package/Daevin_test/app/Ship/Generators/CustomStubs/.gitkeep +0 -0
- package/Daevin_test/app/Ship/Helpers/helpers.php +12 -0
- package/Daevin_test/app/Ship/Kernels/ConsoleKernel.php +46 -0
- package/Daevin_test/app/Ship/Kernels/HttpKernel.php +113 -0
- package/Daevin_test/app/Ship/Listeners/.gitkeep +0 -0
- package/Daevin_test/app/Ship/Mails/.gitkeep +0 -0
- package/Daevin_test/app/Ship/Mails/Templates/.gitkeep +0 -0
- package/Daevin_test/app/Ship/Middlewares/Authenticate.php +16 -0
- package/Daevin_test/app/Ship/Middlewares/EncryptCookies.php +17 -0
- package/Daevin_test/app/Ship/Middlewares/PreventRequestsDuringMaintenance.php +17 -0
- package/Daevin_test/app/Ship/Middlewares/TrimStrings.php +19 -0
- package/Daevin_test/app/Ship/Middlewares/TrustHosts.php +20 -0
- package/Daevin_test/app/Ship/Middlewares/TrustProxies.php +28 -0
- package/Daevin_test/app/Ship/Middlewares/VerifyCsrfToken.php +17 -0
- package/Daevin_test/app/Ship/Migrations/2017_09_12_174826_create_notifications_table.php +35 -0
- package/Daevin_test/app/Ship/Migrations/2019_08_19_000000_create_failed_jobs_table.php +36 -0
- package/Daevin_test/app/Ship/Migrations/2021_03_01_150940_create_jobs_table.php +39 -0
- package/Daevin_test/app/Ship/Notifications/.gitkeep +0 -0
- package/Daevin_test/app/Ship/Parents/Actions/Action.php +10 -0
- package/Daevin_test/app/Ship/Parents/Actions/SubAction.php +10 -0
- package/Daevin_test/app/Ship/Parents/Commands/ConsoleCommand.php +10 -0
- package/Daevin_test/app/Ship/Parents/Controllers/ApiController.php +10 -0
- package/Daevin_test/app/Ship/Parents/Controllers/WebController.php +10 -0
- package/Daevin_test/app/Ship/Parents/Criterias/Criteria.php +10 -0
- package/Daevin_test/app/Ship/Parents/Events/Event.php +10 -0
- package/Daevin_test/app/Ship/Parents/Exceptions/Exception.php +10 -0
- package/Daevin_test/app/Ship/Parents/Factories/Factory.php +10 -0
- package/Daevin_test/app/Ship/Parents/Jobs/Job.php +25 -0
- package/Daevin_test/app/Ship/Parents/Listeners/Listener.php +10 -0
- package/Daevin_test/app/Ship/Parents/Mails/Mail.php +10 -0
- package/Daevin_test/app/Ship/Parents/Middlewares/Middleware.php +10 -0
- package/Daevin_test/app/Ship/Parents/Models/Model.php +11 -0
- package/Daevin_test/app/Ship/Parents/Models/UserModel.php +17 -0
- package/Daevin_test/app/Ship/Parents/Notifications/Notification.php +10 -0
- package/Daevin_test/app/Ship/Parents/Policies/Policy.php +26 -0
- package/Daevin_test/app/Ship/Parents/Providers/AuthServiceProvider.php +20 -0
- package/Daevin_test/app/Ship/Parents/Providers/BroadcastServiceProvider.php +26 -0
- package/Daevin_test/app/Ship/Parents/Providers/EventServiceProvider.php +40 -0
- package/Daevin_test/app/Ship/Parents/Providers/MainServiceProvider.php +24 -0
- package/Daevin_test/app/Ship/Parents/Providers/MiddlewareServiceProvider.php +16 -0
- package/Daevin_test/app/Ship/Parents/Providers/RouteServiceProvider.php +24 -0
- package/Daevin_test/app/Ship/Parents/Repositories/Repository.php +10 -0
- package/Daevin_test/app/Ship/Parents/Requests/Request.php +10 -0
- package/Daevin_test/app/Ship/Parents/Seeders/Seeder.php +10 -0
- package/Daevin_test/app/Ship/Parents/Tasks/Task.php +10 -0
- package/Daevin_test/app/Ship/Parents/Tests/PhpUnit/TestCase.php +51 -0
- package/Daevin_test/app/Ship/Parents/Transformers/Transformer.php +25 -0
- package/Daevin_test/app/Ship/Parents/Values/Value.php +9 -0
- package/Daevin_test/app/Ship/Providers/RouteServiceProvider.php +35 -0
- package/Daevin_test/app/Ship/Providers/ShipProvider.php +44 -0
- package/Daevin_test/app/Ship/Seeders/SeedDeploymentData.php +18 -0
- package/Daevin_test/app/Ship/Seeders/SeedTestingData.php +18 -0
- package/Daevin_test/app/Ship/Tests/TestCase.php +10 -0
- package/Daevin_test/app/Ship/composer.json +21 -0
- package/Daevin_test/artisan +53 -0
- package/Daevin_test/bootstrap/app.php +55 -0
- package/Daevin_test/bootstrap/cache/.gitignore +2 -0
- package/Daevin_test/composer.json +112 -0
- package/Daevin_test/composer.lock +12696 -0
- package/Daevin_test/config/app.php +206 -0
- package/Daevin_test/config/auth.php +117 -0
- package/Daevin_test/config/broadcasting.php +67 -0
- package/Daevin_test/config/cache.php +110 -0
- package/Daevin_test/config/cors.php +34 -0
- package/Daevin_test/config/database.php +151 -0
- package/Daevin_test/config/filesystems.php +76 -0
- package/Daevin_test/config/hashing.php +52 -0
- package/Daevin_test/config/logging.php +119 -0
- package/Daevin_test/config/mail.php +117 -0
- package/Daevin_test/config/queue.php +93 -0
- package/Daevin_test/config/services.php +34 -0
- package/Daevin_test/config/session.php +201 -0
- package/Daevin_test/config/view.php +36 -0
- package/Daevin_test/database/factories/ModelFactory.php +4 -0
- package/Daevin_test/database/migrations/.gitkeep +0 -0
- package/Daevin_test/database/seeders/DatabaseSeeder.php +24 -0
- package/Daevin_test/lang/ar/auth.php +19 -0
- package/Daevin_test/lang/ar/pagination.php +19 -0
- package/Daevin_test/lang/ar/passwords.php +22 -0
- package/Daevin_test/lang/ar/validation.php +149 -0
- package/Daevin_test/lang/en/auth.php +20 -0
- package/Daevin_test/lang/en/pagination.php +19 -0
- package/Daevin_test/lang/en/passwords.php +22 -0
- package/Daevin_test/lang/en/validation.php +169 -0
- package/Daevin_test/lang/es/auth.php +19 -0
- package/Daevin_test/lang/es/pagination.php +19 -0
- package/Daevin_test/lang/es/passwords.php +22 -0
- package/Daevin_test/lang/es/validation.php +149 -0
- package/Daevin_test/lang/fa/auth.php +18 -0
- package/Daevin_test/lang/fa/pagination.php +17 -0
- package/Daevin_test/lang/fa/passwords.php +20 -0
- package/Daevin_test/lang/fa/validation.php +182 -0
- package/Daevin_test/lang/fr/auth.php +19 -0
- package/Daevin_test/lang/fr/pagination.php +19 -0
- package/Daevin_test/lang/fr/passwords.php +22 -0
- package/Daevin_test/lang/fr/validation.php +149 -0
- package/Daevin_test/package-lock.json +10031 -0
- package/Daevin_test/package.json +19 -0
- package/Daevin_test/php_cs.dist.php +39 -0
- package/Daevin_test/phpspec.yml +5 -0
- package/Daevin_test/phpunit.xml +38 -0
- package/Daevin_test/psalm.dist.xml +18 -0
- package/Daevin_test/public/.htaccess +21 -0
- package/Daevin_test/public/favicon.ico +0 -0
- package/Daevin_test/public/index.php +55 -0
- package/Daevin_test/public/robots.txt +2 -0
- package/Daevin_test/public/web.config +28 -0
- package/Daevin_test/resources/css/app.css +0 -0
- package/Daevin_test/resources/js/app.js +1 -0
- package/Daevin_test/resources/js/bootstrap.js +28 -0
- package/Daevin_test/resources/views/.gitkeep +0 -0
- package/Daevin_test/server.php +21 -0
- package/Daevin_test/storage/app/.gitignore +3 -0
- package/Daevin_test/storage/app/public/.gitignore +2 -0
- package/Daevin_test/storage/debugbar/.gitignore +2 -0
- package/Daevin_test/storage/framework/cache/.gitignore +2 -0
- package/Daevin_test/storage/framework/sessions/.gitignore +2 -0
- package/Daevin_test/storage/framework/testing/.gitignore +2 -0
- package/Daevin_test/storage/framework/views/.gitignore +2 -0
- package/Daevin_test/storage/logs/.gitignore +2 -0
- package/Daevin_test/webpack.mix.js +17 -0
- package/bin/classes/Apiato/index.js +208 -0
- package/bin/classes/Containers/Action.js +169 -0
- package/bin/classes/Containers/ComposerJSON.js +27 -0
- package/bin/classes/Containers/Config.js +39 -0
- package/bin/classes/Containers/Controller.js +120 -0
- package/bin/classes/Containers/Factory.js +47 -0
- package/bin/classes/Containers/Migration.js +80 -0
- package/bin/classes/Containers/Model.js +126 -0
- package/bin/classes/Containers/ReadMe.js +212 -0
- package/bin/classes/Containers/Repository.js +54 -0
- package/bin/classes/Containers/Request.js +341 -0
- package/bin/classes/Containers/Route.js +336 -0
- package/bin/classes/Containers/Task.js +225 -0
- package/bin/classes/Containers/Transformer.js +94 -0
- package/bin/classes/Helpers.js +150 -0
- package/bin/classes/tes.js +0 -0
- package/bin/constants.js +11 -0
- package/bin/core/output.json +13 -0
- package/bin/core/schemaToSql.js +118 -0
- package/bin/core/sqlToSchema.js +206 -0
- package/bin/index.js +103 -0
- package/dbconfig.json +74 -0
- package/package.json +39 -0
@@ -0,0 +1,36 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
return [
|
4
|
+
|
5
|
+
/*
|
6
|
+
|--------------------------------------------------------------------------
|
7
|
+
| View Storage Paths
|
8
|
+
|--------------------------------------------------------------------------
|
9
|
+
|
|
10
|
+
| Most templating systems load templates from disk. Here you may specify
|
11
|
+
| an array of paths that should be checked for your views. Of course
|
12
|
+
| the usual Laravel view path has already been registered for you.
|
13
|
+
|
|
14
|
+
*/
|
15
|
+
|
16
|
+
'paths' => [
|
17
|
+
resource_path('views'),
|
18
|
+
],
|
19
|
+
|
20
|
+
/*
|
21
|
+
|--------------------------------------------------------------------------
|
22
|
+
| Compiled View Path
|
23
|
+
|--------------------------------------------------------------------------
|
24
|
+
|
|
25
|
+
| This option determines where all the compiled Blade templates will be
|
26
|
+
| stored for your application. Typically, this is within the storage
|
27
|
+
| directory. However, as usual, you are free to change this value.
|
28
|
+
|
|
29
|
+
*/
|
30
|
+
|
31
|
+
'compiled' => env(
|
32
|
+
'VIEW_COMPILED_PATH',
|
33
|
+
realpath(storage_path('framework/views'))
|
34
|
+
),
|
35
|
+
|
36
|
+
];
|
File without changes
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
namespace Database\Seeders;
|
4
|
+
|
5
|
+
use Apiato\Core\Loaders\SeederLoaderTrait;
|
6
|
+
use Illuminate\Database\Seeder;
|
7
|
+
|
8
|
+
/**
|
9
|
+
* Class DatabaseSeeder
|
10
|
+
*/
|
11
|
+
class DatabaseSeeder extends Seeder
|
12
|
+
{
|
13
|
+
use SeederLoaderTrait;
|
14
|
+
|
15
|
+
/**
|
16
|
+
* Run the database seeds.
|
17
|
+
*
|
18
|
+
* @return void
|
19
|
+
*/
|
20
|
+
public function run(): void
|
21
|
+
{
|
22
|
+
$this->runLoadingSeeders();
|
23
|
+
}
|
24
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
return [
|
4
|
+
|
5
|
+
/*
|
6
|
+
|--------------------------------------------------------------------------
|
7
|
+
| Authentication Language Lines
|
8
|
+
|--------------------------------------------------------------------------
|
9
|
+
|
|
10
|
+
| The following language lines are used during authentication for various
|
11
|
+
| messages that we need to display to the user. You are free to modify
|
12
|
+
| these language lines according to your application's requirements.
|
13
|
+
|
|
14
|
+
*/
|
15
|
+
|
16
|
+
'failed' => 'بيانات الاعتماد هذه غير متطابقة مع البيانات المسجلة لدينا.',
|
17
|
+
'throttle' => 'عدد كبير جدا من محاولات الدخول. يرجى المحاولة مرة أخرى بعد :seconds ثانية.',
|
18
|
+
|
19
|
+
];
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
return [
|
4
|
+
|
5
|
+
/*
|
6
|
+
|--------------------------------------------------------------------------
|
7
|
+
| Pagination Language Lines
|
8
|
+
|--------------------------------------------------------------------------
|
9
|
+
|
|
10
|
+
| The following language lines are used by the paginator library to build
|
11
|
+
| the simple pagination links. You are free to change them to anything
|
12
|
+
| you want to customize your views to better match your application.
|
13
|
+
|
|
14
|
+
*/
|
15
|
+
|
16
|
+
'previous' => '« السابق',
|
17
|
+
'next' => 'التالي »',
|
18
|
+
|
19
|
+
];
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
return [
|
4
|
+
|
5
|
+
/*
|
6
|
+
|--------------------------------------------------------------------------
|
7
|
+
| Password Reminder Language Lines
|
8
|
+
|--------------------------------------------------------------------------
|
9
|
+
|
|
10
|
+
| The following language lines are the default lines which match reasons
|
11
|
+
| that are given by the password broker for a password update attempt
|
12
|
+
| has failed, such as for an invalid token or invalid new password.
|
13
|
+
|
|
14
|
+
*/
|
15
|
+
|
16
|
+
'password' => 'يجب أن لا يقل طول كلمة المرور عن ستة أحرف، كما يجب أن تتطابق مع حقل التأكيد',
|
17
|
+
'reset' => 'تمت إعادة تعيين كلمة المرور',
|
18
|
+
'sent' => 'تم إرسال تفاصيل استعادة كلمة المرور الخاصة بك إلى بريدك الإلكتروني',
|
19
|
+
'token' => '.رمز استعادة كلمة المرور الذي أدخلته غير صحيح',
|
20
|
+
'user' => 'لم يتم العثور على أيّ حسابٍ بهذا العنوان الإلكتروني',
|
21
|
+
|
22
|
+
];
|
@@ -0,0 +1,149 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
return [
|
4
|
+
|
5
|
+
/*
|
6
|
+
|--------------------------------------------------------------------------
|
7
|
+
| Validation Language Lines
|
8
|
+
|--------------------------------------------------------------------------
|
9
|
+
|
|
10
|
+
| The following language lines contain the default error messages used by
|
11
|
+
| the validator class. Some of these rules have multiple versions such
|
12
|
+
| such as the size rules. Feel free to tweak each of these messages.
|
13
|
+
|
|
14
|
+
*/
|
15
|
+
|
16
|
+
'accepted' => 'يجب قبول الحقل :attribute',
|
17
|
+
'active_url' => 'الحقل :attribute لا يُمثّل رابطًا صحيحًا',
|
18
|
+
'after' => 'يجب على الحقل :attribute أن يكون تاريخًا لاحقًا للتاريخ :date.',
|
19
|
+
'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
|
20
|
+
'alpha' => 'يجب أن لا يحتوي الحقل :attribute سوى على حروف',
|
21
|
+
'alpha_dash' => 'يجب أن لا يحتوي الحقل :attribute على حروف، أرقام ومطّات.',
|
22
|
+
'alpha_num' => 'يجب أن يحتوي :attribute على حروفٍ وأرقامٍ فقط',
|
23
|
+
'array' => 'يجب أن يكون الحقل :attribute ًمصفوفة',
|
24
|
+
'before' => 'يجب على الحقل :attribute أن يكون تاريخًا سابقًا للتاريخ :date.',
|
25
|
+
'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
|
26
|
+
'between' => [
|
27
|
+
'numeric' => 'يجب أن تكون قيمة :attribute بين :min و :max.',
|
28
|
+
'file' => 'يجب أن يكون حجم الملف :attribute بين :min و :max كيلوبايت.',
|
29
|
+
'string' => 'يجب أن يكون عدد حروف النّص :attribute بين :min و :max',
|
30
|
+
'array' => 'يجب أن يحتوي :attribute على عدد من العناصر بين :min و :max',
|
31
|
+
],
|
32
|
+
'boolean' => 'يجب أن تكون قيمة الحقل :attribute إما true أو false ',
|
33
|
+
'confirmed' => 'حقل التأكيد غير مُطابق للحقل :attribute',
|
34
|
+
'date' => 'الحقل :attribute ليس تاريخًا صحيحًا',
|
35
|
+
'date_format' => 'لا يتوافق الحقل :attribute مع الشكل :format.',
|
36
|
+
'different' => 'يجب أن يكون الحقلان :attribute و :other مُختلفان',
|
37
|
+
'digits' => 'يجب أن يحتوي الحقل :attribute على :digits رقمًا/أرقام',
|
38
|
+
'digits_between' => 'يجب أن يحتوي الحقل :attribute بين :min و :max رقمًا/أرقام ',
|
39
|
+
'dimensions' => 'الـ :attribute يحتوي على أبعاد صورة غير صالحة.',
|
40
|
+
'distinct' => 'للحقل :attribute قيمة مُكرّرة.',
|
41
|
+
'email' => 'يجب أن يكون :attribute عنوان بريد إلكتروني صحيح البُنية',
|
42
|
+
'exists' => 'الحقل :attribute لاغٍ',
|
43
|
+
'file' => 'الـ :attribute يجب أن يكون من ملفا.',
|
44
|
+
'filled' => 'الحقل :attribute إجباري',
|
45
|
+
'image' => 'يجب أن يكون الحقل :attribute صورةً',
|
46
|
+
'in' => 'الحقل :attribute لاغٍ',
|
47
|
+
'in_array' => 'الحقل :attribute غير موجود في :other.',
|
48
|
+
'integer' => 'يجب أن يكون الحقل :attribute عددًا صحيحًا',
|
49
|
+
'ip' => 'يجب أن يكون الحقل :attribute عنوان IP ذا بُنية صحيحة',
|
50
|
+
'json' => 'يجب أن يكون الحقل :attribute نصا من نوع JSON.',
|
51
|
+
'max' => [
|
52
|
+
'numeric' => 'يجب أن تكون قيمة الحقل :attribute مساوية أو أصغر لـ :max.',
|
53
|
+
'file' => 'يجب أن لا يتجاوز حجم الملف :attribute :max كيلوبايت',
|
54
|
+
'string' => 'يجب أن لا يتجاوز طول النّص :attribute :max حروفٍ/حرفًا',
|
55
|
+
'array' => 'يجب أن لا يحتوي الحقل :attribute على أكثر من :max عناصر/عنصر.',
|
56
|
+
],
|
57
|
+
'mimes' => 'يجب أن يكون الحقل ملفًا من نوع : :values.',
|
58
|
+
'mimetypes' => 'يجب أن يكون الحقل ملفًا من نوع : :values.',
|
59
|
+
'min' => [
|
60
|
+
'numeric' => 'يجب أن تكون قيمة الحقل :attribute مساوية أو أكبر لـ :min.',
|
61
|
+
'file' => 'يجب أن يكون حجم الملف :attribute على الأقل :min كيلوبايت',
|
62
|
+
'string' => 'يجب أن يكون طول النص :attribute على الأقل :min حروفٍ/حرفًا',
|
63
|
+
'array' => 'يجب أن يحتوي الحقل :attribute على الأقل على :min عُنصرًا/عناصر',
|
64
|
+
],
|
65
|
+
'not_in' => 'الحقل :attribute لاغٍ',
|
66
|
+
'numeric' => 'يجب على الحقل :attribute أن يكون رقمًا',
|
67
|
+
'present' => 'يجب تقديم الحقل :attribute',
|
68
|
+
'regex' => 'صيغة الحقل :attribute .غير صحيحة',
|
69
|
+
'required' => 'الحقل :attribute مطلوب.',
|
70
|
+
'required_if' => 'الحقل :attribute مطلوب في حال ما إذا كان :other يساوي :value.',
|
71
|
+
'required_unless' => 'الحقل :attribute مطلوب في حال ما لم يكن :other يساوي :values.',
|
72
|
+
'required_with' => 'الحقل :attribute إذا توفّر :values.',
|
73
|
+
'required_with_all' => 'الحقل :attribute إذا توفّر :values.',
|
74
|
+
'required_without' => 'الحقل :attribute إذا لم يتوفّر :values.',
|
75
|
+
'required_without_all' => 'الحقل :attribute إذا لم يتوفّر :values.',
|
76
|
+
'same' => 'يجب أن يتطابق الحقل :attribute مع :other',
|
77
|
+
'size' => [
|
78
|
+
'numeric' => 'يجب أن تكون قيمة الحقل :attribute مساوية لـ :size',
|
79
|
+
'file' => 'يجب أن يكون حجم الملف :attribute :size كيلوبايت',
|
80
|
+
'string' => 'يجب أن يحتوي النص :attribute على :size حروفٍ/حرفًا بالظبط',
|
81
|
+
'array' => 'يجب أن يحتوي الحقل :attribute على :size عنصرٍ/عناصر بالظبط',
|
82
|
+
],
|
83
|
+
'string' => 'يجب أن يكون الحقل :attribute نصآ.',
|
84
|
+
'timezone' => 'يجب أن يكون :attribute نطاقًا زمنيًا صحيحًا',
|
85
|
+
'unique' => 'قيمة الحقل :attribute مُستخدمة من قبل',
|
86
|
+
'uploaded' => 'فشل في تحميل الـ :attribute',
|
87
|
+
'url' => 'صيغة الرابط :attribute غير صحيحة',
|
88
|
+
|
89
|
+
/*
|
90
|
+
|--------------------------------------------------------------------------
|
91
|
+
| Custom Validation Language Lines
|
92
|
+
|--------------------------------------------------------------------------
|
93
|
+
|
|
94
|
+
| Here you may specify custom validation messages for attributes using the
|
95
|
+
| convention "attribute.rule" to name the lines. This makes it quick to
|
96
|
+
| specify a specific custom language line for a given attribute rule.
|
97
|
+
|
|
98
|
+
*/
|
99
|
+
|
100
|
+
'custom' => [
|
101
|
+
'attribute-name' => [
|
102
|
+
'rule-name' => 'custom-message',
|
103
|
+
],
|
104
|
+
],
|
105
|
+
|
106
|
+
/*
|
107
|
+
|--------------------------------------------------------------------------
|
108
|
+
| Custom Validation Attributes
|
109
|
+
|--------------------------------------------------------------------------
|
110
|
+
|
|
111
|
+
| The following language lines are used to swap attribute place-holders
|
112
|
+
| with something more reader friendly such as E-Mail Address instead
|
113
|
+
| of "email". This simply helps us make messages a little cleaner.
|
114
|
+
|
|
115
|
+
*/
|
116
|
+
|
117
|
+
'attributes' => [
|
118
|
+
'name' => 'الاسم',
|
119
|
+
'username' => 'اسم المُستخدم',
|
120
|
+
'email' => 'البريد الالكتروني',
|
121
|
+
'first_name' => 'الاسم',
|
122
|
+
'last_name' => 'اسم العائلة',
|
123
|
+
'password' => 'كلمة المرو',
|
124
|
+
'password_confirmation' => 'تأكيد كلمة المرور',
|
125
|
+
'city' => 'المدينة',
|
126
|
+
'country' => 'الدولة',
|
127
|
+
'address' => 'العنوان',
|
128
|
+
'phone' => 'الهاتف',
|
129
|
+
'mobile' => 'الجوال',
|
130
|
+
'age' => 'العمر',
|
131
|
+
'sex' => 'الجنس',
|
132
|
+
'gender' => 'النوع',
|
133
|
+
'day' => 'اليوم',
|
134
|
+
'month' => 'الشهر',
|
135
|
+
'year' => 'السنة',
|
136
|
+
'hour' => 'ساعة',
|
137
|
+
'minute' => 'دقيقة',
|
138
|
+
'second' => 'ثانية',
|
139
|
+
'title' => 'اللقب',
|
140
|
+
'content' => 'المُحتوى',
|
141
|
+
'description' => 'الوصف',
|
142
|
+
'excerpt' => 'المُلخص',
|
143
|
+
'date' => 'التاريخ',
|
144
|
+
'time' => 'الوقت',
|
145
|
+
'available' => 'مُتاح',
|
146
|
+
'size' => 'الحجم',
|
147
|
+
],
|
148
|
+
|
149
|
+
];
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
return [
|
4
|
+
|
5
|
+
/*
|
6
|
+
|--------------------------------------------------------------------------
|
7
|
+
| Authentication Language Lines
|
8
|
+
|--------------------------------------------------------------------------
|
9
|
+
|
|
10
|
+
| The following language lines are used during authentication for various
|
11
|
+
| messages that we need to display to the user. You are free to modify
|
12
|
+
| these language lines according to your application's requirements.
|
13
|
+
|
|
14
|
+
*/
|
15
|
+
|
16
|
+
'failed' => 'These credentials do not match our records.',
|
17
|
+
'password' => 'The provided password is incorrect.',
|
18
|
+
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
|
19
|
+
|
20
|
+
];
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
return [
|
4
|
+
|
5
|
+
/*
|
6
|
+
|--------------------------------------------------------------------------
|
7
|
+
| Pagination Language Lines
|
8
|
+
|--------------------------------------------------------------------------
|
9
|
+
|
|
10
|
+
| The following language lines are used by the paginator library to build
|
11
|
+
| the simple pagination links. You are free to change them to anything
|
12
|
+
| you want to customize your views to better match your application.
|
13
|
+
|
|
14
|
+
*/
|
15
|
+
|
16
|
+
'previous' => '« Previous',
|
17
|
+
'next' => 'Next »',
|
18
|
+
|
19
|
+
];
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
return [
|
4
|
+
|
5
|
+
/*
|
6
|
+
|--------------------------------------------------------------------------
|
7
|
+
| Password Reset Language Lines
|
8
|
+
|--------------------------------------------------------------------------
|
9
|
+
|
|
10
|
+
| The following language lines are the default lines which match reasons
|
11
|
+
| that are given by the password broker for a password update attempt
|
12
|
+
| has failed, such as for an invalid token or invalid new password.
|
13
|
+
|
|
14
|
+
*/
|
15
|
+
|
16
|
+
'reset' => 'Your password has been reset!',
|
17
|
+
'sent' => 'We have emailed your password reset link!',
|
18
|
+
'throttled' => 'Please wait before retrying.',
|
19
|
+
'token' => 'This password reset token is invalid.',
|
20
|
+
'user' => "We can't find a user with that email address.",
|
21
|
+
|
22
|
+
];
|
@@ -0,0 +1,169 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
return [
|
4
|
+
|
5
|
+
/*
|
6
|
+
|--------------------------------------------------------------------------
|
7
|
+
| Validation Language Lines
|
8
|
+
|--------------------------------------------------------------------------
|
9
|
+
|
|
10
|
+
| The following language lines contain the default error messages used by
|
11
|
+
| the validator class. Some of these rules have multiple versions such
|
12
|
+
| as the size rules. Feel free to tweak each of these messages here.
|
13
|
+
|
|
14
|
+
*/
|
15
|
+
|
16
|
+
'accepted' => 'The :attribute must be accepted.',
|
17
|
+
'accepted_if' => 'The :attribute must be accepted when :other is :value.',
|
18
|
+
'active_url' => 'The :attribute is not a valid URL.',
|
19
|
+
'after' => 'The :attribute must be a date after :date.',
|
20
|
+
'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
|
21
|
+
'alpha' => 'The :attribute must only contain letters.',
|
22
|
+
'alpha_dash' => 'The :attribute must only contain letters, numbers, dashes and underscores.',
|
23
|
+
'alpha_num' => 'The :attribute must only contain letters and numbers.',
|
24
|
+
'array' => 'The :attribute must be an array.',
|
25
|
+
'before' => 'The :attribute must be a date before :date.',
|
26
|
+
'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
|
27
|
+
'between' => [
|
28
|
+
'array' => 'The :attribute must have between :min and :max items.',
|
29
|
+
'file' => 'The :attribute must be between :min and :max kilobytes.',
|
30
|
+
'numeric' => 'The :attribute must be between :min and :max.',
|
31
|
+
'string' => 'The :attribute must be between :min and :max characters.',
|
32
|
+
],
|
33
|
+
'boolean' => 'The :attribute field must be true or false.',
|
34
|
+
'confirmed' => 'The :attribute confirmation does not match.',
|
35
|
+
'current_password' => 'The password is incorrect.',
|
36
|
+
'date' => 'The :attribute is not a valid date.',
|
37
|
+
'date_equals' => 'The :attribute must be a date equal to :date.',
|
38
|
+
'date_format' => 'The :attribute does not match the format :format.',
|
39
|
+
'declined' => 'The :attribute must be declined.',
|
40
|
+
'declined_if' => 'The :attribute must be declined when :other is :value.',
|
41
|
+
'different' => 'The :attribute and :other must be different.',
|
42
|
+
'digits' => 'The :attribute must be :digits digits.',
|
43
|
+
'digits_between' => 'The :attribute must be between :min and :max digits.',
|
44
|
+
'dimensions' => 'The :attribute has invalid image dimensions.',
|
45
|
+
'distinct' => 'The :attribute field has a duplicate value.',
|
46
|
+
'email' => 'The :attribute must be a valid email address.',
|
47
|
+
'ends_with' => 'The :attribute must end with one of the following: :values.',
|
48
|
+
'enum' => 'The selected :attribute is invalid.',
|
49
|
+
'exists' => 'The selected :attribute is invalid.',
|
50
|
+
'file' => 'The :attribute must be a file.',
|
51
|
+
'filled' => 'The :attribute field must have a value.',
|
52
|
+
'gt' => [
|
53
|
+
'array' => 'The :attribute must have more than :value items.',
|
54
|
+
'file' => 'The :attribute must be greater than :value kilobytes.',
|
55
|
+
'numeric' => 'The :attribute must be greater than :value.',
|
56
|
+
'string' => 'The :attribute must be greater than :value characters.',
|
57
|
+
],
|
58
|
+
'gte' => [
|
59
|
+
'array' => 'The :attribute must have :value items or more.',
|
60
|
+
'file' => 'The :attribute must be greater than or equal to :value kilobytes.',
|
61
|
+
'numeric' => 'The :attribute must be greater than or equal to :value.',
|
62
|
+
'string' => 'The :attribute must be greater than or equal to :value characters.',
|
63
|
+
],
|
64
|
+
'image' => 'The :attribute must be an image.',
|
65
|
+
'in' => 'The selected :attribute is invalid.',
|
66
|
+
'in_array' => 'The :attribute field does not exist in :other.',
|
67
|
+
'integer' => 'The :attribute must be an integer.',
|
68
|
+
'ip' => 'The :attribute must be a valid IP address.',
|
69
|
+
'ipv4' => 'The :attribute must be a valid IPv4 address.',
|
70
|
+
'ipv6' => 'The :attribute must be a valid IPv6 address.',
|
71
|
+
'json' => 'The :attribute must be a valid JSON string.',
|
72
|
+
'lt' => [
|
73
|
+
'array' => 'The :attribute must have less than :value items.',
|
74
|
+
'file' => 'The :attribute must be less than :value kilobytes.',
|
75
|
+
'numeric' => 'The :attribute must be less than :value.',
|
76
|
+
'string' => 'The :attribute must be less than :value characters.',
|
77
|
+
],
|
78
|
+
'lte' => [
|
79
|
+
'array' => 'The :attribute must not have more than :value items.',
|
80
|
+
'file' => 'The :attribute must be less than or equal to :value kilobytes.',
|
81
|
+
'numeric' => 'The :attribute must be less than or equal to :value.',
|
82
|
+
'string' => 'The :attribute must be less than or equal to :value characters.',
|
83
|
+
],
|
84
|
+
'mac_address' => 'The :attribute must be a valid MAC address.',
|
85
|
+
'max' => [
|
86
|
+
'array' => 'The :attribute must not have more than :max items.',
|
87
|
+
'file' => 'The :attribute must not be greater than :max kilobytes.',
|
88
|
+
'numeric' => 'The :attribute must not be greater than :max.',
|
89
|
+
'string' => 'The :attribute must not be greater than :max characters.',
|
90
|
+
],
|
91
|
+
'mimes' => 'The :attribute must be a file of type: :values.',
|
92
|
+
'mimetypes' => 'The :attribute must be a file of type: :values.',
|
93
|
+
'min' => [
|
94
|
+
'array' => 'The :attribute must have at least :min items.',
|
95
|
+
'file' => 'The :attribute must be at least :min kilobytes.',
|
96
|
+
'numeric' => 'The :attribute must be at least :min.',
|
97
|
+
'string' => 'The :attribute must be at least :min characters.',
|
98
|
+
],
|
99
|
+
'multiple_of' => 'The :attribute must be a multiple of :value.',
|
100
|
+
'not_in' => 'The selected :attribute is invalid.',
|
101
|
+
'not_regex' => 'The :attribute format is invalid.',
|
102
|
+
'numeric' => 'The :attribute must be a number.',
|
103
|
+
'password' => [
|
104
|
+
'letters' => 'The :attribute must contain at least one letter.',
|
105
|
+
'mixed' => 'The :attribute must contain at least one uppercase and one lowercase letter.',
|
106
|
+
'numbers' => 'The :attribute must contain at least one number.',
|
107
|
+
'symbols' => 'The :attribute must contain at least one symbol.',
|
108
|
+
'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.',
|
109
|
+
],
|
110
|
+
'present' => 'The :attribute field must be present.',
|
111
|
+
'prohibited' => 'The :attribute field is prohibited.',
|
112
|
+
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
|
113
|
+
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
|
114
|
+
'prohibits' => 'The :attribute field prohibits :other from being present.',
|
115
|
+
'regex' => 'The :attribute format is invalid.',
|
116
|
+
'required' => 'The :attribute field is required.',
|
117
|
+
'required_array_keys' => 'The :attribute field must contain entries for: :values.',
|
118
|
+
'required_if' => 'The :attribute field is required when :other is :value.',
|
119
|
+
'required_unless' => 'The :attribute field is required unless :other is in :values.',
|
120
|
+
'required_with' => 'The :attribute field is required when :values is present.',
|
121
|
+
'required_with_all' => 'The :attribute field is required when :values are present.',
|
122
|
+
'required_without' => 'The :attribute field is required when :values is not present.',
|
123
|
+
'required_without_all' => 'The :attribute field is required when none of :values are present.',
|
124
|
+
'same' => 'The :attribute and :other must match.',
|
125
|
+
'size' => [
|
126
|
+
'array' => 'The :attribute must contain :size items.',
|
127
|
+
'file' => 'The :attribute must be :size kilobytes.',
|
128
|
+
'numeric' => 'The :attribute must be :size.',
|
129
|
+
'string' => 'The :attribute must be :size characters.',
|
130
|
+
],
|
131
|
+
'starts_with' => 'The :attribute must start with one of the following: :values.',
|
132
|
+
'string' => 'The :attribute must be a string.',
|
133
|
+
'timezone' => 'The :attribute must be a valid timezone.',
|
134
|
+
'unique' => 'The :attribute has already been taken.',
|
135
|
+
'uploaded' => 'The :attribute failed to upload.',
|
136
|
+
'url' => 'The :attribute must be a valid URL.',
|
137
|
+
'uuid' => 'The :attribute must be a valid UUID.',
|
138
|
+
|
139
|
+
/*
|
140
|
+
|--------------------------------------------------------------------------
|
141
|
+
| Custom Validation Language Lines
|
142
|
+
|--------------------------------------------------------------------------
|
143
|
+
|
|
144
|
+
| Here you may specify custom validation messages for attributes using the
|
145
|
+
| convention "attribute.rule" to name the lines. This makes it quick to
|
146
|
+
| specify a specific custom language line for a given attribute rule.
|
147
|
+
|
|
148
|
+
*/
|
149
|
+
|
150
|
+
'custom' => [
|
151
|
+
'attribute-name' => [
|
152
|
+
'rule-name' => 'custom-message',
|
153
|
+
],
|
154
|
+
],
|
155
|
+
|
156
|
+
/*
|
157
|
+
|--------------------------------------------------------------------------
|
158
|
+
| Custom Validation Attributes
|
159
|
+
|--------------------------------------------------------------------------
|
160
|
+
|
|
161
|
+
| The following language lines are used to swap our attribute placeholder
|
162
|
+
| with something more reader friendly such as "E-Mail Address" instead
|
163
|
+
| of "email". This simply helps us make our message more expressive.
|
164
|
+
|
|
165
|
+
*/
|
166
|
+
|
167
|
+
'attributes' => [],
|
168
|
+
|
169
|
+
];
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
return [
|
4
|
+
|
5
|
+
/*
|
6
|
+
|--------------------------------------------------------------------------
|
7
|
+
| Authentication Language Lines
|
8
|
+
|--------------------------------------------------------------------------
|
9
|
+
|
|
10
|
+
| The following language lines are used during authentication for various
|
11
|
+
| messages that we need to display to the user. You are free to modify
|
12
|
+
| these language lines according to your application's requirements.
|
13
|
+
|
|
14
|
+
*/
|
15
|
+
|
16
|
+
'failed' => 'Estas credenciales no coinciden con nuestros registros.',
|
17
|
+
'throttle' => 'Demasiados intentos de acceso. Por favor intente nuevamente en :seconds segundos.',
|
18
|
+
|
19
|
+
];
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
return [
|
4
|
+
|
5
|
+
/*
|
6
|
+
|--------------------------------------------------------------------------
|
7
|
+
| Pagination Language Lines
|
8
|
+
|--------------------------------------------------------------------------
|
9
|
+
|
|
10
|
+
| The following language lines are used by the paginator library to build
|
11
|
+
| the simple pagination links. You are free to change them to anything
|
12
|
+
| you want to customize your views to better match your application.
|
13
|
+
|
|
14
|
+
*/
|
15
|
+
|
16
|
+
'previous' => '« Anterior',
|
17
|
+
'next' => 'Siguiente »',
|
18
|
+
|
19
|
+
];
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
return [
|
4
|
+
|
5
|
+
/*
|
6
|
+
|--------------------------------------------------------------------------
|
7
|
+
| Password Reminder Language Lines
|
8
|
+
|--------------------------------------------------------------------------
|
9
|
+
|
|
10
|
+
| The following language lines are the default lines which match reasons
|
11
|
+
| that are given by the password broker for a password update attempt
|
12
|
+
| has failed, such as for an invalid token or invalid new password.
|
13
|
+
|
|
14
|
+
*/
|
15
|
+
|
16
|
+
'password' => 'Las contraseñas deben coincidir y contener al menos 6 caracteres',
|
17
|
+
'reset' => '¡Tu contraseña ha sido restablecida!',
|
18
|
+
'sent' => '¡Te hemos enviado por correo el enlace para restablecer tu contraseña!',
|
19
|
+
'token' => 'El token de recuperación de contraseña es inválido.',
|
20
|
+
'user' => 'No podemos encontrar ningún usuario con ese correo electrónico.',
|
21
|
+
|
22
|
+
];
|