Download the PHP package horde/service_urlshortener without Composer
On this page you can find all versions of the php package horde/service_urlshortener. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download horde/service_urlshortener
More information about horde/service_urlshortener
Files in horde/service_urlshortener
Download horde/service_urlshortener
More information about horde/service_urlshortener
Files in horde/service_urlshortener
Vendor horde
Package service_urlshortener
Short Description URL shortening library
License LGPL-2.1-only
Homepage https://www.horde.org/libraries/Horde_Service_UrlShortener
Package service_urlshortener
Short Description URL shortening library
License LGPL-2.1-only
Homepage https://www.horde.org/libraries/Horde_Service_UrlShortener
Please rate this library. Is it a good library?
Informations about the package service_urlshortener
Horde Service_UrlShortener
Modern PHP library for URL shortening services with native PSR-7/PSR-17/PSR-18 support.
Installation
Requirements
- PHP 8.1+
- PSR-18 HTTP client implementation
- PSR-17 HTTP factory implementation
Quick Start
Configuration
Architecture
This library provides two API levels for progressive disclosure:
Facade API
Simple string-based interface for basic usage:
Domain API
Rich value objects with detailed metadata:
Value Objects
- LongUrl - Input URL with validation and parsing
- ShortUrl - Output short URL with service metadata
- ShorteningResult - Complete result with metrics (length reduction, expiration, etc.)
- ShortenerConfig - Immutable configuration with fluent interface
Supported Services
- TinyURL (built-in)
- Extensible via
UrlShortenerInterface
Exception Handling
Legacy Support
The PSR-0 lib/ directory provides backward compatibility wrappers for Horde 5 applications. New code should use the modern Horde\Service\UrlShortener namespace.
Documentation
- UPGRADING.md - Migration guide from Horde 5
- API Documentation
License
LGPL 2.1 - See LICENSE file for details.
Contributing
Contributions are welcome! Please follow:
- PHP 8.2+ with strict types
- PER-1 coding style
- Comprehensive unit tests
- Conventional Commits for commit messages
All versions of service_urlshortener with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
horde/exception Version ^3 || dev-FRAMEWORK_6_0
horde/url Version ^3 || dev-FRAMEWORK_6_0
horde/exception Version ^3 || dev-FRAMEWORK_6_0
horde/url Version ^3 || dev-FRAMEWORK_6_0
The package horde/service_urlshortener contains the following files
Loading the files please wait ...