sajad-dev/code-judge

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/sajad-dev/code-judge

1.0.1 2024-12-16 19:40 UTC

This package is auto-updated.

Last update: 2025-12-10 08:53:38 UTC


README

PHP Version Laravel Version Composer Required Platform License Version Status

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.

✨ Features

  • 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

📋 Requirements

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)

🚀 Installation and Setup

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 👨‍💻🚀