PHPackages                             ninoslavjaric/map-pin-generator - 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. ninoslavjaric/map-pin-generator

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

ninoslavjaric/map-pin-generator
===============================

This is cool

0.1.0(9y ago)1148MITPHPPHP &gt;=5.3.0

Since Dec 29Pushed 9y ago2 watchersCompare

[ Source](https://github.com/ninoslavjaric/map-pin-generator)[ Packagist](https://packagist.org/packages/ninoslavjaric/map-pin-generator)[ Docs](http://github.com/ninoslavjaric/map-pin-generator)[ RSS](/packages/ninoslavjaric-map-pin-generator/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)DependenciesVersions (2)Used By (0)

Map pin generator
=================

[](#map-pin-generator)

The first version of this library generates striped pins that point location of something represented by that pin.

How to get dependency
---------------------

[](#how-to-get-dependency)

By composer.

```
composer require ninoslavjaric/map-pin-generator

```

Implementation
--------------

[](#implementation)

```
require_once "vendor/autoload.php";

use Logic\PinGenerator;

header("Content-type: image/png");
$pin = PinGenerator::getStripedPin("image.jpg",[
    "rgb(100,100,100)",
    "rgb(200,200,200)",
]);
echo $pin;

```

### PinGenerator

[](#pingenerator)

MethodStaticParametersDescriptiongetStripedPintrueimageUrl, Array colors, pinWidth = nullGets striped pin blob content according to rgb color expressions.### Example output

[](#example-output)

[![alt tag](https://raw.githubusercontent.com/ninoslavjaric/map-pin-generator/master/src/Resources/example.png)](https://raw.githubusercontent.com/ninoslavjaric/map-pin-generator/master/src/Resources/example.png)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.4% 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

3419d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/139b190d4eeee034199433716ae57703599386b4f60d4ba34041a7ccc2ca22bc?d=identicon)[jaricninoslav](/maintainers/jaricninoslav)

---

Top Contributors

[![ninoslavjaric](https://avatars.githubusercontent.com/u/11066613?v=4)](https://github.com/ninoslavjaric "ninoslavjaric (14 commits)")[![Schone](https://avatars.githubusercontent.com/u/14957175?v=4)](https://github.com/Schone "Schone (3 commits)")

### Embed Badge

![Health badge](/badges/ninoslavjaric-map-pin-generator/health.svg)

```
[![Health](https://phpackages.com/badges/ninoslavjaric-map-pin-generator/health.svg)](https://phpackages.com/packages/ninoslavjaric-map-pin-generator)
```

###  Alternatives

[js-phpize/js-phpize

Convert js-like syntax to standalone PHP code.

23402.4k3](/packages/js-phpize-js-phpize)

PHPackages © 2026

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