PHPackages                             tomkyle/responsivepicture - 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. tomkyle/responsivepicture

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

tomkyle/responsivepicture
=========================

A PHP wrapper for responsive HTML5 picture elements

1.2.8(11y ago)026PHPPHP &gt;=5.4.9

Since Aug 22Pushed 11y ago2 watchersCompare

[ Source](https://github.com/tomkyle/ResponsivePicture)[ Packagist](https://packagist.org/packages/tomkyle/responsivepicture)[ RSS](/packages/tomkyle-responsivepicture/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (17)Used By (0)

\#Responsive Picture Elements

[![Build Status](https://camo.githubusercontent.com/85677a0d62533b4f784edb820411dfc893b3ee293960c83cef129e50cefde0f9/68747470733a2f2f7472617669732d63692e6f72672f746f6d6b796c652f526573706f6e73697665506963747572652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/tomkyle/ResponsivePicture)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/8c99dab97a62fde93789deb56a73fab848d6776ff6269b8ebc2b5832ec640282/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746f6d6b796c652f526573706f6e73697665506963747572652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/tomkyle/ResponsivePicture/?branch=master)[![Coverage Status](https://camo.githubusercontent.com/cf61a1f51ec2def8b7ee0d6c093fc3082147f1cbb8a5a6feb56584164a9acd93/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f746f6d6b796c652f526573706f6e73697665506963747572652f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/tomkyle/ResponsivePicture?branch=master)

A PHP wrapper for HTML5 picture element. See:

- Scott Jehl's [Picturefill – A responsive image polyfill](http://scottjehl.github.io/picturefill/)
- [Picturefill on Github](https://github.com/scottjehl/picturefill)

\##Installation

This library has no dependencies except from `satooshi/php-coveralls` for testing. Install from command line or `composer.json` file:

\#####Command line

```
composer require tomkyle/responsivepicture

```

\#####composer.json "require": { "tomkyle/responsivepicture": "~1.2" }

\##Getting started

```

```

\##Create output Just create a `ResponsivePictureView` instance and echo it, optionally passing your `ResponsivePicture` object. You may start with no parameters and later set the ResponsivePicture, either by setter method or invoking:

```

```

\##Testing Go to package root, install dependencies with `composer update` or `install`, run `phpunit`.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

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

Every ~0 days

Total

15

Last Release

4280d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/412560?v=4)[Carsten Witt](/maintainers/tomkyle)[@tomkyle](https://github.com/tomkyle)

---

Top Contributors

[![tomkyle](https://avatars.githubusercontent.com/u/412560?v=4)](https://github.com/tomkyle "tomkyle (68 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tomkyle-responsivepicture/health.svg)

```
[![Health](https://phpackages.com/badges/tomkyle-responsivepicture/health.svg)](https://phpackages.com/packages/tomkyle-responsivepicture)
```

###  Alternatives

[colinmollenhour/modman

Module Manager

72176.3k3](/packages/colinmollenhour-modman)[doublesecretagency/craft-cpjs

Add custom JavaScript to your Control Panel.

43163.7k](/packages/doublesecretagency-craft-cpjs)[laravel-admin-ext/summernote

Summernote extension for laravel-admin

37140.5k](/packages/laravel-admin-ext-summernote)[xttribute/xttribute

XML to DTO, nicely!

6329.1k](/packages/xttribute-xttribute)[nuhel/filament-cropper

Cropper Js Implementation for Filament

3658.7k](/packages/nuhel-filament-cropper)[halilcosdu/laravel-replicate

Replicate Laravel PHP client

548.1k](/packages/halilcosdu-laravel-replicate)

PHPackages © 2026

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