the-3labs-team / laravel-referral-rewriter-tag
Laravel Referral Rewriter Tag
v1.0.2
2024-11-05 15:33 UTC
Requires
- php: ^8.1
- illuminate/contracts: ^10.0
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.8
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^8.8
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- rector/rector: ^0.18.3
README
Installation
You can install the package via composer:
composer require the-3labs-team/laravel-referral-rewriter-tag
Usage
Before: https://www.amazon.i/dp/1520569912
$referralRewriterTag = ReferralRewriterTag::rewrite('https://www.amazon.it/dp/1520569912', 'my-tag', 'my-subtag');
After: https://www.amazon.it/dp/1520569912?tag=my-tag&ascsubtag=my-subtag
Supported Shops
- Amazon
- Ebay
- Instant-Gaming
- ... more to come!
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.