{"id":29401746,"url":"https://github.com/buzzylab/laradown","last_synced_at":"2025-07-10T16:12:33.725Z","repository":{"id":62498539,"uuid":"61923982","full_name":"buzzylab/laradown","owner":"buzzylab","description":"Markdown parser for Laravel built on parsedown","archived":false,"fork":false,"pushed_at":"2020-09-17T09:52:10.000Z","size":40,"stargazers_count":30,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-06T09:48:17.885Z","etag":null,"topics":["html","laravel","markdown","parsedown","php"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buzzylab.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-25T02:54:20.000Z","updated_at":"2025-02-06T16:03:06.000Z","dependencies_parsed_at":"2022-11-02T12:00:45.600Z","dependency_job_id":null,"html_url":"https://github.com/buzzylab/laradown","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/buzzylab/laradown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzzylab%2Flaradown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzzylab%2Flaradown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzzylab%2Flaradown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzzylab%2Flaradown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buzzylab","download_url":"https://codeload.github.com/buzzylab/laradown/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzzylab%2Flaradown/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264465909,"owners_count":23612587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["html","laravel","markdown","parsedown","php"],"created_at":"2025-07-10T16:12:33.180Z","updated_at":"2025-07-10T16:12:33.719Z","avatar_url":"https://github.com/buzzylab.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"Laradown\n--------\n\n\n[![Latest Stable Version](https://poser.pugx.org/buzzylab/laradown/version)](https://packagist.org/packages/buzzylab/laradown)\n[![Total Downloads](https://poser.pugx.org/buzzylab/laradown/downloads)](https://packagist.org/packages/buzzylab/laradown)\n[![Latest Unstable Version](https://poser.pugx.org/buzzylab/laradown/v/unstable)](//packagist.org/packages/buzzylab/laradown)\n[![License](https://poser.pugx.org/buzzylab/laradown/license)](https://packagist.org/packages/buzzylab/laradown)\n[![StyleCI](https://styleci.io/repos/61923982/shield)](https://styleci.io/repos/61923982)\n\nA New `Markdown` parser for Laravel built on [Parsedown](https://github.com/erusev/parsedown) and [Parsedown Extra](https://github.com/erusev/parsedown-extra).\n\n## Installation\n\nThe best and easiest way to install this package is through [Composer](https://getcomposer.org/).\n\n\n### Compatibility\n\nThis package fully compatible with **[Laravel](https://laravel.com)** above `5.4`.\n\n### Require Package\n\nOpen your application's `composer.json` file and add the following line to the `require` array:\n```json\n\"buzzylab/laradown\": \"~0.2\"\n```\n\n\u003e **Note:** Make sure that after the required changes your `composer.json` file is valid by running `composer validate`.\n\nAfter installing the package, open your Laravel config file located at `config/app.php` and add the following service provider to the `$providers` array:\n```php\nBuzzylab\\Laradown\\MarkdownServiceProvider::class,\n```\n\n\u003e **Note:** Checkout Laravel's [Service Providers](https://laravel.com/docs/5.8/providers) and [Service Container](https://laravel.com/docs/5.8/container) documentation for further details.\n\nAnd add the following to `$aliases`\n\n```php\n'Markdown' =\u003e Buzzylab\\Laradown\\Facades\\MarkdownFacade::class\n```\n\n\n## Usage\n\n```php\n\u003c?php\n\necho Markdown::render(); // OR echo Markdown::convert();\n```\nThat's all.\n\n\n## Blade Directive:\n\n### Use `@markdown` directive with parameter:\n\n```php\n@extends('layouts.master')\n\n@section('content')\n\u003cdiv\u003e\n    \n  {{-- $content is markdown data --}}\n  @markdown($content)\n\u003c/div\u003e\n@stop\n```\n\n### Use `@markdown` with `@endmarkdown` as directive block:\n\n```php\n@extends('layouts.master')\n\n@section('content')\n\u003cdiv\u003e\n  @markdown\n  \n  # Laradown Packag\n  \n  @endmarkdown\n\u003c/div\u003e\n@stop\n```\n\n### Add style to your converted html with `@markdownstyle`\n\n```php\n    {{-- Get defaute style file --}}\n    @markdownstyle\n    \n    {{-- Custom style file --}}\n    @markdownstyle($file)\n```\n## Helper Functions:\n\n### `markdown($markdown)`\nConvert markdown content to html\n\n### `markdown_style()`\nAdd style to converted html\n\n## License\n\nThis software is released under [The MIT License (MIT)](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuzzylab%2Flaradown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuzzylab%2Flaradown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuzzylab%2Flaradown/lists"}