{"id":36573519,"url":"https://github.com/42coders/the-laravel-admin-panel","last_synced_at":"2026-01-12T07:21:05.837Z","repository":{"id":46319445,"uuid":"408386554","full_name":"42coders/the-laravel-admin-panel","owner":"42coders","description":"A Laravel admin panel which is creating CRUD for your application automatically.","archived":false,"fork":false,"pushed_at":"2022-11-09T12:30:10.000Z","size":3246,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-15T11:32:31.871Z","etag":null,"topics":["admin-dashboard","admin-panel","hacktoberfest","laravel","laravel-package","php"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/42coders.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-20T09:42:56.000Z","updated_at":"2023-03-28T20:52:51.000Z","dependencies_parsed_at":"2023-01-21T18:03:14.227Z","dependency_job_id":null,"html_url":"https://github.com/42coders/the-laravel-admin-panel","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/42coders/the-laravel-admin-panel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42coders%2Fthe-laravel-admin-panel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42coders%2Fthe-laravel-admin-panel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42coders%2Fthe-laravel-admin-panel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42coders%2Fthe-laravel-admin-panel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/42coders","download_url":"https://codeload.github.com/42coders/the-laravel-admin-panel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42coders%2Fthe-laravel-admin-panel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28336500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-dashboard","admin-panel","hacktoberfest","laravel","laravel-package","php"],"created_at":"2026-01-12T07:21:05.120Z","updated_at":"2026-01-12T07:21:05.833Z","avatar_url":"https://github.com/42coders.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Adds a zero configuration Admin Panel to your Laravel Application\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/the42coders/the-laravel-admin-panel.svg?style=flat-square)](https://packagist.org/packages/the42coders/the-laravel-admin-panel)\n[![Build Status](https://img.shields.io/travis/the42coders/the-laravel-admin-panel/master.svg?style=flat-square)](https://travis-ci.org/the42coders/the-laravel-admin-panel)\n[![Quality Score](https://img.shields.io/scrutinizer/g/the42coders/the-laravel-admin-panel.svg?style=flat-square)](https://scrutinizer-ci.com/g/the42coders/the-laravel-admin-panel)\n[![Total Downloads](https://img.shields.io/packagist/dt/the42coders/the-laravel-admin-panel.svg?style=flat-square)](https://packagist.org/packages/the42coders/the-laravel-admin-panel)\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require the42coders/the-laravel-admin-panel\n```\n\nYou need to register the routes to your web.php routes File as well. Since the-laravel-admin-panel Package is very powerful make sure to secure the routes with whatever authentication you use in the rest of your app.\n\n```php\nRoute::group(['middleware' =\u003e ['auth']], function () {\n    \\the42coders\\TLAP\\TLAP::routes();\n});\n```\n\nYou need to publish the assets of the Package\n\n```bash\nphp artisan vendor:publish --provider=\"the42coders\\TLAP\\TLAPServiceProvider\"  --tag=assets  \n```\n\nOther publishable Contents are\n\nconfig\n\n```bash\nphp artisan vendor:publish --provider=\"the42coders\\TLAP\\TLAPServiceProvider\"  --tag=config  \n```\n\nlanguage\n\n```bash\nphp artisan vendor:publish --provider=\"the42coders\\TLAP\\TLAPServiceProvider\"  --tag=lang  \n```\n\nviews\n\n```bash\nphp artisan vendor:publish --provider=\"the42coders\\TLAP\\TLAPServiceProvider\"  --tag=views  \n```\n\n\n## Usage\n\nTo generate the CRUD for a Model just add the TLAPAdminTrait to your Model.\n\n``` php\nuse the42coders\\TLAP\\Traits\\TLAPAdminTrait;\n\nclass User extends Model\n{\n    use TLAPAdminTrait;\n```\n\nand register it in the config tlap.php.\n\n``` php\n'models' =\u003e [\n    'users' =\u003e 'App\\Models\\User',\n]\n```\n\nNow you can just visit the url of https://your-website.de/admin.\nYou can change the url under which the admin panel will be accessible \nin the tlap.php config file with the path variable.\n\nThis package autoload your relations if you use return types on them.\n\n``` php\npublic function posts(): HasMany\n{\n    return $this-\u003ehasMany('App\\Models\\Post');\n}\n```\n\nThe package is guessing your application by its Database structure. \nIncluding validation. But you can overwrite this guessing by your own wishes.\n\nYou only need to add the static function fields to your Model and set the \n$fields array with your Field definitions. This is the area which might change\na little before the final release.\n\n``` php\npublic static function fields()\n{\n    self::$fields = [\n        new TextField('name', 'Name'),\n        new TextField('slug', 'Slug'),\n        new TextField('description', 'Description', false),\n        new TextField('menu', 'Menu'),\n        new TextField('image', 'Image'),\n        new TextField('parent_id', 'Parent ID'),\n    ];\n\n    return self::$fields;\n}\n```\n\nBy now we have the following Fields out of the box. \n\nField | Description\n---- | -----------\nCheckbox | Default bs5 Checkbox\nFile | Default bs5 Filepicker\nSelect | Default bs5 Select field\nText | Default bs5 text input field\nTextField | Default bs5 Textarea.\n\nIn the future it will be possible to add your own Fields as well.\n\n### Testing\n\n``` bash\ncomposer test\n```\n\n### Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n### Security\n\nIf you discover any security related issues, please email max@42coders.com instead of using the issue tracker.\n\n## Credits\n\n- [Max Hutschenreiter](https://github.com/max-hutschenreiter)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n## Laravel Package Boilerplate\n\nThis package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F42coders%2Fthe-laravel-admin-panel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F42coders%2Fthe-laravel-admin-panel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F42coders%2Fthe-laravel-admin-panel/lists"}