PHPackages                             matfire/commonmark-photoswipe - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. matfire/commonmark-photoswipe

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

matfire/commonmark-photoswipe
=============================

Photoswipe integration for commonmark

0.0.1(1y ago)014MITPHP

Since Aug 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/matfire/commonmark-photoswipe)[ Packagist](https://packagist.org/packages/matfire/commonmark-photoswipe)[ RSS](/packages/matfire-commonmark-photoswipe/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Commonmark Photoswipe
=====================

[](#commonmark-photoswipe)

> A package to automatically convert images in a markdown file allowing them to be picked up by [Photoswipe](https://photoswipe.com/)

[![Packagist Version](https://camo.githubusercontent.com/cff7bfc0b5f2ee13b437560cb55ee663c61eb8c5bf542ae0cceac81ce226e40d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6174666972652f636f6d6d6f6e6d61726b2d70686f746f73776970653f7374796c653d666f722d7468652d6261646765266c696e6b3d68747470732533412532462532467061636b61676973742e6f72672532467061636b616765732532466d6174666972652532466c61726176656c2d6c6f63616c2d74656d702d75726c73)](https://camo.githubusercontent.com/cff7bfc0b5f2ee13b437560cb55ee663c61eb8c5bf542ae0cceac81ce226e40d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6174666972652f636f6d6d6f6e6d61726b2d70686f746f73776970653f7374796c653d666f722d7468652d6261646765266c696e6b3d68747470732533412532462532467061636b61676973742e6f72672532467061636b616765732532466d6174666972652532466c61726176656c2d6c6f63616c2d74656d702d75726c73)[![Packagist Downloads](https://camo.githubusercontent.com/4b065623af75dc2d47632f75ab6ef48ee427ac0582d9c4f23c8e28907b88cb97/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6d6174666972652f636f6d6d6f6e6d61726b2d70686f746f73776970653f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/4b065623af75dc2d47632f75ab6ef48ee427ac0582d9c4f23c8e28907b88cb97/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6d6174666972652f636f6d6d6f6e6d61726b2d70686f746f73776970653f7374796c653d666f722d7468652d6261646765)

Note

This package still requires you to load and initialize photoswipe (for now, at least)

Installation
------------

[](#installation)

```
composer require matfire/commonmark-photoswipe
```

Usage
-----

[](#usage)

This extension was mainly created to work with [Spatie's markdown extension](https://spatie.be/docs/laravel-markdown/v1/introduction). To use with this extension, use it like you would any other extension.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

627d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ac9f10ef215cf6df7b229cef9ae67e43594e07dcbd049450a200bb3781487c6?d=identicon)[matfire](/maintainers/matfire)

---

Top Contributors

[![matfire](https://avatars.githubusercontent.com/u/30804999?v=4)](https://github.com/matfire "matfire (4 commits)")

### Embed Badge

![Health badge](/badges/matfire-commonmark-photoswipe/health.svg)

```
[![Health](https://phpackages.com/badges/matfire-commonmark-photoswipe/health.svg)](https://phpackages.com/packages/matfire-commonmark-photoswipe)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[phiki/phiki

Syntax highlighting using TextMate grammars in PHP.

3573.0M23](/packages/phiki-phiki)[spatie/commonmark-highlighter

Highlight your markdown code blocks with league/commonmark

138400.5k19](/packages/spatie-commonmark-highlighter)[monsieurbiz/sylius-rich-editor-plugin

A Rich Editor plugin for Sylius.

75380.8k6](/packages/monsieurbiz-sylius-rich-editor-plugin)[horstoeko/zugferdvisualizer

A library

33198.3k2](/packages/horstoeko-zugferdvisualizer)[torchlight/engine

The PHP-based Torchlight code annotation and rendering engine.

655.7k4](/packages/torchlight-engine)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
