glasscode/persian-faker
Larablocks Analysis
glasscode/persian-faker works with Laravel 10 to 13 (latest release 1.0.0, Apr 18, 2023).
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- Works with Laravel 13, the current version
- No release in the last 12 months (last: Apr 18, 2023)
- 98 downloads a month (needs 10,000)
- 5 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Apr 18, 2023.
- No releases in the last 12 months.
- First released: Apr 18, 2023.
- Monthly downloads: 98.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.
| Install | |
|---|---|
composer require glasscode/persian-faker |
|
| Latest Version: | 1.0.0 |
| PHP: | ^8.1 |
| Laravel: | 10 – 13 |
| License: | MIT |
| Last Updated: | Oct 24, 2023 |
| Links: | GitHub · Packagist |
Laravel persian faker package
Installation
You can install the package via composer:
composer require glasscode/persian-faker
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
$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
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.
Related Packages
A collection of custom Faker providers for your Laravel applications
With this package, you can easily generate Chilean names, addresses, phone numbe...
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| 1.0.0 | ^8.1 | MIT |
Pre-releases (1)
| Version | Released | PHP | License |
|---|---|---|---|
| 1.0.0-alpha | ^8.1 | MIT |