PHPackages                             noeldavies/battleships - 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. noeldavies/battleships

ActiveLibrary

noeldavies/battleships
======================

battleships?

17PHP

Since Dec 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/NoelDavies/BattleShips)[ Packagist](https://packagist.org/packages/noeldavies/battleships)[ RSS](/packages/noeldavies-battleships/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/9f956b0f93e2cdad2288b9141436a60dbee010539a2416537e08c52df81cb4b9/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6e6f656c6461766965732f626174746c6573686970732e737667)](https://packagist.org/packages/noeldavies/battleships)[![Total Downloads](https://camo.githubusercontent.com/0fe20798efaf9b964500b71780d7470d451034db34da0e934d4f375001d315a8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6f656c6461766965732f626174746c6573686970732e737667)](https://packagist.org/packages/noeldavies/battleships)[![License](https://camo.githubusercontent.com/1d72591be346c4b0142601eb29f1154cd7c90760bac541a8487fae91db9bafc6/68747470733a2f2f706f7365722e707567782e6f72672f6e6f656c6461766965732f626174746c6573686970732f6c6963656e7365)](https://packagist.org/packages/noeldavies/battleships)

BattleShips
===========

[](#battleships)

This package provides a convenient library for playing BattleShips. Be it simulations, live games or you're trying to create a scene from the film wargames!

Begin by installing this package through Composer. Edit your project's `composer.json` file to require `noeldavies/battleships`.

```
"require": {
    "noeldavies/battleships": "dev-master"
}

```

Next, update Composer from the Terminal:

```
composer update

```

Next, add the service provider. Open `config/app.php` and add a new item to the providers array.

```
NoelDavies\BattleShips\BattleShipsServiceProvider::class

```

Usage
-----

[](#usage)

This package is accessible via Laravel Facades so to use simply use one of the Facades "Coordinate", "Grid" and "Ship".

Contributing
------------

[](#contributing)

Just fork it and send me a PR. Please don't break my tests :/

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/572911?v=4)[Daniel](/maintainers/NoelDavies)[@NoelDavies](https://github.com/NoelDavies)

---

Top Contributors

[![NoelDavies](https://avatars.githubusercontent.com/u/572911?v=4)](https://github.com/NoelDavies "NoelDavies (9 commits)")

### Embed Badge

![Health badge](/badges/noeldavies-battleships/health.svg)

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

PHPackages © 2026

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