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

[consistence/consistence

Consistence - consistent approach and additions to PHP's functionality

1831.1M18](/packages/consistence-consistence)[rapidwebltd/php-uk-bank-holidays

This library enables developers to easily retrieve UK Bank Holiday details. Holidays can be retrieved for England &amp; Wales, Scotland, and Northern Ireland. Information about these holidays can optionally be restricted by month or date.

12405.5k](/packages/rapidwebltd-php-uk-bank-holidays)

PHPackages © 2026

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