PHPackages                             cecostadev/check-type - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. cecostadev/check-type

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

cecostadev/check-type
=====================

A library to validate file types such as images and documents.

v1.0.0(1y ago)23MITPHPPHP &gt;=7.4

Since Dec 31Pushed 1y ago1 watchersCompare

[ Source](https://github.com/cecostadev/check-type)[ Packagist](https://packagist.org/packages/cecostadev/check-type)[ RSS](/packages/cecostadev-check-type/feed)WikiDiscussions main Synced 1mo ago

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

CheckType
=========

[](#checktype)

A library to validate file types such as images and documents.

Installation
------------

[](#installation)

Via Composer:

```
composer require cecostadev/check-type
```

Usage
-----

[](#usage)

Here are some examples on how to use the `CheckType` library in your PHP projects.

### Validate an Image

[](#validate-an-image)

```
