PHPackages                             glasscode/persian-faker - 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. glasscode/persian-faker

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

glasscode/persian-faker
=======================

generate any persian content for laravel community

1.0.0(3y ago)51.1k↓50%MITPHPPHP ^8.1

Since Apr 18Pushed 2y ago2 watchersCompare

[ Source](https://github.com/milad-abdi/persian-faker)[ Packagist](https://packagist.org/packages/glasscode/persian-faker)[ Docs](https://github.com/milad-abdi/persian-faker)[ RSS](/packages/glasscode-persian-faker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (12)Versions (4)Used By (0)

Laravel persian faker package
=============================

[](#laravel-persian-faker-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a450163325ca0897984de73d0ab4041581ca39f7768c5ee454d144f501ba6f1c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d696c61642d616264692f7065727369616e2d66616b65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/milad-abdi/persian-faker)[![run-tests](https://github.com/milad-abdi/persian-faker/actions/workflows/run-tests.yml/badge.svg)](https://github.com/milad-abdi/persian-faker/actions/workflows/run-tests.yml)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require glasscode/persian-faker
```

Usage
-----

[](#usage)

Create fake data Use `GlassCode\PersianFaker\PersianFaker` to create and initialize a faker generator, which can generate data by calling methods named after the type of data you want.

Example
-------

[](#example)

```
$faker = \GlassCode\PersianFaker\PersianFaker::create();

// simple text
$faker->text()->word() //ساعت
$faker->text()->sentence() //تاریخ دو بار تکرار میشود : یکی به صورت تراژدی و دیگری به صورت کمدی.
$faker->text()->paragraph() // متن طولانی

// locations type
$faker->location()->state() //تهران
$faker->location()->country() //آفریقای جنوبی
$faker->location()->address() //خیابان آزادی ،نبش خیابان رودکی

// payments info
$faker->payment()->bank() //بانک صادرات
$faker->payment()->sheba() //IR222858082460621046509226
$faker->payment()->cardNumber() //4563440120604719

// Person info
$faker->person()->job() //آرایشگر
$faker->person()->name() //علی
$faker->person()->lastName() // کریمی
$faker->person()->certificate() //لیسانس
$faker->person()->email() //Shayne@yahoo.com
$faker->person()->phone() //09222770548
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

- [milad abdi](https://github.com/milad-abdi)
- [mahdi mansouri](https://github.com/mahdimsr)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

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

Every ~0 days

Total

2

Last Release

1126d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/175a3c58abf01a422d8b47ebe5239a734c5dcb1142dfb2ffa297690d77cf5138?d=identicon)[milad-abdi](/maintainers/milad-abdi)

---

Top Contributors

[![milad-abdi](https://avatars.githubusercontent.com/u/19688961?v=4)](https://github.com/milad-abdi "milad-abdi (19 commits)")[![mahdimsr](https://avatars.githubusercontent.com/u/32928013?v=4)](https://github.com/mahdimsr "mahdimsr (2 commits)")

---

Tags

laravelfakerpersian-faker

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/glasscode-persian-faker/health.svg)

```
[![Health](https://phpackages.com/badges/glasscode-persian-faker/health.svg)](https://phpackages.com/packages/glasscode-persian-faker)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

9169.0k4](/packages/marcelweidum-filament-expiration-notice)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)

PHPackages © 2026

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