PHPackages                             marque/cennad - 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. [API Development](/categories/api)
4. /
5. marque/cennad

ActiveLibrary[API Development](/categories/api)

marque/cennad
=============

REST API for Marque tracker platform

v2.0.0(3mo ago)04MITPHPPHP ^8.2

Since Feb 11Pushed 3mo agoCompare

[ Source](https://github.com/letterofmarque/cennad)[ Packagist](https://packagist.org/packages/marque/cennad)[ RSS](/packages/marque-cennad/feed)WikiDiscussions main Synced 1mo ago

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

Marque Cennad
=============

[](#marque-cennad)

REST API for the [Marque](https://github.com/letterofmarque/marque) tracker platform. Provides JSON endpoints for torrent management.

Installation
------------

[](#installation)

Requires [marque/trove](https://packagist.org/packages/marque/trove).

```
composer require marque/cennad
```

Publish the config:

```
php artisan vendor:publish --tag=cennad-config
```

Endpoints
---------

[](#endpoints)

All endpoints require authentication and return JSON.

MethodEndpointDescriptionGET`/api/torrents`List torrents (paginated, searchable)GET`/api/torrents/{id}`Get torrent detailsPUT`/api/torrents/{id}`Update torrent (name, description)DELETE`/api/torrents/{id}`Delete torrent### List Torrents

[](#list-torrents)

```
GET /api/torrents?search=ubuntu&page=2

```

Returns paginated results with standard Laravel pagination metadata.

### Get Torrent

[](#get-torrent)

```
GET /api/torrents/1

```

Response:

```
{
    "data": {
        "id": 1,
        "info_hash": "a1b2c3...",
        "name": "Example Torrent",
        "description": "Description text",
        "size": 734003200,
        "size_formatted": "700 MB",
        "file_count": 12,
        "has_torrent_file": true,
        "created_at": "2026-01-15T10:30:00Z",
        "updated_at": "2026-01-15T10:30:00Z",
        "user": {
            "id": 1,
            "name": "uploader"
        },
        "links": {
            "self": "https://example.com/api/torrents/1",
            "download": "https://example.com/torrents/1/download"
        }
    }
}
```

### Update Torrent

[](#update-torrent)

```
PUT /api/torrents/1
Content-Type: application/json

{
    "name": "Updated Name",
    "description": "Updated description"
}

```

Requires ownership or Moderator+ role.

### Delete Torrent

[](#delete-torrent)

```
DELETE /api/torrents/1

```

Requires Moderator+ role. Returns `204 No Content`.

Authorization
-------------

[](#authorization)

Cennad uses Trove's `TorrentPolicy` for access control:

ActionWho CanList / ViewAny authenticated userUpdateTorrent owner or Moderator+DeleteModerator+Configuration
-------------

[](#configuration)

Published to `config/cennad.php`:

KeyDefaultDescription`prefix``api`URL prefix for all endpoints`middleware``['api', 'auth:api']`Middleware stack`route_names.prefix``cennad`Route name prefix`route_names.download``torrents.download`Download route name (for link generation)`rate_limit``60`Requests per minuteAuthentication
--------------

[](#authentication)

Cennad uses Laravel's standard `auth:api` guard. Configure authentication in your application - Sanctum, Passport, or any guard that satisfies `auth:api` will work.

Requirements
------------

[](#requirements)

- PHP 8.2+
- Laravel 12+
- [marque/trove](https://packagist.org/packages/marque/trove)

License
-------

[](#license)

MIT

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance82

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

97d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/074f3e81cde0a435c57bded42781ae326daa5493d02de1b45e710b82856abd5a?d=identicon)[lomsoftware](/maintainers/lomsoftware)

---

Top Contributors

[![lomsoftware](https://avatars.githubusercontent.com/u/257575579?v=4)](https://github.com/lomsoftware "lomsoftware (3 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/marque-cennad/health.svg)

```
[![Health](https://phpackages.com/badges/marque-cennad/health.svg)](https://phpackages.com/packages/marque-cennad)
```

###  Alternatives

[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[essa/api-tool-kit

set of tools to build an api with laravel

52680.5k](/packages/essa-api-tool-kit)[esign/laravel-conversions-api

A laravel wrapper package around the Facebook Conversions API

69145.4k](/packages/esign-laravel-conversions-api)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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