Coder Social home page Coder Social logo

iran_banks_info's Introduction

Iran Banks Info

Required PHP Version Latest Version on Packagist Total Downloads

Built with ❤️ for Persian developers ;)

It's been a hard time for me to find and list all Iran banks logos, IBAN codes and valid card numbers. So I decided to put them together in this package.

If you need to check users IBAN (sheba) Code or card number and find out which bank is his/her account, this is what you need.

⭐ Your Stars Make Us Do More

If you found this package useful, and you want to encourage the maintainer to work on it, just press the star button to declare your willingness.

Stargazers

⬇️ Installation

You can install the package via composer:

composer require morieti/iran-banks-info

You may also publish banks logo files by adding this in your prject composer.json:

"scripts": {
    "post-autoload-dump": "Morieti\\IranBanksInfo\\Config::publishBankImages"
}

And then:

composer dump-autoload

💎 Usage

You can use global \Morieti\IranBanksInfo\Config class to change some configs:

####standardCardNumberSize: To change standard size of banks card numbers which is 16 by default.

####standardIbanSize: To change standard size of iban code which is 26 by default. If you don't store 'IR' from beginning of the code, you can set this property to 24.

####baseImagePath: By default, package will publish banks logos to public/iran_banks_images relative to your project's root. You may relocate the pictures, but remember to set the relative path to them by changing this property.

###Config class uses the singleton pattern, so you may call it once and for all.

Credits

License

The MIT License (MIT). Please see License File for more information.


🙋 Contributing

If you find an issue or have a better way to do something, feel free to open an issue, or a pull request. If you use iran-banks-info in your open source project, create a pull request to provide its URL as a sample application in the README.md file.

❗ Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

A man will never fail unless he stops trying.

Albert einstein

iran_banks_info's People

Contributors

morieti avatar

Stargazers

poorya sadidi avatar mohamadhasan nadimy avatar zahra avatar

Watchers

zahra avatar  avatar

Forkers

mhnadimy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.