PHPackages                             clemours/starwarslib - 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. clemours/starwarslib

ActiveLibrary

clemours/starwarslib
====================

demo package

1.2.1(2y ago)17MITPHPPHP &gt;=8.0

Since Jul 3Pushed 2y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

starwarslib ✨
=============

[](#starwarslib-)

`_in progress_`

[![Last version](https://camo.githubusercontent.com/f329bdcbd07f2acc84265229c18992638497ec40e3076ffba94c2767f9efa6fb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c656d6f7572732f73746172776172736c69623f6d61784167653d33363030)](https://packagist.org/packages/clemours/starwarslib)

not so far ago in a galaxy not so far away...
---------------------------------------------

[](#not-so-far-ago-in-a-galaxy-not-so-far-away)

This library has the purpose to provide a simple way to get data from the Star Wars Website. It's Open Source so don't be shy to make it better for everyone !

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

[](#installation)

```
composer req clemours/starwarslib
```

Local dev
---------

[](#local-dev)

```
composer install
```

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

```
php vendor/bin/php-cs-fixer fix src --rules=@PSR12
```

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

What can u get ?
----------------

[](#what-can-u-get-)

- Names from the databank url ()
- More to come soon !

How it works ?
--------------

[](#how-it-works-)

- I use XPath to get the content from the website

Take a look at my Api.php file to see more about it 🧑🏻‍💻

Usage
-----

[](#usage)

Run this command to render the list of the names get from the url

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

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

5

Last Release

1041d ago

Major Versions

0.0.0 → 1.0.02023-07-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/fb68fce207ba358bee9d1fd418ca1b192fbae37e66d8441e9e0a839e60fc7c7b?d=identicon)[ClemOurs](/maintainers/ClemOurs)

---

Top Contributors

[![duuusa](https://avatars.githubusercontent.com/u/74179112?v=4)](https://github.com/duuusa "duuusa (7 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/clemours-starwarslib/health.svg)

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

PHPackages © 2026

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