Download the PHP package pk/markdownify-bundle without Composer
On this page you can find all versions of the php package pk/markdownify-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pk/markdownify-bundle
More information about pk/markdownify-bundle
Files in pk/markdownify-bundle
Package markdownify-bundle
Short Description Symfony2 bundle that integrates the Markdownify class as a service
License MIT
Homepage http://github.com/pkruithof/markdownify-bundle
Informations about the package markdownify-bundle
NOTE: This project is deprecated and will be archived!
When Symfony was in version 2 (and later 3) this bundle made a lot more sense than it does now. With the introduction of Symfony 4, bundles become less and less important. Furthermore, this bundle mainly adds a service, which you can easily configure in your Symfony application. You don't need a bundle for that.
For these reasons, the project is deprecated and will be archived in some time. If you are using this, please consider removing it and configure the service like this:
Original readme:
Provides Symfony integration for the Markdownify/Markdownify_Extra scripts.
The original Markdownify from Milian Wolff has been refactored by myself (see modifications) and later by Pixel418.
The latter is now merged back into this bundle as a dependency, so that the ongoing development in that repo is also available in this bundle.
Requirements
The bundle is built for Symfony 2.7 and up. It should work on older versions, but they are not supported.
Installation
AppKernel.php
Add to app/AppKernel.php
:
Configuration
The configuration is optional as all options have defaults.
Usage
The bundle registers a markdownify
service. Use it as you would use the Markdownify class:
NOTE: Before version 3.0, the Markdownify classes were included in this bundle,
which had a different namespace than the \Markdownify
one used currently. If you use
this namespace somewhere in your code, be sure to update them when upgrading to 3.0.
Modifications
The following modifications have been applied to the original Markdownify code.
- PSR 0 to 2 coding standards fix
- Organised properties and methods (properties first, then methods)
License
The MIT License (MIT). Please see License File for more information.
Credits
- Peter Kruithof
- All Contributors
All versions of markdownify-bundle with dependencies
symfony/framework-bundle Version ^2.7|^3.0
pixel418/markdownify Version ^2.1