Skip to content

🏷️ A simple solution for rewrite shop tags with your own tags and subtags

License

Notifications You must be signed in to change notification settings

The-3Labs-Team/laravel-referral-rewriter-tag

Repository files navigation

Laravel Referral Rewriter Tag

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status PHPStan Maintainability Test Coverage Total Downloads

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.