Download the PHP package mozex/commonmark-routes without Composer
On this page you can find all versions of the php package mozex/commonmark-routes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mozex/commonmark-routes
More information about mozex/commonmark-routes
Files in mozex/commonmark-routes
Package commonmark-routes
Short Description Laravel routes in Markdown: A CommonMark extension to seamlessly use Laravel route functions within your Markdown content.
License MIT
Homepage https://github.com/mozex/commonmark-routes
Informations about the package commonmark-routes
Use Laravel Routes inside markdown
An extension for league/commonmark that allows you to use Laravel routes inside markdown, just as you would in your PHP code.
Warning: This extension is intended for use in controlled environments where the markdown is trusted. Do not use this extension for processing user-input markdown due to potential security risks.
Table of Contents
- Support Us
- Installation
- Usage
- Basic Usage
- Spatie Laravel Markdown
- Testing
- Changelog
- Contributing
- Security Vulnerabilities
- Credits
- License
Support us
Creating and maintaining open-source projects requires significant time and effort. Your support will help enhance the project and enable further contributions to the PHP community.
Sponsorship can be made through the GitHub Sponsors program. Just click the "Sponsor" button at the top of this repository. Any amount is greatly appreciated, even a contribution as small as $1 can make a big difference and will go directly towards developing and improving this package.
Thank you for considering sponsoring. Your support truly makes a difference!
Installation
Requires PHP 8.1+
You can install the package via composer:
Usage
Register RoutesExtension as a CommonMark extension and use the route function instead of URLs in your markdown, just as you would in your PHP code.
For more information on CommonMark extensions and environments, refer to the CommonMark documentation.
Spatie Laravel Markdown
When using the Laravel Markdown package, you may register the extension in config/markdown.php
:
Testing
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
- Mozex
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of commonmark-routes with dependencies
laravel/framework Version ^10.34.2|^11.29.0|^12.0
league/commonmark Version ^2.4
spatie/laravel-package-tools Version ^1.19.0