PHPackages                             fpalvadeau/oss-td3 - 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. fpalvadeau/oss-td3

ActiveLibrary

fpalvadeau/oss-td3
==================

Super library to scrap data from a website !

00PHP

Since Jul 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/FlorianPALVADEAU/oss-td3)[ Packagist](https://packagist.org/packages/fpalvadeau/oss-td3)[ RSS](/packages/fpalvadeau-oss-td3/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Get Cities Data 🔥
=================

[](#get-cities-data-)

This library is made to retrieve data from the "annuaire des mairies"'s website of the Yvelines.'

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

[](#installation)

```
    composer install
```

```
    php vendor/bin/phpstan analyze src --level=max
```

```
    php vendor/bin/phpunit tests
```

How to retrieve all the cities name and population ?
----------------------------------------------------

[](#how-to-retrieve-all-the-cities-name-and-population-)

```
    php build/index.php
```

How to retrieve the city with the highest population ?
------------------------------------------------------

[](#how-to-retrieve-the-city-with-the-highest-population-)

go in the build/index.php file, then replace the `$scrapping->getCitiesAndPopulation()` by `$scrapping->getMaxPopulation()`.

Then

```
    php build/index.php
```

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4200f591b6c9e43671c974f3a24bcbd863010909d265b589b3511ccb2f300693?d=identicon)[FlorianPALVADEAU](/maintainers/FlorianPALVADEAU)

---

Top Contributors

[![FlorianPALVADEAU](https://avatars.githubusercontent.com/u/90565815?v=4)](https://github.com/FlorianPALVADEAU "FlorianPALVADEAU (11 commits)")

### Embed Badge

![Health badge](/badges/fpalvadeau-oss-td3/health.svg)

```
[![Health](https://phpackages.com/badges/fpalvadeau-oss-td3/health.svg)](https://phpackages.com/packages/fpalvadeau-oss-td3)
```

PHPackages © 2026

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