{"id":29187957,"url":"https://github.com/jjanampa/laravel-admin","last_synced_at":"2025-08-01T18:10:10.610Z","repository":{"id":56999530,"uuid":"326518341","full_name":"jjanampa/laravel-admin","owner":"jjanampa","description":"Laravel admin dashboard","archived":false,"fork":false,"pushed_at":"2021-07-15T05:16:02.000Z","size":12851,"stargazers_count":23,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-07-01T22:07:48.257Z","etag":null,"topics":["admin","admin-dashboard","bootstrap4","laravel","laravel-modules","material-dashboard","php"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/jjanampa/laravel-admin","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jjanampa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-03T23:06:56.000Z","updated_at":"2024-07-31T05:00:21.000Z","dependencies_parsed_at":"2022-08-21T13:50:50.277Z","dependency_job_id":null,"html_url":"https://github.com/jjanampa/laravel-admin","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/jjanampa/laravel-admin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjanampa%2Flaravel-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjanampa%2Flaravel-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjanampa%2Flaravel-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjanampa%2Flaravel-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jjanampa","download_url":"https://codeload.github.com/jjanampa/laravel-admin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjanampa%2Flaravel-admin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268272952,"owners_count":24223790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admin","admin-dashboard","bootstrap4","laravel","laravel-modules","material-dashboard","php"],"created_at":"2025-07-01T22:07:45.105Z","updated_at":"2025-08-01T18:10:10.493Z","avatar_url":"https://github.com/jjanampa.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# laravel-admin\nLaravel Admin is a drop-in admin panel package for Laravel which promotes rapid scaffolding \u0026 development, uses [Material Dashboard](https://www.creative-tim.com/product/material-dashboard-laravel)\n* The project is based on the [Laravel Admin Panel](https://github.com/appzcoder/laravel-admin) and [Material Dashboard Laravel](https://github.com/creativetimofficial/material-dashboard-laravel).\n* This package has a modular approach, for which it uses the Laravel module, see the documentation for more information on this approach: https://github.com/nWidart/laravel-modules\n* Installing this package will publish the `Admin` module in the `Modules` folder at the root of your project.\n  \n\n  ![Dashboard](https://user-images.githubusercontent.com/1957176/103500880-7e4ca300-4e1a-11eb-9ac6-77e052d71033.png)\n### Requirements\n    Laravel \u003e=7\n    PHP \u003e= 7.0\n\n### Features:\n1. Admin User, Role \u0026 Permission Manager:\n2. Activity Log:\n3. Page CRUD:\n4. Settings:\n5. Login, Forgot Password\n6. Profile\n\n#### Packages used:\n- [Laravel-Modules](https://github.com/nWidart/laravel-modules)\n- [Laravel UI](https://github.com/laravel/ui)\n- [laravelCollective HTML](https://github.com/LaravelCollective/html)\n- [Laravel-activitylog](https://github.com/spatie/laravel-activitylog)\n\n#### Assets used:\n- [Bootstrap 4](https://getbootstrap.com)\n- [Material Dashboard](https://github.com/creativetimofficial/material-dashboard)\n--------\n## Installation\nAfter initializing instance of Laravel\n1. Autoloading: By default, module classes are not loaded automatically. You can autoload your modules using `psr-4`, add `\"Modules\\\\\": \"Modules/\"` in\n   **composer.json**.\n   ``` json\n   {\n     \"autoload\": {\n       \"psr-4\": {\n         \"App\\\\\": \"app/\",\n         \"Modules\\\\\": \"Modules/\",\n       }\n     }\n   }\n   ```\n\n   **Tip: don't forget to run `composer dump-autoload` afterwards.**\n2. Run\n    ```\n    composer require jjanampa/laravel-admin\n    ```\n\n3. Install the admin package.\n    ```\n    php artisan laravel-admin:install\n    ```\n   \u003e Service provider will be discovered automatically.\n   \n   \u003e execute `php artisan laravel-admin:install --force` to force the installation, this process recreate the `Admin` module, removes and recreates the following tables:\n   `admin_users, admin_roles, admin_permissions, admin_permission_role, admin_role_user, pages, settings`\n   \n### Logging In\n\nVisit `(APP_URL)/admin` to access the admin panel.\n\nThe default admin login is:\n\n    Email Address: admin@admin.com\n    Password: secret\n\n## Usage\n\n1. Create some permissions.\n\n2. Create some roles.\n\n3. Assign permission(s) to role.\n\n4. Create user(s) with role.\n\n5. For checking authenticated user's role see below:\n\n    ```php\n    // Check role anywhere\n    if (auth('admin')-\u003euser()-\u003ehasRole('editor')) {\n        // Do admin stuff here\n    } else {\n        // Do nothing\n    }\n\n    // Check role in route middleware\n   Route::resource('pages', 'Dashboard\\PagesController')-\u003emiddleware('role:editor');\n    ```\n\n6. For checking permissions see below:\n\n    ```php\n    if (auth('admin')-\u003euser()-\u003ecan('permission-name')) {\n        // Do something\n    }\n    ```\n\nLearn more about ACL from [here](https://laravel.com/docs/master/authorization)\n\nFor activity log please read `spatie/laravel-activitylog` [docs](https://docs.spatie.be/laravel-activitylog/v2/introduction)\n## Screenshots\n| Admin Users | Admin Roles | Admin Permissions |\n| --- | --- | ---  |\n| ![Admin Users](https://user-images.githubusercontent.com/1957176/103501360-f36ca800-4e1b-11eb-91b3-ea9995aa9759.png)  | ![Admin Roles](https://user-images.githubusercontent.com/1957176/103501366-f4053e80-4e1b-11eb-9e7b-e9ccdea6ebf1.png)  | ![Admin Permissions](https://user-images.githubusercontent.com/1957176/103501367-f49dd500-4e1b-11eb-8025-302af1fb1709.png)\n| Pages | Activity Log | Settings |\n| ![Pages](https://user-images.githubusercontent.com/1957176/103501368-f49dd500-4e1b-11eb-93fd-d0189b1c56e3.png)  | ![Activity Log](https://user-images.githubusercontent.com/1957176/103501370-f5366b80-4e1b-11eb-9326-9f6d66e23531.png) | ![Settings](https://user-images.githubusercontent.com/1957176/103501371-f5366b80-4e1b-11eb-8238-15db7a9ec133.png)\n| Profile | Login| Forgot Password |\n| ![Profile](https://user-images.githubusercontent.com/1957176/103501372-f5cf0200-4e1b-11eb-8f33-ee9f7975e42e.png)  | ![Login](https://user-images.githubusercontent.com/1957176/103501373-f6679880-4e1b-11eb-89ca-b12f36ed4ea4.png) | ![Forgot Password](https://user-images.githubusercontent.com/1957176/103501374-f7002f00-4e1b-11eb-89e4-2cbd572bfa53.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjjanampa%2Flaravel-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjjanampa%2Flaravel-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjjanampa%2Flaravel-admin/lists"}