{"id":18704803,"url":"https://github.com/lancewan/iadmin","last_synced_at":"2025-04-12T10:06:38.603Z","repository":{"id":140421260,"uuid":"55573496","full_name":"lanceWan/IAdmin","owner":"lanceWan","description":"基于laravel5.2的后台管理系统","archived":false,"fork":false,"pushed_at":"2017-02-15T03:54:36.000Z","size":4771,"stargazers_count":55,"open_issues_count":1,"forks_count":19,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-12T10:02:38.242Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lanceWan.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2016-04-06T03:36:17.000Z","updated_at":"2021-07-12T09:12:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"475a7e88-2437-4d20-a8de-9e64bfe82b0c","html_url":"https://github.com/lanceWan/IAdmin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanceWan%2FIAdmin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanceWan%2FIAdmin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanceWan%2FIAdmin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanceWan%2FIAdmin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lanceWan","download_url":"https://codeload.github.com/lanceWan/IAdmin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248550634,"owners_count":21122933,"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":[],"created_at":"2024-11-07T12:08:21.837Z","updated_at":"2025-04-12T10:06:38.598Z","avatar_url":"https://github.com/lanceWan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iAdmin后台管理系统\n\n基于`Laravel5.2`的后台管理系统，实现最基本的后台框架：权限、角色、菜单、用户、日志功能，后台主题是用的[metronic主题](http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes)，本人代码完全开源，至于主题只供学习交流。如需商业应用请自行购买授权！\n\n![iadmin](http://cache.iwanli.me/iwanli/imageiadmin.png)\n\n## 安装\n\n\u003e 我习惯把缓存用 Redis 来存储，如果有朋友不想安装 Reids ，请将项目安装时 .env 文件中的 CACHE_DRIVER=file 默认配置即可。\n\n安装本项目跟普通安装一样\n\n1. 下载本项目,然后在项目根目录执行 `composer install`\n2. 包安装完成后,复制.env.example 文件为.env\n3. 执行 `php artisan key:generate`\n4. 迁移数据: `php artisan migrate`  And `php artisan db:seed`\n\nOK,项目已经配置完成，后台地址：example.com/admin，不清楚的可以直接去看 `routes.php` 文件。默认管理员账号：`admin@admin.com` , 密码：`123456` \n如果你是在Linux或Mac下配置的请注意相关目录的权限，这里我就不多说了，enjoy！\n\n## 验证码一直错误问题\n\n如果你的验证码包(mews/captcha)版本是`2.12`,但是登录后台的时候一直出现验证码错误，请在 `vendor\\mews\\captcha\\src\\CaptchaServiceProvider.php` 中添加一下代码：\n\n```php\n// HTTP routing\nif (strpos($this-\u003eapp-\u003eversion(), 'Lumen') !== false) {\n    //Laravel Lumen\n    $this-\u003eapp-\u003eget('captcha[/{config}]', 'Mews\\Captcha\\LumenCaptchaController@getCaptcha');\n} else if (starts_with($this-\u003eapp-\u003eversion(), '5.2.') !== false) {\n    //Laravel 5.2.x\n    $this-\u003eapp['router']-\u003eget('captcha/{config?}', '\\Mews\\Captcha\\CaptchaController@getCaptcha')-\u003emiddleware('web');\n} else {\n    //Laravel 5.0.x ~ 5.1.x\n    $this-\u003eapp['router']-\u003eget('captcha/{config?}', '\\Mews\\Captcha\\CaptchaController@getCaptcha');\n}\n```\n\n将文件中对应的代码替换掉就可以正常登录了，github上的代码已经是修复了这个Laravel5.2的bug，但是用composer下载的时候代码却没有更新，所以只好现在手动加上去了，等作者更新一个版本后估计就没有这个问题了。\n\n如有什么错误的地方，请指点，非常感谢！也可以直接联系我：709344897@qq.com 。基于这个后台的博客项目：[i晚黎](http://www.iwanli.me)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flancewan%2Fiadmin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flancewan%2Fiadmin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flancewan%2Fiadmin/lists"}