PHPackages                             sajad-dev/code-judge - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. sajad-dev/code-judge

ActiveLibrary

sajad-dev/code-judge
====================

1.0.1(1y ago)13MITPHPPHP ^8.2

Since Dec 16Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/sajad-dev/code-judge)[ Packagist](https://packagist.org/packages/sajad-dev/code-judge)[ RSS](/packages/sajad-dev-code-judge/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Code Judge System
=================

[](#code-judge-system)

 [![PHP Version](https://camo.githubusercontent.com/22f3485e7aa4e0fd69a669b1636f4b11804f88021a418c185a16de2c1c495d60/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312b2d3737374242342e7376673f7374796c653d666c6174266c6f676f3d706870)](https://camo.githubusercontent.com/22f3485e7aa4e0fd69a669b1636f4b11804f88021a418c185a16de2c1c495d60/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312b2d3737374242342e7376673f7374796c653d666c6174266c6f676f3d706870) [![Laravel Version](https://camo.githubusercontent.com/8f73aa2e317bfc90eed7867319622cee3ae4983e38fed749cb72f31c784f2aa7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31312e782d4646324432302e7376673f7374796c653d666c6174266c6f676f3d6c61726176656c)](https://camo.githubusercontent.com/8f73aa2e317bfc90eed7867319622cee3ae4983e38fed749cb72f31c784f2aa7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31312e782d4646324432302e7376673f7374796c653d666c6174266c6f676f3d6c61726176656c) [![Composer Required](https://camo.githubusercontent.com/a95ae0b1b43e2bfb7ac9f731c6a006e459d7c78c4a7e9fce1cb9ffb6c4bcd97d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f6d706f7365722d52657175697265642d3838353633302e7376673f7374796c653d666c6174266c6f676f3d636f6d706f736572)](https://camo.githubusercontent.com/a95ae0b1b43e2bfb7ac9f731c6a006e459d7c78c4a7e9fce1cb9ffb6c4bcd97d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f6d706f7365722d52657175697265642d3838353633302e7376673f7374796c653d666c6174266c6f676f3d636f6d706f736572) [![Platform](https://camo.githubusercontent.com/ce6e092a28a68cba4c823eebee219251eff6a142843b395a5777124e361657d4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506c6174666f726d2d4c696e75782532302537432532306d61634f532d6c69676874677265792e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/ce6e092a28a68cba4c823eebee219251eff6a142843b395a5777124e361657d4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506c6174666f726d2d4c696e75782532302537432532306d61634f532d6c69676874677265792e7376673f7374796c653d666c6174) [![License](https://camo.githubusercontent.com/9a162c7090047a7d4ab6b3073cf4e0cf545097c3ad8ca3b454effa89797d7325/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/9a162c7090047a7d4ab6b3073cf4e0cf545097c3ad8ca3b454effa89797d7325/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e7376673f7374796c653d666c6174) [![Version](https://camo.githubusercontent.com/f5c4586b44f762537db51d01d04c07ea7c839905967e82b74e221f090b6bab3e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f56657273696f6e2d312e302e302d626c75652e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/f5c4586b44f762537db51d01d04c07ea7c839905967e82b74e221f090b6bab3e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f56657273696f6e2d312e302e302d626c75652e7376673f7374796c653d666c6174) [![Status](https://camo.githubusercontent.com/2321ba83ccd6dd2f4e49960a5ed77a6fc06e88b3b87296f022323ff63f3481f9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5374617475732d537461626c652d627269676874677265656e2e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/2321ba83ccd6dd2f4e49960a5ed77a6fc06e88b3b87296f022323ff63f3481f9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5374617475732d537461626c652d627269676874677265656e2e7376673f7374796c653d666c6174)

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
----------

[](#-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
--------------

[](#-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
------------------------

[](#-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** 👨‍💻🚀

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance48

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

518d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cd5fa70943efebba4a1a03d9520e67272df1acaf7a84911334fbae530a55a757?d=identicon)[sajad-dev](/maintainers/sajad-dev)

---

Top Contributors

[![sajad-dev](https://avatars.githubusercontent.com/u/104766821?v=4)](https://github.com/sajad-dev "sajad-dev (7 commits)")

### Embed Badge

![Health badge](/badges/sajad-dev-code-judge/health.svg)

```
[![Health](https://phpackages.com/badges/sajad-dev-code-judge/health.svg)](https://phpackages.com/packages/sajad-dev-code-judge)
```

###  Alternatives

[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[reachweb/statamic-livewire-filters

Livewire filters for Statamic collections.

1710.5k](/packages/reachweb-statamic-livewire-filters)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

116.6k](/packages/tomshaw-electricgrid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
