PHPackages                             noking50/module\_banner\_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. noking50/module\_banner\_carousel

ActiveLibrary

noking50/module\_banner\_carousel
=================================

The module of banner carousel

1.0.1(7y ago)034PHP

Since Jun 21Pushed 7y agoCompare

[ Source](https://github.com/noking50/module_banner_carousel)[ Packagist](https://packagist.org/packages/noking50/module_banner_carousel)[ RSS](/packages/noking50-module-banner-carousel/feed)WikiDiscussions master Synced 1mo ago

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

Module Banner Carousel
======================

[](#module-banner-carousel)

banner carousel

Installing
----------

[](#installing)

### 1. Install from composer

[](#1-install-from-composer)

```
composer required noking50/module_banner_carousel

```

### 2. Publish resoure

[](#2-publish-resoure)

```
php artisan vendor:publish

```

It would generate below files config/module\_banner\_carousel.php resources/lang/vendor/module\_banner\_carousel/ resources/views/vendor/module\_banner\_carousel/

### 3. configure file config/module\_banner\_carousel.php

[](#3-configure-file-configmodule_banner_carouselphp)

- set data table name

```
'datatable' => 'module_banner_carousel'

```

- set each using banner page configure

```
'groups' => [
    'home' => [
        'photo_pc_scale' => '1920_800', // PC image size
        'photo_mobile_scale' => '800_250', // Mobile image size
        'banner_count' => 0, // how many image roll
    ],
    'other_banner' => [],
    ...
],

```

### 4. migration

[](#4-migration)

```
php artisan migrate

```

create banner carouse database table, table name will be config file settings above

Usage
-----

[](#usage)

### Package method

[](#package-method)

- list backend

```
$output = ModulesBannerCarousel::listBackend($group);

```

$output is an array contains key: 'dataSet\_module\_banner\_carousel' - list of banner data

- list frontend

```
$output = ModulesBannerCarousel::listFrontend($group);

```

$output is an array contains key: 'dataSet\_module\_banner\_carousel' - list of banner data

- get data detail

```
$output = ModulesBannerCarousel::detailBackend($group);

```

$output is an array contains key: 'dataRow\_module\_banner\_carousel' - Model data from given id 'form\_choose\_lang' - list of all available language and indicate each language has setting value

- get required data for add page

```
$output = ModulesBannerCarousel::detailBackendAdd($group);

```

$output is an array contains key: 'form\_choose\_lang' - list of all available language and indicate each language has setting value 'dataSet\_module\_banner\_carousel' - list of ordered and active banner data

- get data detail and other required data for edit page

```
$output = ModulesBannerCarousel::detailBackendEdit($group);

```

$output is an array contains key: 'dataRow\_module\_banner\_carousel' - Model data from given id 'form\_choose\_lang' - list of all available language and indicate each language has setting value 'dataSet\_module\_banner\_carousel' - list of ordered and active banner data

- add data

```
$output = ModulesBannerCarousel::actionAdd($group);

```

$output is an array contains key: 'msg' - success message

- edit data

```
$output = ModulesBannerCarousel::actionEdit($group);

```

$output is an array contains key: 'msg' - success message

- change data status

```
$output = ModulesBannerCarousel::actionStatus($group);

```

$output is an array contains key: 'msg' - success message

- delete data

```
$output = ModulesBannerCarousel::actionDelete($group);

```

$output is an array contains key: 'msg' - success message

### default controller

[](#default-controller)

using a default controller in Module\\Controllers\\ModuleBannerCarouselController

- set Route like below

```
Route::get('/list', [
    'uses' => "\\Noking50\\Modules\\BannerCarousel\\Controllers\\ModuleBannerCarouselController@index",
    'module_banner_carousel_group' => 'home',
]);
Route::get('/add', [
    'uses' => "\\Noking50\\Modules\\BannerCarousel\\Controllers\\ModuleBannerCarouselController@add",
    'module_banner_carousel_group' => 'home',
])

```

'module\_banner\_carousel\_group' is which group setting in config will be used

- set view set views in resources/views/vendor/module\_banner\_carousel/

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity63

Established project with proven stability

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 ~11 days

Total

2

Last Release

2868d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1f84995f10f0ff53eef8966b9284b81fb5bf641b9611923cde4282fb8a1c48bc?d=identicon)[noking50](/maintainers/noking50)

---

Tags

laravel

### Embed Badge

![Health badge](/badges/noking50-module-banner-carousel/health.svg)

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

###  Alternatives

[rtconner/laravel-likeable

Trait for Laravel Eloquent models to allow easy implementation of a 'like' or 'favorite' or 'remember' feature.

394388.0k5](/packages/rtconner-laravel-likeable)[hemp/presenter

Easy Model Presenters in Laravel

247592.6k1](/packages/hemp-presenter)[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)

PHPackages © 2026

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