PHPackages                             baradaran-co/moadian - 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. baradaran-co/moadian

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

baradaran-co/moadian
====================

PHP SDK for working with tp.tax.gov.ir (سامانه مودیان مالیاتی)

1.0.5(2y ago)11131MITPHPPHP ^8.0

Since Nov 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Azare77/moadian-baradaran)[ Packagist](https://packagist.org/packages/baradaran-co/moadian)[ RSS](/packages/baradaran-co-moadian/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (7)Versions (7)Used By (0)

Moadian - سامانه مودیان مالیانی
===============================

[](#moadian---سامانه-مودیان-مالیانی)

کد PHP برای اتصال به سامانه مودیان مالیاتی (نظام پایانه های فروشگاهی و سامانه مودیان).

PHP code for connecting to Moadian Maliati Organization (Store Terminals and Taxpayer System).

Reference
---------

[](#reference)

This package forked from [sanp-market-pro](https://github.com/Snapp-Market-Pro/moadian)

Disclaimer
----------

[](#disclaimer)

This software is provided as is without any warranty whatsoever, including accuracy and comprehensiveness. We are not associated with Moadian Maliati Organization and we have worked with the API just as simple clients so we are limited in the amount of support and help we can give regarding the functionality of the API. We have however personally used this package and have successfully submitted tens of thousands of invoices.

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

[](#installation)

```
composer require baradaran-co/moadian
```

Usage
-----

[](#usage)

1. Generate an RSA key pair according to specifications in moadian admin panel.
2. Upload the public key of that key pair and get a username.
3. Following [get-tax-org-public-key](examples/get-tax-org-public-key.php) get Tax Organization public key and key ID and store them somewhere.
4. Construct the `Moadian` class with your private key, tax org public key, tax org key ID, your username and base url of tax org api if needed.
5. Login and set the received token on `Moadian` class.
6. Send Invoices or Inquire their status by reference numbers following [send-invoices](examples/send-invoices.php) or [inquire-by-reference-numbers](examples/inquire-by-reference-numbers.php).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~24 days

Total

6

Last Release

803d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9fcb4a7cfbc98dcd802ea31d0fabadd3ea649e48d09c7328507ee397719074c1?d=identicon)[Azare77](/maintainers/Azare77)

---

Top Contributors

[![Azare77](https://avatars.githubusercontent.com/u/68433686?v=4)](https://github.com/Azare77 "Azare77 (14 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/baradaran-co-moadian/health.svg)

```
[![Health](https://phpackages.com/badges/baradaran-co-moadian/health.svg)](https://phpackages.com/packages/baradaran-co-moadian)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[magento/community-edition

Magento 2 (Open Source)

12.1k52.1k10](/packages/magento-community-edition)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[getdkan/dkan

DKAN Open Data Catalog

385135.4k2](/packages/getdkan-dkan)

PHPackages © 2026

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