PHPackages                             levmyshkin/photo-swipe - 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. [Image &amp; Media](/categories/media)
4. /
5. levmyshkin/photo-swipe

ActiveDrupal-library[Image &amp; Media](/categories/media)

levmyshkin/photo-swipe
======================

PhotoSwipe v5 — JavaScript image gallery and lightbox as Drupal library

5.2.2(3y ago)023.0k↓18.5%MITJavaScript

Since Oct 6Pushed 3y agoCompare

[ Source](https://github.com/levmyshkin/photo-swipe)[ Packagist](https://packagist.org/packages/levmyshkin/photo-swipe)[ Fund](https://opencollective.com/photoswipe)[ RSS](/packages/levmyshkin-photo-swipe/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

PhotoSwipe v5 — JavaScript image gallery and lightbox as Drupal library.

**[Demo](https://photoswipe.com)** | **[Documentation](https://photoswipe.com/getting-started/)**

[![Sponsor via OpenCollective](https://camo.githubusercontent.com/d6ccf2b61fbec2beacdb5dcd9eb9be0a3280f8fbed94f19caef7c71305cb3c0d/68747470733a2f2f696d672e736869656c64732e696f2f6f70656e636f6c6c6563746976652f616c6c2f70686f746f73776970653f6c6162656c3d53706f6e736f722532307669612532304f70656e436f6c6c656374697665)](https://opencollective.com/photoswipe)[![Follow on Twitter](https://camo.githubusercontent.com/88d6dc19867971aba81c0ef71152ed6459ed20191bfd0d095d1536fdba61c5c3/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f70686f746f73776970653f7374796c653d736f6369616c)](https://twitter.com/intent/user?screen_name=photoswipe)

### Repo structure

[](#repo-structure)

- `dist/` - main JS and CSS
- `src/` - source JS and CSS.
    - `src/js/photoswipe.js` - entry for PhotoSwipe Core.
    - `src/js/lightbox/lightbox.js` - entry for PhotoSwipe Lightbox.
- `docs/` - documentation markdown files.
- `demo-docs-website/` - website with documentation, demos and manual tests.
- `build/` - rollup build config.

To build JS and CSS in `dist/` directory, run `npm run build`.

To run the demo website and automatically rebuild files during development, run `npm install` in `demo-docs-website/` and `npm run watch` in the root directory.

### Older versions

[](#older-versions)

Documentation for the old version (v4) can be found [here](https://photoswipe.com/v4-docs/getting-started.html) and [the code for 4.1.3 is here](https://github.com/dimsemenov/PhotoSwipe/tree/v4.1.3).

---

This project is tested with [BrowserStack](https://www.browserstack.com/).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 89.3% 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

1320d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b36520942f79193ba42311edf66bce9654c126a2d6733a5b3a627a4a217229f?d=identicon)[levmyshkin](/maintainers/levmyshkin)

---

Top Contributors

[![dimsemenov](https://avatars.githubusercontent.com/u/1061115?v=4)](https://github.com/dimsemenov "dimsemenov (452 commits)")[![billinghamj](https://avatars.githubusercontent.com/u/905772?v=4)](https://github.com/billinghamj "billinghamj (7 commits)")[![jasonlcrane](https://avatars.githubusercontent.com/u/297528?v=4)](https://github.com/jasonlcrane "jasonlcrane (4 commits)")[![ChrisMcKee](https://avatars.githubusercontent.com/u/83597?v=4)](https://github.com/ChrisMcKee "ChrisMcKee (4 commits)")[![subzey](https://avatars.githubusercontent.com/u/810582?v=4)](https://github.com/subzey "subzey (4 commits)")[![DanielMuller](https://avatars.githubusercontent.com/u/1829555?v=4)](https://github.com/DanielMuller "DanielMuller (3 commits)")[![thorstein5](https://avatars.githubusercontent.com/u/1812397?v=4)](https://github.com/thorstein5 "thorstein5 (3 commits)")[![zsdycs](https://avatars.githubusercontent.com/u/44798353?v=4)](https://github.com/zsdycs "zsdycs (2 commits)")[![inlikealion](https://avatars.githubusercontent.com/u/347072?v=4)](https://github.com/inlikealion "inlikealion (2 commits)")[![irudoy](https://avatars.githubusercontent.com/u/5372690?v=4)](https://github.com/irudoy "irudoy (2 commits)")[![slavanga](https://avatars.githubusercontent.com/u/1077807?v=4)](https://github.com/slavanga "slavanga (2 commits)")[![codecomputerlove](https://avatars.githubusercontent.com/u/688697?v=4)](https://github.com/codecomputerlove "codecomputerlove (2 commits)")[![louy](https://avatars.githubusercontent.com/u/349850?v=4)](https://github.com/louy "louy (2 commits)")[![StephenBrown2](https://avatars.githubusercontent.com/u/1148665?v=4)](https://github.com/StephenBrown2 "StephenBrown2 (1 commits)")[![tobyzerner](https://avatars.githubusercontent.com/u/128862?v=4)](https://github.com/tobyzerner "tobyzerner (1 commits)")[![Tw1N88](https://avatars.githubusercontent.com/u/9476512?v=4)](https://github.com/Tw1N88 "Tw1N88 (1 commits)")[![zachhale](https://avatars.githubusercontent.com/u/3869?v=4)](https://github.com/zachhale "zachhale (1 commits)")[![johanoren](https://avatars.githubusercontent.com/u/39096269?v=4)](https://github.com/johanoren "johanoren (1 commits)")[![asadovsky](https://avatars.githubusercontent.com/u/538767?v=4)](https://github.com/asadovsky "asadovsky (1 commits)")[![brunob](https://avatars.githubusercontent.com/u/418064?v=4)](https://github.com/brunob "brunob (1 commits)")

### Embed Badge

![Health badge](/badges/levmyshkin-photo-swipe/health.svg)

```
[![Health](https://phpackages.com/badges/levmyshkin-photo-swipe/health.svg)](https://phpackages.com/packages/levmyshkin-photo-swipe)
```

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)[humanmade/tachyon-plugin

Rewrites WordPress image URLs to use Tachyon

87338.5k2](/packages/humanmade-tachyon-plugin)

PHPackages © 2026

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