verbb / shortcut
A Craft CMS plugin for creating and reusing short URLs with multiple providers.
Fund package maintenance!
Requires
- php: ^8.2
- craftcms/cms: ^5.0.0
- verbb/base: ^3.0.18
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-02 06:11:52 UTC
README
Shortcut for Craft CMS
Shortcut is a Craft CMS plugin that creates compact URLs from Craft without tying templates to one shortening service. Generate, store, and retrieve short links through a consistent API while choosing the provider that suits the project.
Pass a URL to Shortcut from Twig or PHP and receive a compact version suitable for messages, printed material, or other space-conscious contexts. Previously generated results can be retained rather than recreated on every request.
Features
- Turn long destinations into compact links from Twig or PHP.
- Reuse generated shortcuts instead of requesting the same link repeatedly.
- Select a shortening service that fits the project.
- Use Bitly, TinyURL, is.gd, Rebrandly, or Short.io when links should be created externally.
- Keep shortened URLs within Craft when an external provider is unnecessary.
- Generate and retrieve shortcuts close to where they are presented.
- Add another service behind a consistent shortener interface.
- Keep service selection and credentials out of presentation templates.
Documentation
Visit the Shortcut Plugin page for all documentation, guides, pricing and developer resources.
Credit & Thanks
Originally created by the team at Superbig.
Support
Get in touch with us via the Shortcut Support page or by creating a Github issue
Sponsor
Shortcut is licensed under the MIT license, meaning it will always be free and open source - we love free stuff! If you'd like to show your support to the plugin regardless, Sponsor development.