Download the PHP package jooyeshgar/moadian without Composer
On this page you can find all versions of the php package jooyeshgar/moadian. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jooyeshgar/moadian
More information about jooyeshgar/moadian
Files in jooyeshgar/moadian
Package moadian
Short Description Laravel package for interacting with the Moadian API of intamedia.ir
License GPL-3.0
Homepage https://github.com/Jooyeshgar/moadian
Informations about the package moadian
Laravel Moadian API Driver (API Only)
This Laravel package provides a convenient way to interact with the API of the "Moadian system" (سامانه مودیان) offered by intamedia.ir. With this package, you can easily make requests to the Moadian API and handle the responses in your Laravel application.
Important Notice: This package provides access to the Moadian system API and is not intended for direct user interaction. It's designed for developers integrating Moadian functionality into their applications.
For a user-friendly accounting software experience, we recommend checking out our FreeAmin project (under development):
Requirements
This package requires Laravel 8 or higher. It has been tested with Laravel 8 and PHP 7.4, as well as with Laravel 10 and PHP 8.1.
Installation
To install this package, simply run the following command:
Usage
To use this package, you will need to obtain a username, private key and certificate from intamedia.ir. Once you have your credentials, you can configure the package in your Laravel application's .env
file:
The default location to store the private key is: storage_path('app/keys/private.pem');\ The default location to store the certificate is: storage_path('app/keys/certificate.crt');
You can then use the Moadian
facade to interact with the Moadian API. Here are some examples:
Send Invoice
To send an invoice to Moadian, you can use the sendInvoice() method provided by the plugin. Here's an example of how to use it:
Note that you need to have a valid Moadian account and credentials to use this plugin.
There are other types of invoices (Cancellation, corrective, Sales return) that you can send with this package. For more information about different types of invoices and how to send them, please refer to the official document.
Useful Links
Contributing
If you find a bug or would like to contribute to this package, please feel free to submit an issue or create a pull request.
License
This package is open source software licensed under the GPL-3.0 license.
All versions of moadian with dependencies
ext-openssl Version *
guzzlehttp/guzzle Version ^7.0
ramsey/uuid Version ^4.2
symfony/cache Version ^5.3|^6.0
phpseclib/phpseclib Version ^3.0
firebase/php-jwt Version ^6.9