{"id":13660340,"url":"https://github.com/kossa/laradminator","last_synced_at":"2026-01-29T10:04:32.330Z","repository":{"id":37587551,"uuid":"115753463","full_name":"kossa/laradminator","owner":"kossa","description":"Integration of Adminator into Laravel 6.x/7.x/8.x with RTL support","archived":false,"fork":false,"pushed_at":"2023-03-15T05:29:47.000Z","size":41152,"stargazers_count":227,"open_issues_count":6,"forks_count":73,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-11-10T14:42:20.502Z","etag":null,"topics":["admin","adminator","css","dashboard","es6","html5","laravel","laravel-mix","php","sass"],"latest_commit_sha":null,"homepage":"https://laradminator.kossa.one/admin","language":"PHP","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/kossa.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-12-29T20:55:49.000Z","updated_at":"2024-07-22T14:14:23.000Z","dependencies_parsed_at":"2024-04-09T18:55:19.281Z","dependency_job_id":"6a94e1e8-b11a-433e-bbe5-4eed7671f4c1","html_url":"https://github.com/kossa/laradminator","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kossa%2Flaradminator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kossa%2Flaradminator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kossa%2Flaradminator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kossa%2Flaradminator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kossa","download_url":"https://codeload.github.com/kossa/laradminator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250693480,"owners_count":21472268,"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","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","adminator","css","dashboard","es6","html5","laravel","laravel-mix","php","sass"],"created_at":"2024-08-02T05:01:20.324Z","updated_at":"2026-01-29T10:04:32.289Z","avatar_url":"https://github.com/kossa.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"\n\n\n\n\n# Laradminator\n\n**_[Laravel](https://laravel.com/) PHP Framework with [Adminator](https://github.com/puikinsh/Adminator-admin-dashboard)_** as admin dash\n\n## Setup:\n\nAll you need is to run these commands:\n\n```bash\n\ngit clone https://github.com/kossa/laradminator.git\n\ncd laradminator\n\ncomposer install # Install backend dependencies\n\nsudo chmod 777 storage/ -R # Chmod Storage\n\nphp artisan storage:link # Enable link to storage\n\ncp .env.example .env # Update database credentials configuration\n\nphp artisan key:generate # Generate new keys for Laravel\n\nphp artisan migrate:fresh --seed # Run migration and seed users and categories for testing\n\nyarn install # or npm i to Install node dependencies(\u003e= node 9.x)\n\nnpm run production # To compile assets for prod\n\n```\n\n## Demo:\n\n- Online demo: Can be found at [laradminator.kossa.one/admin](http://laradminator.kossa.one/admin)\n\n- Local demo: `php artisan serve # Check installation (optional)`\nOpen browser at [localhost:8000/admin](http://localhost:8000/admin)\n\n**Note:**\nUsername: test@example.com\nPassword: 123456\n\n\u003e All the data are reset each 30mn ;)\n\u003e  **please d'ont forget to remove [this](https://github.com/kossa/laradminator/blob/master/app/Console/Kernel.php#L27-L28) function in your app**\n\n***\n## Included Packages:\n\n#### Laravel (php):\n\n*  [Laravel Framework](https://github.com/laravel/laravel/) (9.x)\n*  [Forms \u0026 HTML](https://github.com/laravelcollective/html) : for forms\n*  [Laravel Debugbar](https://github.com/barryvdh/laravel-debugbar) : for debugging\n*  [Intervention Image](https://github.com/intervention/image) : image handling and manipulation\n\n#### JS plugins:\n\n* All ADMINATOR plugins [here](https://github.com/puikinsh/Adminator-admin-dashboard#built-with)\n*  [sweetalert2](https://github.com/limonte/sweetalert2)\n*  [Axios](https://github.com/mzabriskie/axios)\n*  [Select2](https://github.com/select2/select2)\n\n## Page size optimization:\n\n- Using [Laravel Mix](http://laravel.com/docs/master/mix), all CSS and JS are in minified to one file each.\n- Laradminator leverages browser caching, using `.htaccess` file from [html5-boilerplate](https://github.com/h5bp/html5-boilerplate)\n- GZip compression is activated by default(APP_DEBUG=false =\u003e only onfile for js, and one file for css).\n-  `app.css`: 107 KB with gzip (943 Kb without)\n-  `app.js` : 427 KB with gzip (1.4 Mb without)\n\n*__Note:__ If you're using Nginx check: [server-configs-nginx](https://github.com/h5bp/server-configs-nginx)*\n\n![alt text](https://camo.githubusercontent.com/9007a90167110995d81eec851719e7e435dc0201/68747470733a2f2f636f6e74656e742e73637265656e636173742e636f6d2f75736572732f6b6f757963656c612f666f6c646572732f4a696e672f6d656469612f63326366393964322d356138322d343064382d613138662d3566386466616161666161362f30303030303539362e706e67  \"Logo Title Text 1\")\n\n\n### RTL support\n\nUncomment [this](https://github.com/kossa/laradminator/blob/master/resources/views/layouts/partials/head.blade.php#L12) line and you have the RTL version\n\n![alt text](https://content.screencast.com/users/kouycela/folders/Jing/media/0d4f930b-9605-4c9e-9847-e9278235481c/00001832.png  \"Logo Title Text 1\")\n\n\n#### How can I use custom CSS and JS ?\n\nThe current architecture of assets are inspired from [adminator](https://github.com/puikinsh/Adminator-admin-dashboard/tree/master/src/assets/scripts), so all assets(css and js) are located in [resources](https://github.com/kossa/laradminator/tree/master/resources). if you want to add new component, like [select2](https://select2.org/) juste create file like [`resources/js/select2/index.js`](https://github.com/kossa/laradminator/blob/master/resources/js/select2/index.js), and don't forget to load it in [bootstrap.js](https://github.com/kossa/laradminator/blob/master/resources/js/bootstrap.js#L54)\n\n\nIf you want to update the CSS, you can put them directly in [`resources/sass/app.scss`](https://github.com/kossa/laradminator/blob/master/resources/sass/app.scss#L72) or create new file under `resources/sass` and import it in [resources/sass/app.scss](https://github.com/kossa/laradminator/blob/master/resources/sass/app.scss#L5)\n\n\u003e VERY IMPORTANT: Any change you make on resources you have to run : `npm run dev` or `npm run prod`.\n\n\u003e If you have a lot of changes it's much better to run: `npm run watch` to watch any changes on your files, take a look on [browersync](https://laravel.com/docs/master/mix#browsersync-reloading)\n\n#### Create new CRUD\n\nCreating CRUD in your application is the job you do most. Let's create Post CRUD:\n\n* Add new migration and model : `php artisan make:model Post -m`\n\n* Open migration file and add your columns\n\n* Create PostsController : `php artisan make:controller PostController`. fill your resource (you can use UserController with some changes) or, if you are a lazy developer like me, use a [snippet](https://github.com/kossa/st-snippets/blob/master/kossa_php/Laravel/lcontroller.sublime-snippet) and make only 2 changes\n\n\n* Duplicate `resource/views/admin/users` folder to `posts`, make changes in `index.php`, `create.blade.php`, `edit.blade.php`\n\n#### Move Image and file ?\n\nTo move images im using a [helper](https://github.com/kossa/laradminator/blob/master/app/Http/helpers.php#L4) function based on [intervention/image](https://github.com/intervention/image) and [variables.php](https://github.com/kossa/laradminator/blob/master/config/variables.php#L20)\n\nyou can check full example in [User.php](https://github.com/kossa/laradminator/blob/master/app/User.php#L70)\n\n#### Do you have question ?\n\nNot hesitate, [open](https://github.com/kossa/laradminator/issues/new) new issue ;)\n\n\n## License\n\nLaradminator is licensed under The MIT License (MIT). Which means that you can use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the final products.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkossa%2Flaradminator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkossa%2Flaradminator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkossa%2Flaradminator/lists"}