PHPackages                             samcrosoft/placeholder - 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. samcrosoft/placeholder

ActiveLibrary[Image &amp; Media](/categories/media)

samcrosoft/placeholder
======================

The Simple PHP Image Placeholder Package

01.8kPHP

Since Jun 3Pushed 10y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

placeholder images
==================

[](#placeholder-images)

This is a simple package that creates image placeholders using the GD Library. It makes it possible to self host a service to create an imge placeholder just like (placehold.it)

### Requirements

[](#requirements)

1. PHP GD

### How To Install

[](#how-to-install)

```
 composer require samcrosoft/placeholder:"dev-master"

```

### Usage

[](#usage)

To create a simple image placeholder that would be returned as an http response is simple as described below

```
