PHPackages                             mrshanebarron/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. [Image &amp; Media](/categories/media)
4. /
5. mrshanebarron/carousel

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

mrshanebarron/carousel
======================

Image carousel/slider component for Laravel - supports Livewire and Vue

v1.0.1(5mo ago)08MITBladePHP ^8.1

Since Dec 14Pushed 4mo agoCompare

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

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Carousel
========

[](#carousel)

A responsive image/content carousel component for Laravel applications. Supports auto-play, navigation, and indicators. Works with Livewire and Vue 3.

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

[](#installation)

```
composer require mrshanebarron/carousel
```

Livewire Usage
--------------

[](#livewire-usage)

### Basic Usage

[](#basic-usage)

```

```

### Auto-play

[](#auto-play)

```

```

### With Navigation

[](#with-navigation)

```

```

### Livewire Props

[](#livewire-props)

PropTypeDefaultDescription`slides`arrayrequiredArray of slide objects`autoplay`boolean`false`Auto-advance slides`interval`number`3000`Autoplay interval (ms)`show-arrows`boolean`true`Show prev/next arrows`show-indicators`boolean`true`Show dot indicatorsVue 3 Usage
-----------

[](#vue-3-usage)

### Setup

[](#setup)

```
import { SbCarousel } from './vendor/sb-carousel';
app.component('SbCarousel', SbCarousel);
```

### Basic Usage

[](#basic-usage-1)

```

const slides = [
  { image: '/images/slide1.jpg', title: 'First Slide' },
  { image: '/images/slide2.jpg', title: 'Second Slide' },
  { image: '/images/slide3.jpg', title: 'Third Slide' }
];

```

### With Auto-play

[](#with-auto-play)

```

```

### Custom Slides via Slot

[](#custom-slides-via-slot)

```

        {{ products[index].name }}
        {{ products[index].price }}

```

### Hero Carousel

[](#hero-carousel)

```

          {{ slide.title }}
          {{ slide.description }}

```

### Vue Props

[](#vue-props)

PropTypeDefaultDescription`slides`Array`[]`Slide data array`autoplay`Boolean`false`Auto-advance`interval`Number`3000`Autoplay interval`showArrows`Boolean`true`Navigation arrows`showIndicators`Boolean`true`Dot indicators`slideCount`Number-For slot-based slides### Events

[](#events)

EventPayloadDescription`change``index`Slide changed### Slots

[](#slots)

SlotPropsDescription`slide``{ slide, index }`Custom slide contentSlide Object
------------

[](#slide-object)

```
{
  image: '/path/to/image.jpg',  // Image URL
  title: 'Slide Title',          // Optional title
  description: 'Description',    // Optional description
  link: '/page'                  // Optional link
}
```

Features
--------

[](#features)

- **Auto-play**: Automatic slide advancement
- **Navigation**: Previous/next arrows
- **Indicators**: Clickable dot navigation
- **Touch Support**: Swipe on mobile
- **Keyboard**: Arrow key navigation
- **Responsive**: Full-width responsive

Styling
-------

[](#styling)

Uses Tailwind CSS:

- Full-width container
- Centered arrows
- Bottom indicators
- Smooth transitions

Requirements
------------

[](#requirements)

- PHP 8.1+
- Laravel 10, 11, or 12
- Tailwind CSS 3.x

License
-------

[](#license)

MIT License

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance73

Regular maintenance activity

Popularity4

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

154d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a38dc9b4ccc180ee3e9df8879f8747ea9dbf36812c6546827fe504fa8993eb8?d=identicon)[mrshanebarron](/maintainers/mrshanebarron)

---

Tags

laravellivewiregallerycarouselslidervue

### Embed Badge

![Health badge](/badges/mrshanebarron-carousel/health.svg)

```
[![Health](https://phpackages.com/badges/mrshanebarron-carousel/health.svg)](https://phpackages.com/packages/mrshanebarron-carousel)
```

###  Alternatives

[intervention/image-laravel

Laravel Integration of Intervention Image

1496.5M102](/packages/intervention-image-laravel)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[classic-o/nova-media-library

Tool and field that will let you managing files and add them to the posts

154172.0k](/packages/classic-o-nova-media-library)[webplusm/gallery-json-media

a filament media storing in a Json field

196.0k](/packages/webplusm-gallery-json-media)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
