From a0dc7addb81919f429cd47cc8fad3b68af7b1ba7 Mon Sep 17 00:00:00 2001 From: Anichur Rahaman <38912435+anisAronno@users.noreply.github.com> Date: Sat, 20 Jan 2024 22:39:11 +0600 Subject: [PATCH] Notification (#34) * Send Notification to Admin and SuperAdmin Only * Fix: notification component alignment * Fix styling by bot --------- Co-authored-by: anisAronno --- .php-cs-fixer.cache | 2 +- README.md | 6 ++++ app/Notifications/NewUserNotification.php | 2 +- app/Observers/UserObserver.php | 6 +++- app/Providers/AppServiceProvider.php | 2 +- app/Providers/AuthServiceProvider.php | 2 +- composer.json | 2 +- .../views/components/notification.blade.php | 32 ++++++++++++------- 8 files changed, 37 insertions(+), 17 deletions(-) diff --git a/.php-cs-fixer.cache b/.php-cs-fixer.cache index 33be621..af26117 100644 --- a/.php-cs-fixer.cache +++ b/.php-cs-fixer.cache @@ -1 +1 @@ -{"php":"8.3.1","version":"3.47.1","indent":" ","lineEnding":"\n","rules":{"array_syntax":{"syntax":"short"},"blank_line_after_namespace":true,"blank_line_after_opening_tag":true,"braces":{"allow_single_line_anonymous_class_with_empty_body":true,"position_after_anonymous_constructs":"next"},"cast_spaces":true,"concat_space":{"spacing":"none"},"declare_equal_normalize":true,"elseif":true,"encoding":true,"full_opening_tag":true,"fully_qualified_strict_types":true,"function_declaration":true,"function_typehint_space":true,"heredoc_to_nowdoc":true,"include":true,"increment_style":{"style":"post"},"indentation_type":true,"linebreak_after_opening_tag":true,"line_ending":true,"lowercase_cast":true,"lowercase_keywords":true,"lowercase_static_reference":true,"magic_method_casing":true,"magic_constant_casing":true,"method_argument_space":true,"native_function_casing":true,"no_alias_functions":true,"no_extra_blank_lines":{"tokens":["extra","throw","use","use_trait"]},"no_blank_lines_after_class_opening":true,"no_blank_lines_after_phpdoc":true,"no_closing_tag":true,"no_empty_phpdoc":true,"no_empty_statement":true,"no_leading_import_slash":true,"no_leading_namespace_whitespace":true,"no_mixed_echo_print":{"use":"echo"},"no_multiline_whitespace_around_double_arrow":true,"multiline_whitespace_before_semicolons":{"strategy":"no_multi_line"},"no_short_bool_cast":true,"no_singleline_whitespace_before_semicolons":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_comma_in_list_call":true,"no_trailing_comma_in_singleline_array":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"no_unreachable_default_argument_value":true,"no_useless_return":true,"no_whitespace_before_comma_in_array":true,"no_whitespace_in_blank_line":true,"normalize_index_brace":true,"not_operator_with_successor_space":true,"object_operator_without_whitespace":true,"phpdoc_indent":true,"phpdoc_no_access":true,"phpdoc_no_package":true,"phpdoc_no_useless_inheritdoc":true,"phpdoc_scalar":true,"phpdoc_single_line_var_spacing":true,"phpdoc_summary":true,"phpdoc_to_comment":true,"phpdoc_trim":true,"phpdoc_types":true,"phpdoc_var_without_name":true,"self_accessor":true,"short_scalar_cast":true,"single_blank_line_at_eof":true,"single_blank_line_before_namespace":true,"single_import_per_statement":true,"single_line_after_imports":true,"single_line_comment_style":{"comment_types":["hash"]},"single_quote":true,"space_after_semicolon":true,"standardize_not_equals":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"ternary_operator_spaces":true,"trim_array_spaces":true,"unary_operator_spaces":true,"whitespace_after_comma_in_array":true,"constant_case":{"case":"lower"},"general_phpdoc_tag_rename":true,"phpdoc_inline_tag_normalizer":true,"phpdoc_tag_type":true,"psr_autoloading":true,"trailing_comma_in_multiline":{"elements":["arrays"]},"binary_operator_spaces":{"default":"align","operators":{"=>":"align","=":"align"}},"blank_line_before_statement":{"statements":["return","if","for","foreach","while","do","switch","case","break","continue"]},"class_attributes_separation":{"elements":{"const":"one","method":"one","property":"one"}},"class_definition":{"multi_line_extends_each_single_line":true,"single_item_single_line":true,"single_line":true},"ordered_imports":{"sort_algorithm":"alpha"},"no_unneeded_control_parentheses":{"statements":["break","clone","continue","echo_print","return","switch_case","yield"]},"no_spaces_around_offset":{"positions":["inside","outside"]},"visibility_required":{"elements":["property","method","const"]}},"hashes":{"app\/Providers\/BroadcastServiceProvider.php":"2ec8fd9c95c859ab7299b84344e1e854","app\/Providers\/RouteServiceProvider.php":"c72927c73fb854178a327e3ae71e9ab2","app\/Providers\/AppServiceProvider.php":"c1ee34980f5cb7106b805c820ea6f1ef","app\/Providers\/TelescopeServiceProvider.php":"0469ce3b909c8031b3f22944d69a4928","app\/Providers\/AuthServiceProvider.php":"536205faeae804653986082c126cc03f","app\/Providers\/EventServiceProvider.php":"afa340e8a5db618a7d82e54c2b8334e4","app\/Providers\/HorizonServiceProvider.php":"d520f3a0ee90ec7c622bd4e9ee8c0b5b","app\/View\/Components\/Media\/Media.php":"bb2c8c05abb23e25cf1211cc360435b0","app\/View\/Components\/AppLayout.php":"b9778de9551cc2b9f166fe7e6629b9a5","app\/View\/Components\/GuestLayout.php":"aefcd0a8c6a6a8b4d88313ff2998fbb5","app\/Traits\/EnumToArray.php":"26f2b8ce429e7c7114cd0e730a70403b","app\/Models\/User.php":"b310544ef533939c2002cf71d06bafad","app\/Notifications\/ResetPasswordNotification.php":"0e3cc5095146f48d068623628f8782ab","app\/Notifications\/VerifyEmailQueued.php":"113ea218b3504f8c9c53f4fbdcaad88b","app\/Notifications\/NewUserNotification.php":"0c15af6d4b4a6fc87b59b169e8201f70","app\/Http\/Requests\/ProfileUpdateRequest.php":"78bcc6089996a3ca8ef2319607fb762a","app\/Http\/Requests\/Role\/RoleStoreRequest.php":"99e5a6d10053fb32038ed585dc51a548","app\/Http\/Requests\/Role\/RoleUpdateRequest.php":"1df36836a40f5bbf69c2bc1ef3468466","app\/Http\/Requests\/Auth\/RegistrationRequest.php":"28eba25816fea8d4db85ad98d4c9fb19","app\/Http\/Requests\/Auth\/LoginRequest.php":"47aad8474e3cb4ea2fc6ab4d8cf406c7","app\/Http\/Middleware\/VerifyCsrfToken.php":"f940a35a715b792ecc6c36e1da1adbc1","app\/Http\/Middleware\/RedirectIfAuthenticated.php":"6f1e84f13732fd90870d4e54fc59be28","app\/Http\/Middleware\/TrustHosts.php":"fce96fbb877f69fdf32aec84f52c79ce","app\/Http\/Middleware\/PreventRequestsDuringMaintenance.php":"9bf727a4eeaabad8fde5110106356d60","app\/Http\/Middleware\/ValidateSignature.php":"77676d93770a50e14db60bb5e06a8c86","app\/Http\/Middleware\/TrustProxies.php":"0a40a3bcc49063aa45024721ff69e572","app\/Http\/Middleware\/EncryptCookies.php":"aa3be31badc36cd9d7a5ea08eef245e7","app\/Http\/Middleware\/Authenticate.php":"ce8076b44a6c8969f342b62c1173917e","app\/Http\/Middleware\/TrimStrings.php":"016f82bc302a0b8801eeb48edea87cdf","app\/Http\/Resources\/AddressResource.php":"bfa1b05f7c2c51903113065b0b5e639f","app\/Http\/Resources\/PermissionResource.php":"8df8c32db2b48e3de6d3d0dc9b5ea641","app\/Http\/Resources\/TestResource.php":"abb8da0e99a33aa307a5cb0fbbd1f2b7","app\/Http\/Resources\/UserResource.php":"5deec8be666b14a858e9da5d4fc65863","app\/Http\/Resources\/RoleResource.php":"771321ca9fc2f45c7febd0e4eba4005d","app\/Http\/Kernel.php":"163b8321e8d9a559bf9e05b7c6663ff1","app\/Http\/Controllers\/Controller.php":"c93e356d909152be9ccdf94a17e149b8","app\/Http\/Controllers\/Auth\/RegisteredUserController.php":"406c91ba10e686b2b2c0d2a1490b0c97","app\/Http\/Controllers\/Auth\/VerifyEmailController.php":"9f8de57a44e3151b0826416eb19fa28c","app\/Http\/Controllers\/Auth\/ConfirmablePasswordController.php":"bacb38c3aad8fd054eb07e1cc6abf654","app\/Http\/Controllers\/Auth\/PasswordController.php":"0672f6ef52b937f0b12199354a1eb622","app\/Http\/Controllers\/Auth\/NewPasswordController.php":"a9248e1a6b2f67bc5f4f1ca56373044a","app\/Http\/Controllers\/Auth\/AuthenticatedSessionController.php":"e6d792caffeea1ae6ef23b9867d5daf0","app\/Http\/Controllers\/Auth\/EmailVerificationNotificationController.php":"a1f3ddac46c4d78bce82c02050c5239e","app\/Http\/Controllers\/Auth\/EmailVerificationPromptController.php":"e86a9dacb03cf8a97225ef8f142a3c9e","app\/Http\/Controllers\/Auth\/PasswordResetLinkController.php":"20059c80810872dd8be60647393740ee","app\/Http\/Controllers\/Api\/V1\/AuthController.php":"5ccccfd2f6fb1c00e4060f32a5ec743f","app\/Http\/Controllers\/ProfileController.php":"2951d93e0803ea1aba041d8d7ed264c8","app\/Http\/Controllers\/Admin\/NotificationController.php":"867d98aaa33dbb159a4b20c34cbcbe75","app\/Http\/Controllers\/Admin\/RolesController.php":"5d0d9b57044187045999eec7b6092d25","app\/Http\/Controllers\/Admin\/UserController.php":"dc7030348d7ed7e6b5f6ca7c07d80162","app\/Http\/Controllers\/Admin\/DashboardController.php":"ad978b6a256cf396bf95e6ed8aae34c3","app\/Exceptions\/Handler.php":"ec37959b92a81287608ef379ee4910d4","app\/Console\/Kernel.php":"629bae965355b7b671526d539a082a64","app\/Enums\/UserGender.php":"aef9501ddb80cd0c50133213a2935df4","app\/Enums\/UserStatus.php":"44a150f31999ca925a45b04d31eb3f83","app\/Observers\/UserObserver.php":"19bd877f0337caddd390862633cc1974","app\/Helpers\/CacheKey.php":"646e26d223fa1faa7173ab129ceacc02","app\/Helpers\/UniqueSlug.php":"4b22c2ae80f34302b0446245a78e78af","config\/telescope.php":"26ead243e16274f1420453b567c724b2","config\/media.php":"08c00b85370cd31cb025b2e65f6a2d67","config\/hashing.php":"0b12588776d51ff6155537da921703a8","config\/cache.php":"9c1f2b8ddc4e3885222815dafcb69ed8","config\/broadcasting.php":"a7a3fc65b26b2678cd1a648cfd0c060e","config\/database.php":"66b8eca260f50ce3354ca0e7efe8db5d","config\/permission.php":"a88f0bfffa73391725043ec1af29d193","config\/mail.php":"4eabe31375f7eefe52a0c1256e8bd587","config\/log-viewer.php":"3f70de1bf6bc98a2a48f4d87528d490e","config\/pulse.php":"538e7ad513c48555d17308c71952b877","config\/horizon.php":"42553ec79e084d884785d182d6b2046f","config\/cors.php":"7e46f4152490ce5bf22fe42d2b57a63a","config\/services.php":"32898baaef9bef2da646b2ec4edc2479","config\/queue.php":"7e3314dc5be5f171d7c237796fda45e9","config\/filesystems.php":"0dd6675c5944e42f65e05517741935e5","config\/logging.php":"f08ce95c6e37cb19a170b075d3e67cd6","config\/auth.php":"f48cb370e423856596e30ef7f4a6e18f","config\/app.php":"113d71f5065eb202458d5f4024ce9d6b","config\/session.php":"804a9a29ab22247b00b89c573778c7c6","config\/view.php":"24e00ccca17634d028fbbfdafd9e7461","config\/sanctum.php":"15b27b5d9faf0688c4126df711c31ab8","config\/sweetalert.php":"01944762a758907604703e2cd509df63","database\/seeders\/UsersTableSeeder.php":"649407798a71923fc0d6f1f7c525bc4b","database\/seeders\/MediaSeeder.php":"104b61d1ea2efc63d4490bff8d743a20","database\/seeders\/DatabaseSeeder.php":"0df8b26d09f92a0c36c1e22940e06e29","database\/seeders\/RolePermissionSeeder.php":"5501a9689ef2205ca6a1aaa57c826a61","database\/seeders\/LaravelSettingsSeeder.php":"767354555dbffb8bc047633e1455369a","database\/migrations\/2019_08_19_000000_create_failed_jobs_table.php":"ff1dec3002aef48fd12541da804d381c","database\/migrations\/2023_12_26_112615_create_permission_tables.php":"f9a9ba6226093899b2abb254e9ade963","database\/migrations\/2014_10_12_100000_create_password_reset_tokens_table.php":"caaaedd92aa0fab89375a5f94a1c613d","database\/migrations\/2023_01_09_185200_add_batch_uuid_column_to_activity_log_table.php":"c8d5a1fb0a006522a5a260aa16f4c3d9","database\/migrations\/2023_01_09_185158_create_activity_log_table.php":"09f8c11cccbbd2ae1807faca8d6555d3","database\/migrations\/2024_01_06_103601_create_media_table.php":"6f5b67112d824749aceb540716c8e773","database\/migrations\/2023_01_09_185159_add_event_column_to_activity_log_table.php":"32a5637958981bf1e519210a378f1ca1","database\/migrations\/2023_12_20_164709_create_notifications_table.php":"dcb8e3021ef665faea234b08f2949835","database\/migrations\/2014_10_12_000000_create_users_table.php":"64318a320d59a946285d048f73358857","database\/migrations\/2023_12_21_042243_create_settings_table.php":"156976b9baa848e2dbb3e10dabfa2a1a","database\/migrations\/2019_12_14_000001_create_personal_access_tokens_table.php":"ea623343a81f24b1fb95ebedae70335e","database\/migrations\/2023_06_07_000001_create_pulse_tables.php":"47fbc6e3dedf3d6916e75f4bf9e28339","database\/migrations\/2024_01_06_103701_create_mediables_table.php":"d00941752457a54d448966fc55dc9524","database\/factories\/MediaFactory.php":"e24f69472af5fb1d055028c7b9709125","database\/factories\/UserFactory.php":"148c41b76f91d1fb92d6539d5e18e6e7","resources\/views\/components\/page-title.blade.php":"b2fc49ba5784bc7796535cb82bb852d8","resources\/views\/components\/footer.blade.php":"44c8edaf2f6a9aa94f603de741991c4b","resources\/views\/components\/input-error.blade.php":"cfbf79c518c7e31cb39735b0547611a4","resources\/views\/components\/media\/centered-modal.blade.php":"fc779bc1ce3be55452ecfac754be85c8","resources\/views\/components\/media\/media-gallery.blade.php":"2b0865d2283f2cf2bd141f96d2fe2f28","resources\/views\/components\/media\/media.blade.php":"e8932e8336080f0fda214752f4de08d6","resources\/views\/components\/dropdown-link.blade.php":"59fb04917e39e492fdfdfcb23ecd52c7","resources\/views\/components\/Message.blade.php":"a995f343d5db7ad2afaeac0165d97653","resources\/views\/components\/scripts\/role.blade.php":"abf53cccd235929726b84a538278eaa6","resources\/views\/components\/profile.blade.php":"bf4a2239e78e5db3de9b190c18f2ff46","resources\/views\/components\/danger-button.blade.php":"752ca48364495e0fcfd842e66761967a","resources\/views\/components\/search-modal.blade.php":"186c28992002eed010f1bd10981baf76","resources\/views\/components\/secondary-button.blade.php":"b05d6fddb58d5e94b3ad9b520cba04d2","resources\/views\/components\/auth-session-status.blade.php":"66333bbc268c13c2cfffd33bb035bdd7","resources\/views\/components\/responsive-nav-link.blade.php":"7fc2aa7c5a7601ef8a523307b4a4fdd0","resources\/views\/components\/language-dropdown.blade.php":"e2dadc548203215d0498be2a5b4157a3","resources\/views\/components\/primary-button.blade.php":"e4e5a7ed96dd49840f582c91aa8d5434","resources\/views\/components\/modal.blade.php":"9e9d528aae49fa10e8caaeaee4c59d79","resources\/views\/components\/text-input.blade.php":"886c022deb41a5144eeaeddd49405c42","resources\/views\/components\/dropdown.blade.php":"577953c4a9105c5b14e0a8eab4bebcdc","resources\/views\/components\/search-toggle-bar.blade.php":"f9af4a100e5eb7221690c03abd5ed368","resources\/views\/components\/header.blade.php":"83b5823a4c5d26a822c2ca44fec67fed","resources\/views\/components\/language.blade.php":"2d71f448f68d351b1c3235b03298be8d","resources\/views\/components\/notification.blade.php":"9ad96c8baf6f30e2f8f0c0d0e164749c","resources\/views\/components\/sidebar-footer.blade.php":"65d13888cdfba9573d6960634f369eb7","resources\/views\/components\/sidebar.blade.php":"bf0ef66bbb111ba752c08e27a97c58b6","resources\/views\/components\/application-logo.blade.php":"29fa8169eff1d2bce892b48e00902f1a","resources\/views\/components\/admin-header.blade.php":"ffaa8c322bc8bd52d04e5ab2a593572d","resources\/views\/components\/dark-mode.blade.php":"3c3dfefddf6ab4f9c9d5e220d367ecd1","resources\/views\/components\/apps.blade.php":"3ea63ffb40c86e38e4994543ab1f6b9b","resources\/views\/components\/nav-link.blade.php":"c41e18df1546f357db859ad4f270032c","resources\/views\/components\/input-label.blade.php":"ca69dd99d594c253f5aaec3e953d66a9","resources\/views\/components\/header-menu.blade.php":"496b686e6687cd68746a9573f3468e55","resources\/views\/components\/icons\/report.blade.php":"22fee36e8722ebcaebcdc423883d8083","resources\/views\/components\/icons\/lock.blade.php":"1a0540b0edc6ada3bca690523070e1e6","resources\/views\/components\/icons\/user.blade.php":"8cbf63ca99ad1db3bc5ac6330edfe1ad","resources\/views\/components\/icons\/money.blade.php":"4bc8c76373056338b3f005c297b47d0d","resources\/views\/components\/icons\/global.blade.php":"9f5f39b5df71d678d6c92a754830f64b","resources\/views\/components\/icons\/category.blade.php":"5304d806172f609278520b7050125571","resources\/views\/components\/icons\/down-arrow.blade.php":"732f3725262c5e99ba87e3488df70e00","resources\/views\/components\/icons\/support.blade.php":"c90c59ddb256f1124450d70ceff650e4","resources\/views\/components\/icons\/order.blade.php":"7e5ded46c2b0ae5d08ba2596ac5d8e5b","resources\/views\/components\/icons\/sales.blade.php":"73202ad0a2609fef0a2ed4cc09f157eb","resources\/views\/components\/icons\/trash.blade.php":"8c668cb92fcc1cb32f6110b6efa2c591","resources\/views\/components\/icons\/edit.blade.php":"95a7c0ee9d85efd1da1ed37c348efc17","resources\/views\/components\/icons\/setting.blade.php":"31c6b44822938207903a158f6e733b4a","resources\/views\/components\/icons\/docs.blade.php":"cfc6ad3e9119ca6a7539663d644db087","resources\/views\/components\/icons\/doller.blade.php":"6a6b77c816f57c36f40501681f80e975","resources\/views\/components\/icons\/pages.blade.php":"d0a360ada8bcefaff3dc9c3853dd6b26","resources\/views\/components\/icons\/cart.blade.php":"66615ca02475383a47afc484b81de331","resources\/views\/components\/icons\/file-docs.blade.php":"456434e378358a9733a39ccf0b7c9109","resources\/views\/components\/icons\/client.blade.php":"17c70004991423ea7ca4b524250430af","resources\/views\/components\/icons\/media.blade.php":"ce44dc72261699f105b5495cc2fb5816","resources\/views\/components\/icons\/blog.blade.php":"b73605b7512bb169f48ddb9750a4f57e","resources\/views\/components\/icons\/eye.blade.php":"87f8beb664c0eec11a32fb5d2d717a6e","resources\/views\/components\/icons\/product.blade.php":"8ff9054caeb409322220ba31caf8b7e5","resources\/views\/components\/icons\/message.blade.php":"f47e3c04526ee224b0a457b20c844eea","resources\/views\/components\/icons\/component.blade.php":"2a182cc7b04de3a6376c9cc2ac90fdec","resources\/views\/components\/icons\/tags.blade.php":"e63d1518a4d3e4986d0a6f4b360c5913","resources\/views\/components\/icons\/bag.blade.php":"4d48211bbe30e2fe5c11f049803966a6","resources\/views\/components\/icons\/pie.blade.php":"a24099306f68f68669b9b1f2a8790587","resources\/views\/components\/icons\/invoice.blade.php":"c9cb7391de2565a1355f6830a599c09b","resources\/views\/components\/icons\/sheild.blade.php":"c59d3116abbcfb68d4a5d0e7a90967eb","resources\/views\/auth\/register.blade.php":"34233a1a38792435140da37db8c62ff6","resources\/views\/auth\/confirm-password.blade.php":"1c978f656cf9d89d6507f3842bea8231","resources\/views\/auth\/login.blade.php":"5264b2a87f256f6a6354ae65a99929fb","resources\/views\/auth\/forgot-password.blade.php":"f09f89bb3f98a8f9ffd32f625e9871a9","resources\/views\/auth\/verify-email.blade.php":"cfe5488caeee2c553538ec35fe62e42a","resources\/views\/auth\/reset-password.blade.php":"3efe393f241f1e9a8af491f99eacdedd","resources\/views\/welcome.blade.php":"a16016a36a1bfb469113c3f71b25b9f3","resources\/views\/layouts\/navigation.blade.php":"4d482bd12c1e393019231731f08208ff","resources\/views\/layouts\/guest.blade.php":"7b6c28df9c8a231c2e58ba8807105466","resources\/views\/layouts\/app.blade.php":"1f59ba4f2ab38443058defeb08236052","resources\/views\/layouts\/app2.blade.php":"c9b6e64a33a0af5d9afa56ae76fbaafe","resources\/views\/profile\/partials\/update-password-form.blade.php":"4c8949509ff9b02c32e9742a8404ae27","resources\/views\/profile\/partials\/delete-user-form.blade.php":"ea4e5ce957810ff106bce28f030c4c75","resources\/views\/profile\/partials\/update-profile-information-form.blade.php":"c69009c5472f80978b77db50a1cc9064","resources\/views\/profile\/edit.blade.php":"e344ecb873bf1bdbeeff73796fbe4855","resources\/views\/dashboard\/notification\/index.blade.php":"2081dfd303b0be407229f028a38e3261","resources\/views\/dashboard\/media\/index.blade.php":"006c151c65409f06e9d75dd925af9b22","resources\/views\/dashboard\/product\/edit.blade.php":"c36aa904d31a6a55e92c2bb70ea88678","resources\/views\/dashboard\/product\/index.blade.php":"d7e16fd7e10592cf3ae690870a66b7b1","resources\/views\/dashboard\/user\/index.blade.php":"5dbac956da56f38949eafa5ab2b19112","resources\/views\/dashboard\/order\/index.blade.php":"dfb713be0a789dd113a631894ea7e82b","resources\/views\/dashboard\/order\/show.blade.php":"d437d7857a9132fc7b4e174d1ab4ec93","resources\/views\/dashboard\/form\/form-layout.blade.php":"d4147c9d300bf1d92f75aa71d9207281","resources\/views\/dashboard\/form\/input-group.blade.php":"d7c2d22c52f7c3a41d3923ad15b7d9c3","resources\/views\/dashboard\/form\/datepicker.blade.php":"4079b28087ac256a5f07bde7b5bf9c1d","resources\/views\/dashboard\/form\/editor.blade.php":"4695fa6e403f57201fa88d2f6a7a0d40","resources\/views\/dashboard\/form\/radio.blade.php":"b58dfc7544d99bd9dbb72a20fa14b29f","resources\/views\/dashboard\/form\/checkbox.blade.php":"7473d7f99ff0e4a4e273d4bcefd6e08d","resources\/views\/dashboard\/form\/toggle.blade.php":"61cca008fa3e6516da2ac9e5d61e4451","resources\/views\/dashboard\/form\/select.blade.php":"3bd16834827c1a25cee4506fedc36d49","resources\/views\/dashboard\/form\/uploader.blade.php":"7bef50383e9ce19201a9e0fc97493117","resources\/views\/dashboard\/form\/input.blade.php":"66cb8fced24f1a99972c4267e982e914","resources\/views\/dashboard\/form\/textarea.blade.php":"04d418db17fea4123914d337bd42bb44","resources\/views\/dashboard\/form\/form-validation.blade.php":"74aef951079402fcfa7ecdfae20c2082","resources\/views\/dashboard\/ecommerce\/index.blade.php":"e578e3cf9df82d5f7cddf34916ac3f72","resources\/views\/dashboard\/calendar\/index.blade.php":"647c0779ad0ed887030a6186dfa78d18","resources\/views\/dashboard\/chat\/index.blade.php":"6b6535a174428a877c96f1476b84eca4","resources\/views\/dashboard\/customer\/index.blade.php":"a68816a0fed58fe464a2a407d2c81ae5","resources\/views\/dashboard\/miscellaneous\/starter.blade.php":"f6a1afbf00634b19454d879120c565d4","resources\/views\/dashboard\/miscellaneous\/maintenance.blade.php":"854cf29b86eb275f98e6d0b8c64d4bcf","resources\/views\/dashboard\/miscellaneous\/500.blade.php":"7cfbf73fd1b2777e773e8c3bb68bebc1","resources\/views\/dashboard\/miscellaneous\/403.blade.php":"43d9855a0225d4865b5dd85585a2b10c","resources\/views\/dashboard\/miscellaneous\/404.blade.php":"8c5f2ce78f5da3cd2b91ba22292ee8c8","resources\/views\/dashboard\/miscellaneous\/comming-soon.blade.php":"984b41bc9ec90a1229865c2f81306b53","resources\/views\/dashboard\/chart\/index.blade.php":"6f871706291f7f74fcb3f2cacaccfbf2","resources\/views\/dashboard\/table\/data.blade.php":"a05a4fbfffae68bb96e00becda3f3a0d","resources\/views\/dashboard\/table\/basic.blade.php":"28a65ab4cd009dafc17a8994ee8b6c0f","resources\/views\/dashboard\/common\/alert.blade.php":"f256f57f38deefad8b12a1f3d902ad4a","resources\/views\/dashboard\/common\/badge.blade.php":"4c67d0119767245bbc0ef104e2f60ebf","resources\/views\/dashboard\/common\/toast.blade.php":"fd09ab3aaa1d8e3e79e661b5581ea710","resources\/views\/dashboard\/common\/button.blade.php":"559ae50b02f34ea65ba6787236467fa8","resources\/views\/dashboard\/common\/accordion.blade.php":"702e3a2f04457271673a1551dee56cb7","resources\/views\/dashboard\/common\/spinner.blade.php":"6e59b83832223dc69a78655d64634ff2","resources\/views\/dashboard\/common\/skeleton.blade.php":"968fa6ac0760b3b306ca62d411e58a00","resources\/views\/dashboard\/common\/pagination.blade.php":"21c7f5ec35ebbf99a60110ad89bd0843","resources\/views\/dashboard\/common\/modal.blade.php":"fc447cf3a87b9099547fac2801c75d54","resources\/views\/dashboard\/common\/card.blade.php":"a95f9c83ef97fb5050ea94da34dbaa67","resources\/views\/dashboard\/common\/list-group.blade.php":"ce9b990078a326a8097cbe477d5f920b","resources\/views\/dashboard\/common\/dropdown.blade.php":"6414515f6e21bc0f31ec5bd8ad748088","resources\/views\/dashboard\/common\/carousel.blade.php":"7894358ecf88c0b9c366b7a26700ad30","resources\/views\/dashboard\/common\/tabs.blade.php":"b7bac26119e0e0d040afded09966e78c","resources\/views\/dashboard\/common\/avatar.blade.php":"276a17c9863e38ae3d3ee209491efc1a","resources\/views\/dashboard\/common\/tooltip.blade.php":"baff3e9664fbbd3d1085b003690c04ae","resources\/views\/dashboard\/common\/drawer.blade.php":"35bfffecf0c57f314484b2500d3b3f1b","resources\/views\/dashboard\/common\/progress-bar.blade.php":"6f66e912436e723ca2b14bf7c8d7bd72","resources\/views\/dashboard\/index.blade.php":"f55ecca7cb6d9de155451e2b0c156964","resources\/views\/dashboard\/roles\/view.blade.php":"1ce85ea93fe31268d7803d9f34074bf5","resources\/views\/dashboard\/roles\/edit.blade.php":"df00c15f6ff5b609a9f0b5bf13de60de","resources\/views\/dashboard\/roles\/index.blade.php":"e8c06953dc4695d996f3fed1163e6e05","resources\/views\/dashboard\/roles\/create.blade.php":"32194cfa7ed88aff5c538b7c8394b774","resources\/views\/dashboard\/invoice\/create.blade.php":"62dbfe407213fcceade78f8aa319d5b2","resources\/views\/dashboard\/invoice\/details.blade.php":"09ec9b0d614bd26e35c06cc7573ab06a","resources\/views\/dashboard\/typography\/index.blade.php":"0c4573141b0eb3a42972e7bc0859b1aa","resources\/views\/dashboard\/authentication\/register.blade.php":"1f128c4ba5700c608bd92a970bcae4e4","resources\/views\/dashboard\/authentication\/login.blade.php":"839a7cd53305f8090ea309a5af8cc9d9","resources\/views\/dashboard\/authentication\/recover-password.blade.php":"36b917727cda86cbcd8dde2389d4ccb1","resources\/views\/dashboard\/authentication\/reset-password.blade.php":"b83018dcadb8b011e503ae98651862bb","resources\/views\/dashboard\/email\/index.blade.php":"dd0155a8fce7f7f051370523efb26d2a","resources\/views\/dashboard\/icons\/index.blade.php":"ef7f88b88add9af17d116e9d2b26fe23","routes\/channels.php":"9df37803e0a46587c5555cbcf54c3378","routes\/web.php":"eb6fd612cd9617ff513fea20068df18c","routes\/api.php":"7d1e16006f1784f9fa9ed040d711d95a","routes\/console.php":"581322fa9c8ac82b9fec9a031a4efa8e","routes\/auth.php":"66ae3a01c38b32d498a5951ba0d5333a","routes\/admin.php":"59722bf63f4354d95dce8aade43253ef","tests\/CreatesApplication.php":"2940b3284d19aae1af6a5d2af9291bc4","tests\/Unit\/ExampleTest.php":"3f679e9508c834f0ad95943455fcd836","tests\/TestCase.php":"93519c98470fc8240aed892b40c5a9fc","tests\/Feature\/ExampleTest.php":"cde8eef0fa78c0b03b3509d63c558735","tests\/Feature\/Auth\/PasswordResetTest.php":"4029daf14f44a0ee26ff3f944f7b2271","tests\/Feature\/Auth\/PasswordConfirmationTest.php":"09d4aff025e225f393864cfad9401b1a","tests\/Feature\/Auth\/RegistrationTest.php":"b1b2680627cee7a52c745d7507da105b","tests\/Feature\/Auth\/EmailVerificationTest.php":"6451e51694b1c7af781361527ee47f07","tests\/Feature\/Auth\/PasswordUpdateTest.php":"c7a291e698a29708b8fcce882349b626","tests\/Feature\/Auth\/AuthenticationTest.php":"0000dbcfffa3a1086fb97fe8f73140ba","tests\/Feature\/ProfileTest.php":"c03c343fd63ccdf19035af87ee4eb843","resources\/views\/dashboard\/notification\/show.blade.php":"825993769a5709d10c50a9d4c1bd8efa","resources\/views\/dashboard\/roles\/show.blade.php":"1ce85ea93fe31268d7803d9f34074bf5"}} \ No newline at end of file +{"php":"8.3.2","version":"3.47.1","indent":" ","lineEnding":"\n","rules":{"array_syntax":{"syntax":"short"},"blank_line_after_namespace":true,"blank_line_after_opening_tag":true,"braces":{"allow_single_line_anonymous_class_with_empty_body":true,"position_after_anonymous_constructs":"next"},"cast_spaces":true,"concat_space":{"spacing":"none"},"declare_equal_normalize":true,"elseif":true,"encoding":true,"full_opening_tag":true,"fully_qualified_strict_types":true,"function_declaration":true,"function_typehint_space":true,"heredoc_to_nowdoc":true,"include":true,"increment_style":{"style":"post"},"indentation_type":true,"linebreak_after_opening_tag":true,"line_ending":true,"lowercase_cast":true,"lowercase_keywords":true,"lowercase_static_reference":true,"magic_method_casing":true,"magic_constant_casing":true,"method_argument_space":true,"native_function_casing":true,"no_alias_functions":true,"no_extra_blank_lines":{"tokens":["extra","throw","use","use_trait"]},"no_blank_lines_after_class_opening":true,"no_blank_lines_after_phpdoc":true,"no_closing_tag":true,"no_empty_phpdoc":true,"no_empty_statement":true,"no_leading_import_slash":true,"no_leading_namespace_whitespace":true,"no_mixed_echo_print":{"use":"echo"},"no_multiline_whitespace_around_double_arrow":true,"multiline_whitespace_before_semicolons":{"strategy":"no_multi_line"},"no_short_bool_cast":true,"no_singleline_whitespace_before_semicolons":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_comma_in_list_call":true,"no_trailing_comma_in_singleline_array":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"no_unreachable_default_argument_value":true,"no_useless_return":true,"no_whitespace_before_comma_in_array":true,"no_whitespace_in_blank_line":true,"normalize_index_brace":true,"not_operator_with_successor_space":true,"object_operator_without_whitespace":true,"phpdoc_indent":true,"phpdoc_no_access":true,"phpdoc_no_package":true,"phpdoc_no_useless_inheritdoc":true,"phpdoc_scalar":true,"phpdoc_single_line_var_spacing":true,"phpdoc_summary":true,"phpdoc_to_comment":true,"phpdoc_trim":true,"phpdoc_types":true,"phpdoc_var_without_name":true,"self_accessor":true,"short_scalar_cast":true,"single_blank_line_at_eof":true,"single_blank_line_before_namespace":true,"single_import_per_statement":true,"single_line_after_imports":true,"single_line_comment_style":{"comment_types":["hash"]},"single_quote":true,"space_after_semicolon":true,"standardize_not_equals":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"ternary_operator_spaces":true,"trim_array_spaces":true,"unary_operator_spaces":true,"whitespace_after_comma_in_array":true,"constant_case":{"case":"lower"},"general_phpdoc_tag_rename":true,"phpdoc_inline_tag_normalizer":true,"phpdoc_tag_type":true,"psr_autoloading":true,"trailing_comma_in_multiline":{"elements":["arrays"]},"binary_operator_spaces":{"default":"align","operators":{"=>":"align","=":"align"}},"blank_line_before_statement":{"statements":["return","if","for","foreach","while","do","switch","case","break","continue"]},"class_attributes_separation":{"elements":{"const":"one","method":"one","property":"one"}},"class_definition":{"multi_line_extends_each_single_line":true,"single_item_single_line":true,"single_line":true},"ordered_imports":{"sort_algorithm":"alpha"},"no_unneeded_control_parentheses":{"statements":["break","clone","continue","echo_print","return","switch_case","yield"]},"no_spaces_around_offset":{"positions":["inside","outside"]},"visibility_required":{"elements":["property","method","const"]}},"hashes":{"app\/Providers\/BroadcastServiceProvider.php":"2ec8fd9c95c859ab7299b84344e1e854","app\/Providers\/RouteServiceProvider.php":"c72927c73fb854178a327e3ae71e9ab2","app\/Providers\/AppServiceProvider.php":"f0be304225f93a7d228b4a81dac58f5d","app\/Providers\/AuthServiceProvider.php":"ecc824a5f9e748ece81b89284236412f","app\/Providers\/EventServiceProvider.php":"afa340e8a5db618a7d82e54c2b8334e4","app\/Providers\/HorizonServiceProvider.php":"d520f3a0ee90ec7c622bd4e9ee8c0b5b","app\/View\/Components\/Media\/Media.php":"bb2c8c05abb23e25cf1211cc360435b0","app\/View\/Components\/AppLayout.php":"b9778de9551cc2b9f166fe7e6629b9a5","app\/View\/Components\/GuestLayout.php":"aefcd0a8c6a6a8b4d88313ff2998fbb5","app\/Traits\/EnumToArray.php":"26f2b8ce429e7c7114cd0e730a70403b","app\/Models\/User.php":"b310544ef533939c2002cf71d06bafad","app\/Notifications\/ResetPasswordNotification.php":"0e3cc5095146f48d068623628f8782ab","app\/Notifications\/VerifyEmailQueued.php":"113ea218b3504f8c9c53f4fbdcaad88b","app\/Notifications\/NewUserNotification.php":"837edf2def1b5428fe26ec67d1fbe37a","app\/Http\/Requests\/ProfileUpdateRequest.php":"78bcc6089996a3ca8ef2319607fb762a","app\/Http\/Requests\/Role\/RoleStoreRequest.php":"99e5a6d10053fb32038ed585dc51a548","app\/Http\/Requests\/Role\/RoleUpdateRequest.php":"1df36836a40f5bbf69c2bc1ef3468466","app\/Http\/Requests\/Auth\/RegistrationRequest.php":"28eba25816fea8d4db85ad98d4c9fb19","app\/Http\/Requests\/Auth\/LoginRequest.php":"47aad8474e3cb4ea2fc6ab4d8cf406c7","app\/Http\/Middleware\/VerifyCsrfToken.php":"f940a35a715b792ecc6c36e1da1adbc1","app\/Http\/Middleware\/RedirectIfAuthenticated.php":"6f1e84f13732fd90870d4e54fc59be28","app\/Http\/Middleware\/TrustHosts.php":"fce96fbb877f69fdf32aec84f52c79ce","app\/Http\/Middleware\/PreventRequestsDuringMaintenance.php":"9bf727a4eeaabad8fde5110106356d60","app\/Http\/Middleware\/ValidateSignature.php":"77676d93770a50e14db60bb5e06a8c86","app\/Http\/Middleware\/TrustProxies.php":"0a40a3bcc49063aa45024721ff69e572","app\/Http\/Middleware\/EncryptCookies.php":"aa3be31badc36cd9d7a5ea08eef245e7","app\/Http\/Middleware\/Authenticate.php":"ce8076b44a6c8969f342b62c1173917e","app\/Http\/Middleware\/TrimStrings.php":"016f82bc302a0b8801eeb48edea87cdf","app\/Http\/Resources\/AddressResource.php":"bfa1b05f7c2c51903113065b0b5e639f","app\/Http\/Resources\/PermissionResource.php":"8df8c32db2b48e3de6d3d0dc9b5ea641","app\/Http\/Resources\/TestResource.php":"abb8da0e99a33aa307a5cb0fbbd1f2b7","app\/Http\/Resources\/UserResource.php":"5deec8be666b14a858e9da5d4fc65863","app\/Http\/Resources\/RoleResource.php":"771321ca9fc2f45c7febd0e4eba4005d","app\/Http\/Kernel.php":"163b8321e8d9a559bf9e05b7c6663ff1","app\/Http\/Controllers\/Controller.php":"c93e356d909152be9ccdf94a17e149b8","app\/Http\/Controllers\/Auth\/RegisteredUserController.php":"406c91ba10e686b2b2c0d2a1490b0c97","app\/Http\/Controllers\/Auth\/VerifyEmailController.php":"9f8de57a44e3151b0826416eb19fa28c","app\/Http\/Controllers\/Auth\/ConfirmablePasswordController.php":"bacb38c3aad8fd054eb07e1cc6abf654","app\/Http\/Controllers\/Auth\/PasswordController.php":"0672f6ef52b937f0b12199354a1eb622","app\/Http\/Controllers\/Auth\/NewPasswordController.php":"a9248e1a6b2f67bc5f4f1ca56373044a","app\/Http\/Controllers\/Auth\/AuthenticatedSessionController.php":"e6d792caffeea1ae6ef23b9867d5daf0","app\/Http\/Controllers\/Auth\/EmailVerificationNotificationController.php":"a1f3ddac46c4d78bce82c02050c5239e","app\/Http\/Controllers\/Auth\/EmailVerificationPromptController.php":"e86a9dacb03cf8a97225ef8f142a3c9e","app\/Http\/Controllers\/Auth\/PasswordResetLinkController.php":"20059c80810872dd8be60647393740ee","app\/Http\/Controllers\/Api\/V1\/AuthController.php":"5ccccfd2f6fb1c00e4060f32a5ec743f","app\/Http\/Controllers\/ProfileController.php":"2951d93e0803ea1aba041d8d7ed264c8","app\/Http\/Controllers\/Admin\/NotificationController.php":"867d98aaa33dbb159a4b20c34cbcbe75","app\/Http\/Controllers\/Admin\/RolesController.php":"5d0d9b57044187045999eec7b6092d25","app\/Http\/Controllers\/Admin\/UserController.php":"dc7030348d7ed7e6b5f6ca7c07d80162","app\/Http\/Controllers\/Admin\/DashboardController.php":"ad978b6a256cf396bf95e6ed8aae34c3","app\/Exceptions\/Handler.php":"ec37959b92a81287608ef379ee4910d4","app\/Console\/Kernel.php":"629bae965355b7b671526d539a082a64","app\/Enums\/UserGender.php":"aef9501ddb80cd0c50133213a2935df4","app\/Enums\/UserStatus.php":"44a150f31999ca925a45b04d31eb3f83","app\/Observers\/UserObserver.php":"f119f2d9d8bd70709c4c563c67f4bfc5","app\/Helpers\/CacheKey.php":"646e26d223fa1faa7173ab129ceacc02","app\/Helpers\/UniqueSlug.php":"4b22c2ae80f34302b0446245a78e78af","config\/media.php":"08c00b85370cd31cb025b2e65f6a2d67","config\/hashing.php":"0b12588776d51ff6155537da921703a8","config\/cache.php":"9c1f2b8ddc4e3885222815dafcb69ed8","config\/broadcasting.php":"a7a3fc65b26b2678cd1a648cfd0c060e","config\/database.php":"66b8eca260f50ce3354ca0e7efe8db5d","config\/permission.php":"a88f0bfffa73391725043ec1af29d193","config\/mail.php":"4eabe31375f7eefe52a0c1256e8bd587","config\/pulse.php":"538e7ad513c48555d17308c71952b877","config\/horizon.php":"42553ec79e084d884785d182d6b2046f","config\/cors.php":"7e46f4152490ce5bf22fe42d2b57a63a","config\/services.php":"32898baaef9bef2da646b2ec4edc2479","config\/queue.php":"7e3314dc5be5f171d7c237796fda45e9","config\/filesystems.php":"0dd6675c5944e42f65e05517741935e5","config\/logging.php":"f08ce95c6e37cb19a170b075d3e67cd6","config\/auth.php":"f48cb370e423856596e30ef7f4a6e18f","config\/app.php":"113d71f5065eb202458d5f4024ce9d6b","config\/session.php":"804a9a29ab22247b00b89c573778c7c6","config\/view.php":"24e00ccca17634d028fbbfdafd9e7461","config\/sanctum.php":"15b27b5d9faf0688c4126df711c31ab8","config\/sweetalert.php":"01944762a758907604703e2cd509df63","database\/seeders\/UsersTableSeeder.php":"649407798a71923fc0d6f1f7c525bc4b","database\/seeders\/MediaSeeder.php":"104b61d1ea2efc63d4490bff8d743a20","database\/seeders\/DatabaseSeeder.php":"0df8b26d09f92a0c36c1e22940e06e29","database\/seeders\/RolePermissionSeeder.php":"5501a9689ef2205ca6a1aaa57c826a61","database\/seeders\/LaravelSettingsSeeder.php":"767354555dbffb8bc047633e1455369a","database\/migrations\/2019_08_19_000000_create_failed_jobs_table.php":"ff1dec3002aef48fd12541da804d381c","database\/migrations\/2023_12_26_112615_create_permission_tables.php":"f9a9ba6226093899b2abb254e9ade963","database\/migrations\/2014_10_12_100000_create_password_reset_tokens_table.php":"caaaedd92aa0fab89375a5f94a1c613d","database\/migrations\/2023_01_09_185200_add_batch_uuid_column_to_activity_log_table.php":"c8d5a1fb0a006522a5a260aa16f4c3d9","database\/migrations\/2023_01_09_185158_create_activity_log_table.php":"09f8c11cccbbd2ae1807faca8d6555d3","database\/migrations\/2024_01_06_103601_create_media_table.php":"6f5b67112d824749aceb540716c8e773","database\/migrations\/2023_01_09_185159_add_event_column_to_activity_log_table.php":"32a5637958981bf1e519210a378f1ca1","database\/migrations\/2023_12_20_164709_create_notifications_table.php":"dcb8e3021ef665faea234b08f2949835","database\/migrations\/2014_10_12_000000_create_users_table.php":"64318a320d59a946285d048f73358857","database\/migrations\/2023_12_21_042243_create_settings_table.php":"156976b9baa848e2dbb3e10dabfa2a1a","database\/migrations\/2019_12_14_000001_create_personal_access_tokens_table.php":"ea623343a81f24b1fb95ebedae70335e","database\/migrations\/2023_06_07_000001_create_pulse_tables.php":"47fbc6e3dedf3d6916e75f4bf9e28339","database\/migrations\/2024_01_06_103701_create_mediables_table.php":"d00941752457a54d448966fc55dc9524","database\/factories\/MediaFactory.php":"e24f69472af5fb1d055028c7b9709125","database\/factories\/UserFactory.php":"148c41b76f91d1fb92d6539d5e18e6e7","resources\/views\/components\/page-title.blade.php":"b2fc49ba5784bc7796535cb82bb852d8","resources\/views\/components\/footer.blade.php":"44c8edaf2f6a9aa94f603de741991c4b","resources\/views\/components\/input-error.blade.php":"cfbf79c518c7e31cb39735b0547611a4","resources\/views\/components\/media\/centered-modal.blade.php":"fc779bc1ce3be55452ecfac754be85c8","resources\/views\/components\/media\/media-gallery.blade.php":"2b0865d2283f2cf2bd141f96d2fe2f28","resources\/views\/components\/media\/media.blade.php":"e8932e8336080f0fda214752f4de08d6","resources\/views\/components\/dropdown-link.blade.php":"59fb04917e39e492fdfdfcb23ecd52c7","resources\/views\/components\/Message.blade.php":"a995f343d5db7ad2afaeac0165d97653","resources\/views\/components\/scripts\/role.blade.php":"abf53cccd235929726b84a538278eaa6","resources\/views\/components\/profile.blade.php":"bf4a2239e78e5db3de9b190c18f2ff46","resources\/views\/components\/danger-button.blade.php":"752ca48364495e0fcfd842e66761967a","resources\/views\/components\/search-modal.blade.php":"186c28992002eed010f1bd10981baf76","resources\/views\/components\/secondary-button.blade.php":"b05d6fddb58d5e94b3ad9b520cba04d2","resources\/views\/components\/auth-session-status.blade.php":"66333bbc268c13c2cfffd33bb035bdd7","resources\/views\/components\/responsive-nav-link.blade.php":"7fc2aa7c5a7601ef8a523307b4a4fdd0","resources\/views\/components\/language-dropdown.blade.php":"e2dadc548203215d0498be2a5b4157a3","resources\/views\/components\/primary-button.blade.php":"e4e5a7ed96dd49840f582c91aa8d5434","resources\/views\/components\/modal.blade.php":"9e9d528aae49fa10e8caaeaee4c59d79","resources\/views\/components\/text-input.blade.php":"886c022deb41a5144eeaeddd49405c42","resources\/views\/components\/dropdown.blade.php":"577953c4a9105c5b14e0a8eab4bebcdc","resources\/views\/components\/search-toggle-bar.blade.php":"f9af4a100e5eb7221690c03abd5ed368","resources\/views\/components\/header.blade.php":"83b5823a4c5d26a822c2ca44fec67fed","resources\/views\/components\/language.blade.php":"2d71f448f68d351b1c3235b03298be8d","resources\/views\/components\/notification.blade.php":"ac103556efb38dfe354b8c009ccdf653","resources\/views\/components\/sidebar-footer.blade.php":"65d13888cdfba9573d6960634f369eb7","resources\/views\/components\/sidebar.blade.php":"bf0ef66bbb111ba752c08e27a97c58b6","resources\/views\/components\/application-logo.blade.php":"29fa8169eff1d2bce892b48e00902f1a","resources\/views\/components\/admin-header.blade.php":"ffaa8c322bc8bd52d04e5ab2a593572d","resources\/views\/components\/dark-mode.blade.php":"3c3dfefddf6ab4f9c9d5e220d367ecd1","resources\/views\/components\/apps.blade.php":"3ea63ffb40c86e38e4994543ab1f6b9b","resources\/views\/components\/nav-link.blade.php":"c41e18df1546f357db859ad4f270032c","resources\/views\/components\/input-label.blade.php":"ca69dd99d594c253f5aaec3e953d66a9","resources\/views\/components\/header-menu.blade.php":"496b686e6687cd68746a9573f3468e55","resources\/views\/components\/icons\/report.blade.php":"22fee36e8722ebcaebcdc423883d8083","resources\/views\/components\/icons\/lock.blade.php":"1a0540b0edc6ada3bca690523070e1e6","resources\/views\/components\/icons\/user.blade.php":"8cbf63ca99ad1db3bc5ac6330edfe1ad","resources\/views\/components\/icons\/money.blade.php":"4bc8c76373056338b3f005c297b47d0d","resources\/views\/components\/icons\/global.blade.php":"9f5f39b5df71d678d6c92a754830f64b","resources\/views\/components\/icons\/category.blade.php":"5304d806172f609278520b7050125571","resources\/views\/components\/icons\/down-arrow.blade.php":"732f3725262c5e99ba87e3488df70e00","resources\/views\/components\/icons\/support.blade.php":"c90c59ddb256f1124450d70ceff650e4","resources\/views\/components\/icons\/order.blade.php":"7e5ded46c2b0ae5d08ba2596ac5d8e5b","resources\/views\/components\/icons\/sales.blade.php":"73202ad0a2609fef0a2ed4cc09f157eb","resources\/views\/components\/icons\/trash.blade.php":"8c668cb92fcc1cb32f6110b6efa2c591","resources\/views\/components\/icons\/edit.blade.php":"95a7c0ee9d85efd1da1ed37c348efc17","resources\/views\/components\/icons\/setting.blade.php":"31c6b44822938207903a158f6e733b4a","resources\/views\/components\/icons\/docs.blade.php":"cfc6ad3e9119ca6a7539663d644db087","resources\/views\/components\/icons\/doller.blade.php":"6a6b77c816f57c36f40501681f80e975","resources\/views\/components\/icons\/pages.blade.php":"d0a360ada8bcefaff3dc9c3853dd6b26","resources\/views\/components\/icons\/cart.blade.php":"66615ca02475383a47afc484b81de331","resources\/views\/components\/icons\/file-docs.blade.php":"456434e378358a9733a39ccf0b7c9109","resources\/views\/components\/icons\/client.blade.php":"17c70004991423ea7ca4b524250430af","resources\/views\/components\/icons\/media.blade.php":"ce44dc72261699f105b5495cc2fb5816","resources\/views\/components\/icons\/blog.blade.php":"b73605b7512bb169f48ddb9750a4f57e","resources\/views\/components\/icons\/eye.blade.php":"87f8beb664c0eec11a32fb5d2d717a6e","resources\/views\/components\/icons\/product.blade.php":"8ff9054caeb409322220ba31caf8b7e5","resources\/views\/components\/icons\/message.blade.php":"f47e3c04526ee224b0a457b20c844eea","resources\/views\/components\/icons\/component.blade.php":"2a182cc7b04de3a6376c9cc2ac90fdec","resources\/views\/components\/icons\/tags.blade.php":"e63d1518a4d3e4986d0a6f4b360c5913","resources\/views\/components\/icons\/bag.blade.php":"4d48211bbe30e2fe5c11f049803966a6","resources\/views\/components\/icons\/pie.blade.php":"a24099306f68f68669b9b1f2a8790587","resources\/views\/components\/icons\/invoice.blade.php":"c9cb7391de2565a1355f6830a599c09b","resources\/views\/components\/icons\/sheild.blade.php":"c59d3116abbcfb68d4a5d0e7a90967eb","resources\/views\/auth\/register.blade.php":"34233a1a38792435140da37db8c62ff6","resources\/views\/auth\/confirm-password.blade.php":"1c978f656cf9d89d6507f3842bea8231","resources\/views\/auth\/login.blade.php":"5264b2a87f256f6a6354ae65a99929fb","resources\/views\/auth\/forgot-password.blade.php":"f09f89bb3f98a8f9ffd32f625e9871a9","resources\/views\/auth\/verify-email.blade.php":"cfe5488caeee2c553538ec35fe62e42a","resources\/views\/auth\/reset-password.blade.php":"3efe393f241f1e9a8af491f99eacdedd","resources\/views\/welcome.blade.php":"a16016a36a1bfb469113c3f71b25b9f3","resources\/views\/layouts\/navigation.blade.php":"4d482bd12c1e393019231731f08208ff","resources\/views\/layouts\/guest.blade.php":"7b6c28df9c8a231c2e58ba8807105466","resources\/views\/layouts\/app.blade.php":"1f59ba4f2ab38443058defeb08236052","resources\/views\/layouts\/app2.blade.php":"c9b6e64a33a0af5d9afa56ae76fbaafe","resources\/views\/profile\/partials\/update-password-form.blade.php":"4c8949509ff9b02c32e9742a8404ae27","resources\/views\/profile\/partials\/delete-user-form.blade.php":"ea4e5ce957810ff106bce28f030c4c75","resources\/views\/profile\/partials\/update-profile-information-form.blade.php":"c69009c5472f80978b77db50a1cc9064","resources\/views\/profile\/edit.blade.php":"e344ecb873bf1bdbeeff73796fbe4855","resources\/views\/dashboard\/notification\/index.blade.php":"2081dfd303b0be407229f028a38e3261","resources\/views\/dashboard\/notification\/show.blade.php":"825993769a5709d10c50a9d4c1bd8efa","resources\/views\/dashboard\/media\/index.blade.php":"006c151c65409f06e9d75dd925af9b22","resources\/views\/dashboard\/product\/edit.blade.php":"c36aa904d31a6a55e92c2bb70ea88678","resources\/views\/dashboard\/product\/index.blade.php":"d7e16fd7e10592cf3ae690870a66b7b1","resources\/views\/dashboard\/user\/index.blade.php":"5dbac956da56f38949eafa5ab2b19112","resources\/views\/dashboard\/order\/index.blade.php":"dfb713be0a789dd113a631894ea7e82b","resources\/views\/dashboard\/order\/show.blade.php":"d437d7857a9132fc7b4e174d1ab4ec93","resources\/views\/dashboard\/form\/form-layout.blade.php":"d4147c9d300bf1d92f75aa71d9207281","resources\/views\/dashboard\/form\/input-group.blade.php":"d7c2d22c52f7c3a41d3923ad15b7d9c3","resources\/views\/dashboard\/form\/datepicker.blade.php":"4079b28087ac256a5f07bde7b5bf9c1d","resources\/views\/dashboard\/form\/editor.blade.php":"4695fa6e403f57201fa88d2f6a7a0d40","resources\/views\/dashboard\/form\/radio.blade.php":"b58dfc7544d99bd9dbb72a20fa14b29f","resources\/views\/dashboard\/form\/checkbox.blade.php":"7473d7f99ff0e4a4e273d4bcefd6e08d","resources\/views\/dashboard\/form\/toggle.blade.php":"61cca008fa3e6516da2ac9e5d61e4451","resources\/views\/dashboard\/form\/select.blade.php":"3bd16834827c1a25cee4506fedc36d49","resources\/views\/dashboard\/form\/uploader.blade.php":"7bef50383e9ce19201a9e0fc97493117","resources\/views\/dashboard\/form\/input.blade.php":"66cb8fced24f1a99972c4267e982e914","resources\/views\/dashboard\/form\/textarea.blade.php":"04d418db17fea4123914d337bd42bb44","resources\/views\/dashboard\/form\/form-validation.blade.php":"74aef951079402fcfa7ecdfae20c2082","resources\/views\/dashboard\/ecommerce\/index.blade.php":"e578e3cf9df82d5f7cddf34916ac3f72","resources\/views\/dashboard\/calendar\/index.blade.php":"647c0779ad0ed887030a6186dfa78d18","resources\/views\/dashboard\/chat\/index.blade.php":"6b6535a174428a877c96f1476b84eca4","resources\/views\/dashboard\/customer\/index.blade.php":"a68816a0fed58fe464a2a407d2c81ae5","resources\/views\/dashboard\/miscellaneous\/starter.blade.php":"f6a1afbf00634b19454d879120c565d4","resources\/views\/dashboard\/miscellaneous\/maintenance.blade.php":"854cf29b86eb275f98e6d0b8c64d4bcf","resources\/views\/dashboard\/miscellaneous\/500.blade.php":"7cfbf73fd1b2777e773e8c3bb68bebc1","resources\/views\/dashboard\/miscellaneous\/403.blade.php":"43d9855a0225d4865b5dd85585a2b10c","resources\/views\/dashboard\/miscellaneous\/404.blade.php":"8c5f2ce78f5da3cd2b91ba22292ee8c8","resources\/views\/dashboard\/miscellaneous\/comming-soon.blade.php":"984b41bc9ec90a1229865c2f81306b53","resources\/views\/dashboard\/chart\/index.blade.php":"6f871706291f7f74fcb3f2cacaccfbf2","resources\/views\/dashboard\/table\/data.blade.php":"a05a4fbfffae68bb96e00becda3f3a0d","resources\/views\/dashboard\/table\/basic.blade.php":"28a65ab4cd009dafc17a8994ee8b6c0f","resources\/views\/dashboard\/common\/alert.blade.php":"f256f57f38deefad8b12a1f3d902ad4a","resources\/views\/dashboard\/common\/badge.blade.php":"4c67d0119767245bbc0ef104e2f60ebf","resources\/views\/dashboard\/common\/toast.blade.php":"fd09ab3aaa1d8e3e79e661b5581ea710","resources\/views\/dashboard\/common\/button.blade.php":"559ae50b02f34ea65ba6787236467fa8","resources\/views\/dashboard\/common\/accordion.blade.php":"702e3a2f04457271673a1551dee56cb7","resources\/views\/dashboard\/common\/spinner.blade.php":"6e59b83832223dc69a78655d64634ff2","resources\/views\/dashboard\/common\/skeleton.blade.php":"968fa6ac0760b3b306ca62d411e58a00","resources\/views\/dashboard\/common\/pagination.blade.php":"21c7f5ec35ebbf99a60110ad89bd0843","resources\/views\/dashboard\/common\/modal.blade.php":"fc447cf3a87b9099547fac2801c75d54","resources\/views\/dashboard\/common\/card.blade.php":"a95f9c83ef97fb5050ea94da34dbaa67","resources\/views\/dashboard\/common\/list-group.blade.php":"ce9b990078a326a8097cbe477d5f920b","resources\/views\/dashboard\/common\/dropdown.blade.php":"6414515f6e21bc0f31ec5bd8ad748088","resources\/views\/dashboard\/common\/carousel.blade.php":"7894358ecf88c0b9c366b7a26700ad30","resources\/views\/dashboard\/common\/tabs.blade.php":"b7bac26119e0e0d040afded09966e78c","resources\/views\/dashboard\/common\/avatar.blade.php":"276a17c9863e38ae3d3ee209491efc1a","resources\/views\/dashboard\/common\/tooltip.blade.php":"baff3e9664fbbd3d1085b003690c04ae","resources\/views\/dashboard\/common\/drawer.blade.php":"35bfffecf0c57f314484b2500d3b3f1b","resources\/views\/dashboard\/common\/progress-bar.blade.php":"6f66e912436e723ca2b14bf7c8d7bd72","resources\/views\/dashboard\/index.blade.php":"f55ecca7cb6d9de155451e2b0c156964","resources\/views\/dashboard\/roles\/edit.blade.php":"df00c15f6ff5b609a9f0b5bf13de60de","resources\/views\/dashboard\/roles\/index.blade.php":"e8c06953dc4695d996f3fed1163e6e05","resources\/views\/dashboard\/roles\/create.blade.php":"32194cfa7ed88aff5c538b7c8394b774","resources\/views\/dashboard\/roles\/show.blade.php":"1ce85ea93fe31268d7803d9f34074bf5","resources\/views\/dashboard\/invoice\/create.blade.php":"62dbfe407213fcceade78f8aa319d5b2","resources\/views\/dashboard\/invoice\/details.blade.php":"09ec9b0d614bd26e35c06cc7573ab06a","resources\/views\/dashboard\/typography\/index.blade.php":"0c4573141b0eb3a42972e7bc0859b1aa","resources\/views\/dashboard\/authentication\/register.blade.php":"1f128c4ba5700c608bd92a970bcae4e4","resources\/views\/dashboard\/authentication\/login.blade.php":"839a7cd53305f8090ea309a5af8cc9d9","resources\/views\/dashboard\/authentication\/recover-password.blade.php":"36b917727cda86cbcd8dde2389d4ccb1","resources\/views\/dashboard\/authentication\/reset-password.blade.php":"b83018dcadb8b011e503ae98651862bb","resources\/views\/dashboard\/email\/index.blade.php":"dd0155a8fce7f7f051370523efb26d2a","resources\/views\/dashboard\/icons\/index.blade.php":"ef7f88b88add9af17d116e9d2b26fe23","routes\/channels.php":"9df37803e0a46587c5555cbcf54c3378","routes\/web.php":"eb6fd612cd9617ff513fea20068df18c","routes\/api.php":"7d1e16006f1784f9fa9ed040d711d95a","routes\/console.php":"581322fa9c8ac82b9fec9a031a4efa8e","routes\/auth.php":"66ae3a01c38b32d498a5951ba0d5333a","routes\/admin.php":"59722bf63f4354d95dce8aade43253ef","tests\/CreatesApplication.php":"2940b3284d19aae1af6a5d2af9291bc4","tests\/Unit\/ExampleTest.php":"3f679e9508c834f0ad95943455fcd836","tests\/TestCase.php":"93519c98470fc8240aed892b40c5a9fc","tests\/Feature\/ExampleTest.php":"cde8eef0fa78c0b03b3509d63c558735","tests\/Feature\/Auth\/PasswordResetTest.php":"4029daf14f44a0ee26ff3f944f7b2271","tests\/Feature\/Auth\/PasswordConfirmationTest.php":"09d4aff025e225f393864cfad9401b1a","tests\/Feature\/Auth\/RegistrationTest.php":"b1b2680627cee7a52c745d7507da105b","tests\/Feature\/Auth\/EmailVerificationTest.php":"6451e51694b1c7af781361527ee47f07","tests\/Feature\/Auth\/PasswordUpdateTest.php":"c7a291e698a29708b8fcce882349b626","tests\/Feature\/Auth\/AuthenticationTest.php":"0000dbcfffa3a1086fb97fe8f73140ba","tests\/Feature\/ProfileTest.php":"c03c343fd63ccdf19035af87ee4eb843"}} \ No newline at end of file diff --git a/README.md b/README.md index bae6ede..ad1e44c 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,12 @@ Utilizing the [admintoolkit-html](https://github.com/mostafizurhimself/admintool 6. Run Jobs: + ``` + php artisan horizon + ``` + + or + ``` php artisan queue:work ``` diff --git a/app/Notifications/NewUserNotification.php b/app/Notifications/NewUserNotification.php index bf9e490..ed5f172 100644 --- a/app/Notifications/NewUserNotification.php +++ b/app/Notifications/NewUserNotification.php @@ -40,7 +40,7 @@ public function toDatabase($notifiable) { return [ 'user_id' => $this->user->id, - 'message' => 'Registered new user ( '.$this->user->name.' ).', + 'message' => 'Registered new user   '.$this->user->name.'', ]; } } diff --git a/app/Observers/UserObserver.php b/app/Observers/UserObserver.php index a6cd4cd..7db28b5 100644 --- a/app/Observers/UserObserver.php +++ b/app/Observers/UserObserver.php @@ -14,7 +14,11 @@ class UserObserver */ public function created(User $user): void { - Notification::send($user, new NewUserNotification($user)); + $admins = User::role(['superadmin', 'admin'])->get(); + + foreach ($admins as $admin) { + Notification::send($admin, new NewUserNotification($user)); + } $userRole = Role::query()->where('name', 'user'); diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 4e47403..6dea969 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -25,7 +25,7 @@ public function boot(): void LogViewer::auth(function ($request) { - return $request->user()->hasAdministrativeRole(); + return $request->user()?->hasAdministrativeRole(); }); } } diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php index 1554e7d..5ccc0b3 100644 --- a/app/Providers/AuthServiceProvider.php +++ b/app/Providers/AuthServiceProvider.php @@ -29,7 +29,7 @@ public function boot(): void Gate::define('CanManageMediaContent', function ($user) { - return $user->hasAdministrativeRole(); + return $user?->hasAdministrativeRole(); }); } } diff --git a/composer.json b/composer.json index 44f9296..a3f3c04 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "anisaronno/laravel-starter", "type": "project", - "version": "0.2.2", + "version": "0.2.3", "description": "A perfect laravel starter project for any kind of project.", "keywords": [ "laravel", diff --git a/resources/views/components/notification.blade.php b/resources/views/components/notification.blade.php index a19a8d8..3cf52db 100644 --- a/resources/views/components/notification.blade.php +++ b/resources/views/components/notification.blade.php @@ -23,27 +23,32 @@ class="text-xs font-medium text-slate-600 hover:text-primary-500 dark:text-slate
-
+ + @empty +
  • +

    There have no notifications

    +
  • + @endforelse @@ -56,3 +61,8 @@ class="flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-full bg- +