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

20

—

LowBetter than 13% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

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

681d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/30804999?v=4)[matfire](/maintainers/matfire)[@matfire](https://github.com/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

[laravel/framework

The Laravel Framework.

34.8k543.8M20.0k](/packages/laravel-framework)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

23.9k69.5k](/packages/grumpydictator-firefly-iii)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[roundcube/roundcubemail

The Roundcube Webmail suite

7.1k2.4k3](/packages/roundcube-roundcubemail)[phlak/directory-lister

PHP directory lister

2.5k1.4k](/packages/phlak-directory-lister)

PHPackages © 2026

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