PHPackages                             guidepilot/php-lottie - 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. guidepilot/php-lottie

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

guidepilot/php-lottie
=====================

A library to extract metadata from Lottie animation and dotLottie files

1.0.0(4y ago)2715MITPHPPHP &gt;=7.4

Since Sep 14Pushed 4y ago2 watchersCompare

[ Source](https://github.com/guidepilot/php-lottie)[ Packagist](https://packagist.org/packages/guidepilot/php-lottie)[ Docs](https://guidepilot.de)[ RSS](/packages/guidepilot-php-lottie/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

PHP Lottie
==========

[](#php-lottie)

The PHP Lottie library allows to simply extract basic metatdata out of [Lottie](https://lottiefiles.com/) animation files and [dotLottie](https://dotlottie.io/) files, such as:

- width and height
- frame rate
- duration

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

[](#installation)

Installing with composer:

```
$ composer require guidepilot/php-lottie

```

Usage
-----

[](#usage)

### Simple usage with lottie animation

[](#simple-usage-with-lottie-animation)

```
