PHPackages                             julienlinard/php-carousel - 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. julienlinard/php-carousel

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

julienlinard/php-carousel
=========================

A modern and performant carousel library for PHP with beautiful designs, no external dependencies. Pure CSS/JS native implementation.

1.1.1(3mo ago)48MITPHPPHP &gt;=8.2CI passing

Since Dec 21Pushed 3mo agoCompare

[ Source](https://github.com/julien-lin/php-carousel)[ Packagist](https://packagist.org/packages/julienlinard/php-carousel)[ Docs](https://github.com/julien-lin/php-carousel)[ RSS](/packages/julienlinard-php-carousel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

PHP Carousel
============

[](#php-carousel)

[🇫🇷 Read in French](README.fr.md) | [🇬🇧 Read in English](README.md)

💝 Support the project
---------------------

[](#-support-the-project)

If this bundle is useful to you, consider [becoming a sponsor](https://github.com/sponsors/julien-lin) to support the development and maintenance of this open source project.

---

A modern and performant carousel library for PHP with beautiful designs. Pure CSS/JS native implementation with **zero external dependencies**.

🚀 Installation
--------------

[](#-installation)

```
composer require julienlinard/php-carousel
```

**Requirements**: PHP 8.2 or higher

### Optional Dependencies

[](#optional-dependencies)

The core library has **zero external dependencies**. However, if you want to use Twig or Blade integrations, you need to install the corresponding packages:

**For Twig integration:**

```
composer require twig/twig
```

**For Blade integration (Laravel):**

```
composer require illuminate/support
```

> **Note**: These dependencies are optional. The core carousel functionality works without them. They are only needed if you use the Twig or Blade extensions.

⚡ Quick Start
-------------

[](#-quick-start)

### Simple Image Carousel

[](#simple-image-carousel)

```
