PHPackages                             djomobil/php-scrapyd - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. djomobil/php-scrapyd

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

djomobil/php-scrapyd
====================

Package de communication avec l'API Scrapyd pour gérer les spiders et les tâches de scraping

1.0.0(1y ago)015MITPHPPHP ^8.2

Since Oct 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Djomobil/php-scrapyd)[ Packagist](https://packagist.org/packages/djomobil/php-scrapyd)[ Docs](https://github.com/Djomobil/php-scrapyd)[ RSS](/packages/djomobil-php-scrapyd/feed)WikiDiscussions main Synced 1mo ago

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

PHP Scrapyd Package
===================

[](#php-scrapyd-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9d697661290ea23ebc0f7cecf848ddd68df95a54b512071ea7f2df70a77e1822/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f446a6f6d6f62696c2f7068702d736372617079642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Djomobil/php-scrapyd)[![Total Downloads](https://camo.githubusercontent.com/bc3067486fa72de82d1d88206e842fc96dedc7035214afac36c712a24f4da106/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f446a6f6d6f62696c2f7068702d736372617079642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Djomobil/php-scrapyd)

Package de communication avec l'API Scrapyd pour gérer les spiders et les tâches de scraping.

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

[](#installation)

Vous pouvez installer le package via Composer :

```
composer require Djomobil/php-scrapyd
```

Configuration
-------------

[](#configuration)

Ajoutez votre configuration Scrapyd dans `.env` ou directement dans le code :

```
SCRAPYD_BASE_URL=http://localhost:6800
SCRAPYD_USERNAME=your_username
SCRAPYD_PASSWORD=your_password

```

Utilisation
-----------

[](#utilisation)

Exemples d'utilisation du package pour interagir avec l'API Scrapyd.

### Initialisation du Service

[](#initialisation-du-service)

```
use Djomobil\PhpScrapyd\Services\ScrapydService;
use Djomobil\PhpScrapyd\Helpers\HttpHelper;

$scrapydService = new ScrapydService(
    new HttpHelper(),
    'http://localhost:6800',
    'your_username',
    'your_password'
);
```

### Planification d'un Job

[](#planification-dun-job)

```
$jobId = $scrapydService->job()->scheduleJob([
    'project' => 'my_project',
    'spider' => 'my_spider'
]);

echo "Job ID: $jobId";
```

### Récupération du Statut du Daemon

[](#récupération-du-statut-du-daemon)

```
$status = $scrapydService->daemon()->getDaemonStatus();
print_r($status);
```

Tests
-----

[](#tests)

Exécutez les tests avec :

```
vendor/bin/phpunit
```

Contribuer
----------

[](#contribuer)

Les contributions sont les bienvenues ! Merci de bien vouloir ouvrir une issue ou un pull request pour signaler un problème ou proposer une amélioration.

### Linting

[](#linting)

Assurez-vous que votre code respecte les standards de `phpcs` :

```
composer lint
```

Déploiement sur Packagist
-------------------------

[](#déploiement-sur-packagist)

Le package est déployé automatiquement sur [Packagist](https://packagist.org/) à chaque nouvelle version taggée.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

565d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3cf0691fb0e4c88f5c34ab7a000256ddcf4ac32faa0be07be3f1c4bed7e35775?d=identicon)[Djomobil](/maintainers/Djomobil)

---

Top Contributors

[![JosephNSN](https://avatars.githubusercontent.com/u/137264179?v=4)](https://github.com/JosephNSN "JosephNSN (8 commits)")

---

Tags

spiderscrapingscrapydscrapy

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/djomobil-php-scrapyd/health.svg)

```
[![Health](https://phpackages.com/badges/djomobil-php-scrapyd/health.svg)](https://phpackages.com/packages/djomobil-php-scrapyd)
```

###  Alternatives

[jaeger/querylist

Simple, elegant, extensible PHP Web Scraper (crawler/spider),Use the css3 dom selector,Based on phpQuery! 简洁、优雅、可扩展的PHP采集工具(爬虫)，基于phpQuery。

2.7k641.7k86](/packages/jaeger-querylist)[vdb/php-spider

A configurable and extensible PHP web spider

1.4k181.0k7](/packages/vdb-php-spider)[jaybizzle/laravel-crawler-detect

A Laravel package to detect web crawlers via the user agent

3232.6M17](/packages/jaybizzle-laravel-crawler-detect)[dusterio/link-preview

Link preview generation for PHP with Laravel support

126326.6k3](/packages/dusterio-link-preview)[crwlr/crawler

Web crawling and scraping library.

37214.8k2](/packages/crwlr-crawler)[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)
