This program uses QuizResults by ISpringSolution.
This project provides an intuitive platform for students and instructors to keep track of schedules, assessments, and exam results. It is designed for both students and instructors, ensuring ease of use and accessibility. With this approach, you may extend your own tracking system on your server.
Yii2 Quiz iSpring enhances LMS capabilities, specifically focusing on integrating iSpring QuizMaker, a robust tool designed to create interactive quizzes and assessments. iSpring QuizMaker is widely used for creating various types of quizzes (e.g., multiple-choice, drag-and-drop, true/false). By incorporating Yii2 Quiz iSpring, the platform provides advanced visual analytics that can help instructors and students visualize learning trends and target areas for improvement.
- Nanta Es (programmer) – ombakrinai@gmail.com
- Saroel (contributor, QC) – syahrul.hamdi@smanmba.sch.id
See the Screenshots Folder
- A copy of iSpring QuizMaker
- XAMPP 8.x.x
- Composer v2.x.x
- (Optional) Server-side application programming skills (PHP, SQL, Javascript)
Follow these steps to set up the project on your local environment:
-
Clone or Create Project
composer create-project esnanta/yii2-quiz-ispring
-
Initialize Environment
php init
Select either
developmentorproduction. -
Install Dependencies Choose based on your environment.
- For development:
composer update
- For production:
composer update --no-dev
- For development:
-
Database Configuration
- Configure your database connection according to your database credentials
or environment-specific:
common/config/main.phpcommon/config/main-local.php
- Configure your database connection according to your database credentials
-
Create Database
- Create a MySQL database
php yii db/create
- Run Migrations. This will create all required tables and apply initial schema.
php yii migrate
- Create a MySQL database
-
Run the Application
- For the backend:
Open in browser:
http://localhost/yii2-quiz-ispring/admin/ - For the frontend:
Open in browser:
http://localhost/yii2-quiz-ispring
- For the backend:
Open in browser:
-
Admin
- User : admin
- Pass : admin123
-
For full installation steps, see this Step-by-Step Guide
assets
sql/ sql for database
backend
assets/ contains application assets such as JavaScript and CSS
config/ contains backend configurations
controllers/ contains Web controller classes
models/ contains backend-specific model classes
runtime/ contains files generated during runtime
views/ contains view files for the Web application
web/ contains the entry script and Web resources
common
config/ contains shared configurations
config/main.php app and database configuration
mail/ contains view files for e-mails
models/ contains model classes used in both backend and frontend
widgets/ contains app widgets
frontend
assets/ contains application assets such as JavaScript and CSS
config/ contains frontend configurations
controllers/ contains Web controller classes
models/ contains frontend-specific model classes
runtime/ contains files generated during runtime
views/ contains view files for the Web application
web/ contains the entry script and Web resources
environments/ contains environment-based overrides
vendor/ contains dependent 3rd-party packages
You must add custom variables that will be used to collect data schedule.
| Field Name | Condition | Field Type | Variable | Remark |
|---|---|---|---|---|
| Name | Don't Ask | Text | USER_NAME | |
| Don't Ask | Text | |||
| Schedule | Don't Ask | Text | SCD | Add manually |
-
Finish Action URL (Quiz message):
http://{YOUR_HOST}/{YOUR_APP_NAME}/assessment/indexExample:
http://localhost/yii2-quiz-ispring/assessment/index -
Send quiz results to server:
http://{YOUR_HOST}/{YOUR_APP_NAME}/assessment/submitExample:
http://localhost/yii2-quiz-ispring/assessment/submit
Contributions are welcome!
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Submit a pull request with detailed information about your changes.
If you find value in this application, feel free to:
- Share it with friends, colleagues, or your community
- Buy me a coffee
