yousry943/easyadmin
Composer 安装命令:
composer create-project yousry943/easyadmin
包简介
EasyAdmin is a great admin to use multi authentication, multi language, multi email template.Don't create new admin panel when you start a new project just use it
README 文档
README
EasyAdmin is a great admin to use multi authentication,multi language,multi email template. Don't create new admin panel when you start a new project just use it.
Table of Contents
Installation
# clone the repo composer create-project yousry943/easyadmin # go into app's directory cd easyadmin # run database migration php artisan migrate #run database seed php artisan db:seed
Copy file ".env.example", and change its name to ".env". Then in file ".env" replace this database configuration:
- DB_CONNECTION=mysql
- DB_HOST=127.0.0.1
- DB_PORT=3306
- DB_DATABASE=laravel
- DB_USERNAME=root
- DB_PASSWORD=
Usage
# start local server
php artisan serve
Open your browser with address: http://localhost:8000/public/admin/login
Click "Login" on sidebar menu and log in with credentials:
This user has roles: super admin_
- E-mail: manager@manager.com
- Password: 123456
This user has roles: without any permation _
- E-mail: admin@admin.com
- Password: 123456
Open your browser with address: http://localhost:8000/public/login
Click "Login" on sidebar menu and log in with credentials:
- E-mail: user@user.com
- Password: 123456
For use email function
will find founction in this path :
-
app\Helpers\Helper.php For calling founction :
-
use Helper;
-
$data = array('blade-path' => 'email.EmailTemplate', 'to'=>$request->to, 'from'=>'info@domain.net', 'cc'=>$request->cc, 'subject'=>$request->subject, 'body'=>$request->body, );
-
Helper::sendmail($data);
Features
Role management
Allows you to create, edit, delete and reorder user roles.
Multi authentication
Admin have user and admin authentication.
Multi language
Admin allow you to create webiste have many languages.
Multi email template
Admin allow you to create mulity mail template and its have one helper function to call it from any controller
Support EasyAdmin Development
EasyAdmin is an open source project and completely free to use. You can support development by connecting to me on Gmail
统计信息
- 总下载量: 25
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-06-24