This Laravel package provides a Code Judge system for evaluating programming solutions. Participants can submit their code, and the system will automatically test it against predefined test cases, returning a score and a log of the results. It supports Laravel 11 and is designed to be easily integrated into existing projects.
- Automated Code Testing: Evaluate code submissions against predefined test cases
- Score Calculation: Automatic scoring based on test results
- Detailed Logging: Comprehensive logs of test execution and results
- Laravel 11 Support: Built specifically for Laravel 11.x
- Easy Integration: Simple setup and integration into existing projects
- Multi-Language Support: Execute code in various programming languages
You need the following to run the package:
- PHP 8.1 or higher
- Laravel 11.x
- Composer for dependency management
- A Linux or Mac OS environment for code execution (Windows may require additional configuration)
Follow these steps to set up the package:
1. Install the package via Composer:
composer require sajad-dev/code-judge
2. Publish the package assets:
php artisan vendor:publish --provider="SajadDev\CodeJudge\CodeJudgeServiceProvider"
3. Run the migrations to create the necessary database tables:
php artisan migrate
Mohammad Sajad Poorajam π¨βπ»π