Download the PHP package carry0987/tag without Composer
On this page you can find all versions of the php package carry0987/tag. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download carry0987/tag
More information about carry0987/tag
Files in carry0987/tag
Package tag
Short Description PHP Tag Management Library: A Comprehensive Toolkit for Tag Handling
License MIT
Informations about the package tag
PHP-Tag
PHP Tag Management Library: A Comprehensive Toolkit for Tag Handling
Introduction
PHP-Tag is a dynamic and robust library designed for developers who need to manage and manipulate tags within their PHP applications. Whether you're working on content management systems, music libraries, photo galleries, or any platform that utilizes tagging, this library provides an extensive suite of functionalities to streamline tag management.
Features
- String Tag Conversion: Convert a comma-separated string of tags into an array and vice versa.
- Tag Classification: Group tags based on a custom pattern and distinguish between classified and unclassified tags.
- Tag ID Management: Merge, slice, check, and remove tag IDs with ease, supporting both single-dimensional and multi-dimensional arrays.
- Normalization: Sanitize and normalize tag names by replacing special characters, converting to lowercase, and trimming excess whitespace.
- Regular Expression Patterns: Set and use custom regular expression patterns for validating tag formats and classifications.
- Exception Handling: Built-in exception handling for robust and error-free tag manipulation.
Installation
To install PHP-Tag, run the following command using Composer:
Usage
Below is a quick example of how to use the PHP-Tag library:
For a more thorough understanding of PHP-Tag library functionalities, please refer to the example.php file.
Contribution
Contributions are welcome! Feel free to issue pull requests or submit issues if you'd like to improve the PHP-Tag library or add new features.