Download the PHP package abdulbaset/convert-numbers without Composer

On this page you can find all versions of the php package abdulbaset/convert-numbers. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package convert-numbers

Convert Numbers

A comprehensive PHP package for number conversion, supporting multiple languages and various conversion types.

Installation

Install the package via Composer:

Usage

Basic Number Conversion

Currency Conversion

File Size Formatting

Architecture

The package follows SOLID principles and clean architecture:

  1. Single Responsibility Principle (SRP)

    • Each class has a single responsibility
    • Language classes handle language-specific conversions
    • Currency classes manage currency-specific logic
    • Utility classes for formatting and conversion
  2. Open/Closed Principle (OCP)

    • Easy to add new languages by extending LanguageAbstract
    • New currencies can be added by extending CurrencyAbstract
    • No modification needed to existing code
  3. Interface Segregation Principle (ISP)

    • Separate interfaces for different functionalities
    • ConverterInterface for number conversion
    • CurrencyInterface for currency operations
    • FileSizeInterface for file size formatting
  4. Dependency Inversion Principle (DIP)
    • High-level modules depend on abstractions
    • Easy to swap implementations

Features

1. Number to Words Conversion

2. Currency Handling

3. File Size Formatting

4. Multi-language Support

5. Number Formatting

Use Cases

Here are some practical scenarios where this package can be useful:

📄 Invoices & Legal Documents

💰 Financial & Accounting Applications

🛍 CMS & E-commerce Platforms

🌍 Multi-language Applications

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

Change Log

For a detailed list of changes and updates in each version, see the Change Log.

License

This package is open-sourced software licensed under the LICENSE license.

Support

For support:

Donations 💖

Maintaining this package takes time and effort. If you’d like to support its development and keep it growing, you can:

Your support means a lot to me! Thank you for making this possible. 🙏


All versions of convert-numbers with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package abdulbaset/convert-numbers contains the following files

Loading the files please wait ....