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

[dompdf/php-font-lib

A library to read, parse, export and make subsets of different types of font files.

1.8k31.2M9](/packages/dompdf-php-font-lib)[geertw/ip-anonymizer

IPv4 and IPv6 address anonymizer

60238.3k1](/packages/geertw-ip-anonymizer)[usu/codice-fiscale

A library to calculate and check the validity of the italian fiscal code (codice fiscale)

23170.9k1](/packages/usu-codice-fiscale)[kzykhys/steganography

Simple implementation of Steganography (Hiding a hidden message within an image)

889.7k](/packages/kzykhys-steganography)[furqansiddiqui/ethereum-php

A modern, dependency-light Ethereum library powered by a clean cryptographic core

1724.9k1](/packages/furqansiddiqui-ethereum-php)[crisen/ai

优雅的ai客户端

265.5k1](/packages/crisen-ai)

PHPackages © 2026

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