Skip to content

Commit

Permalink
deprecate package
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin Viebrock committed Sep 5, 2017
1 parent 1a75be4 commit 244bafa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
15 changes: 8 additions & 7 deletions README.md
Expand Up @@ -2,6 +2,10 @@

Extra validation rules for dealing with images in Laravel 5.

> *NOTE*: As of Laravel version 5.2, there are now
[built-in validation rules for image dimensions and aspect ratios](https://laravel.com/docs/validation#rule-dimensions).
> This package is not required and will no longer be maintained.
[![Build Status](https://travis-ci.org/cviebrock/image-validator.svg?branch=master&format=flat)](https://travis-ci.org/cviebrock/image-validator)
[![Total Downloads](https://poser.pugx.org/cviebrock/image-validator/downloads?format=flat)](https://packagist.org/packages/cviebrock/image-validator)
[![Latest Stable Version](https://poser.pugx.org/cviebrock/image-validator/v/stable?format=flat)](https://packagist.org/packages/cviebrock/image-validator)
Expand All @@ -10,9 +14,6 @@ Extra validation rules for dealing with images in Laravel 5.
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/bc2c9e90-2edf-4047-9b3c-a5aa15da165b/mini.png)](https://insight.sensiolabs.com/projects/bc2c9e90-2edf-4047-9b3c-a5aa15da165b)
[![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg?style=flat-square)](https://opensource.org/licenses/MIT)

> *NOTE*: Laravel 5.5 now has [built-in validation rules for image dimensions](https://laravel.com/docs/5.5/validation#rule-dimensions)
> so you probably don't need this package if you are using Laravel 5.5 or later.
* [Installation](#installation)
* [Usage](#usage)
* [image_size](#image_size)
Expand All @@ -31,11 +32,11 @@ Extra validation rules for dealing with images in Laravel 5.
> | Laravel Version | Package Version |
> |:---------------:|:---------------:|
> | 4.* | 1.x |
> | 5.0–5.3 | 2.1 |
> | 5.4 | 2.2 |
> | 5.5 | not required† |
> | 5.0–5.3 | 2.1 |
> | 5.4 | 2.2 |
> | 5.5 | not supported† |
>
> † Laravel 5.5 has [built-in validation rules for image dimensions](https://laravel.com/docs/5.5/validation#rule-dimensions).
> † Laravel 5.2 and later have [built-in validation rules for image dimensions](https://laravel.com/docs/5.5/validation#rule-dimensions).
Install the package through [Composer](http://getcomposer.org).

Expand Down
3 changes: 2 additions & 1 deletion composer.json
Expand Up @@ -4,7 +4,8 @@
"keywords": [
"laravel",
"validator",
"image"
"image",
"deprecated"
],
"homepage": "https://github.com/cviebrock/image-validator",
"license": "MIT",
Expand Down

0 comments on commit 244bafa

Please sign in to comment.