takshak/adash-exam
最新稳定版本:2.6.10
Composer 安装命令:
composer require takshak/adash-exam
包简介
exam extension for adash admin panel
README 文档
README
An extension for exam panel for takshak/adash admin panel package. You will have exam paper management setup the questions for users who will attempt the exam.
Install package via composer:
composer required takshak/adash-exam
Migrate the tables:
php artisan migrate
To get dummy data seeded, publish the seeders and run them individually:
php artisan vendor:publish --tag=adash-exam-seeds
Run seeders:
php artisan db:seed --class=QuestionGroupSeeder
php artisan db:seed --class=QuestionSeeder
php artisan db:seed --class=PaperSeeder
Add routes to sidebar in admin (components/admin/sidebar.php)
<x-exam-exam:admin-sidebar-links />
To customize views publish views and you will get exam layout in layouts folder, components and admin pages will be in components/exam and admin/exam respectively.
php artisan vendor:publish --provider="Takshak\Exam\ExamServiceProvider"
Additionally you can publish just required assets.
-
Publish Seeders:
php artisan vendor:publish --tag="adash-exam-seeds". You will get the seeders in seeders folder. -
Publish Routes:
php artisan vendor:publish --tag="adash-exam-routes". You will get a file named exam.php in routes folder. -
Publish Views:
php artisan vendor:publish --tag="adash-exam-views". You will get the views in exam folder in components and in admin folder.
统计信息
- 总下载量: 114
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-13