PHPackages                             rhman/factorydesignpattern - 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. rhman/factorydesignpattern

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

rhman/factorydesignpattern
==========================

This package contains the samples for factory design pattern in Laravel

04PHP

Since Aug 2Pushed 3y ago1 watchersCompare

[ Source](https://github.com/rahman-jn/laravel-factory-designpattern)[ Packagist](https://packagist.org/packages/rhman/factorydesignpattern)[ RSS](/packages/rhman-factorydesignpattern/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Factory designpattern in Laravel
================================

[](#factory-designpattern-in-laravel)

A simple implementation of factory design pattern in laravel

for installation run this command in terminal:

`composer require rhman/factorydesignpattern`

and then go to this address o see the result:

`http://your_host_address_and_port/designpatterns/factory/`

[![](https://camo.githubusercontent.com/71842a2b4c3443477ab8369d971947b6066128cb8a0520933a3851f4829416bd/68747470733a2f2f692e6962622e636f2f766846746d4e6b2f53637265656e73686f742d66726f6d2d323032322d30382d30322d32322d33362d33392e706e67)](https://camo.githubusercontent.com/71842a2b4c3443477ab8369d971947b6066128cb8a0520933a3851f4829416bd/68747470733a2f2f692e6962622e636f2f766846746d4e6b2f53637265656e73686f742d66726f6d2d323032322d30382d30322d32322d33362d33392e706e67)

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity27

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/8d5530cf9f3d139a1322df73db08cc754462b7dc2b79e6df2ba8af0273fc939e?d=identicon)[rhman](/maintainers/rhman)

---

Top Contributors

[![rahman-jn](https://avatars.githubusercontent.com/u/76126830?v=4)](https://github.com/rahman-jn "rahman-jn (6 commits)")

### Embed Badge

![Health badge](/badges/rhman-factorydesignpattern/health.svg)

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

###  Alternatives

[nexylan/slack-bundle

Symfony bundle integration of nexylan/slack library

1081.2M](/packages/nexylan-slack-bundle)[whitecube/php-prices

A simple PHP library for complex monetary prices management

17168.4k7](/packages/whitecube-php-prices)[binsoul/net-mqtt

MQTT protocol implementation

28897.8k7](/packages/binsoul-net-mqtt)[kotchuprik/yii2-sortable-widgets

Implementation Rubaxa/Sortable for Yii2. Sortable grid view inside.

61132.2k6](/packages/kotchuprik-yii2-sortable-widgets)[sulu/theme-bundle

The Sulu Bundle which provides theming functionality.

23300.4k1](/packages/sulu-theme-bundle)[wapmorgan/yii2-inflection

Inflection extension for Yii2. Support for English / Russian languages to inflect words / names / numbers / money / date&amp;time.

32112.3k](/packages/wapmorgan-yii2-inflection)

PHPackages © 2026

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