Download the PHP package hejunjie/tools without Composer

On this page you can find all versions of the php package hejunjie/tools. 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 tools

hejunjie/tools

简体中文

🚀 A PHP utility library that encapsulates commonly used operations for strings, arrays, files, network requests, image processing, and various helper functions (such as phone carrier lookup and ID-based address resolution) frequently encountered in daily development. More features are being continuously added...

🧨 Starting from v2.0.0, this package has undergone a major structural overhaul. It has been split into multiple standalone packages, allowing for more flexible combinations and a lighter usage experience!


🧱 Split Explanation

Originally, all features were bundled in a single repository, which made it convenient to use but not ideal for modular maintenance and independent feature reuse.

Therefore, I’ve split them into the following 9 standalone Composer packages:

packages describe
hejunjie/utils A lightweight and practical PHP utility library that offers a collection of commonly used helper functions for files, strings, arrays, and HTTP requests—designed to streamline development and support everyday PHP projects.
hejunjie/cache A layered caching system built with the decorator pattern. Supports combining memory, file, local, and remote caches to improve hit rates and simplify cache logic.
hejunjie/china-division Regularly updated dataset of China's administrative divisions with ID-card address parsing. Distributed via Composer and versioned for use in forms, validation, and address-related features
hejunjie/error-log An error logging component using the Chain of Responsibility pattern. Supports multiple output channels like local files, remote APIs, and console logs—ideal for flexible and scalable logging strategies.
hejunjie/mobile-locator A mobile number lookup library based on Chinese carrier rules. Identifies carriers and regions, suitable for registration checks, user profiling, and data archiving.
hejunjie/address-parser An intelligent address parser that extracts name, phone number, ID number, region, and detailed address from unstructured text—perfect for e-commerce, logistics, and CRM systems.
hejunjie/url-signer A PHP library for generating URLs with encryption and signature protection—useful for secure resource access and tamper-proof links.
hejunjie/google-authenticator A PHP library for generating and verifying Time-Based One-Time Passwords (TOTP). Compatible with Google Authenticator and similar apps, with features like secret generation, QR code creation, and OTP verification.
hejunjie/simple-rule-engine A lightweight and flexible PHP rule engine supporting complex conditions and dynamic rule execution—ideal for business logic evaluation and data validation.

💡 Why split it this way?

The main goal is to separate feature modules more clearly, while allowing users to:


📦 Installation

If you want to get all features at once, simply continue using this package:

Installing it will automatically include all the sub-packages mentioned above, with no extra configuration needed.

Of course, you can also choose to install any individual package as needed:

🧪 PHP Version Requirement

This suite of tools requires PHP >= 8.1.

❤️ About Me

This integrated package is a collection of tools I’ve refined through multiple real-world projects.

It has now been gradually split into several smaller packages, and I may continue to maintain, simplify, and optimize it over time.

You're very welcome to use it — and feel free to open an issue or submit a PR 🚀.


All versions of tools with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
hejunjie/cache Version ^1.0
hejunjie/china-division Version ^1.0
hejunjie/error-log Version ^1.0
hejunjie/mobile-locator Version ^1.0
hejunjie/utils Version ^1.0
hejunjie/address-parser Version ^1.0
hejunjie/url-signer Version ^1.0
hejunjie/google-authenticator Version ^1.0
hejunjie/simple-rule-engine Version ^1.0
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 hejunjie/tools contains the following files

Loading the files please wait ....