PHPackages                             davide-casiraghi/laravel-jumbotron-images - 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. [Templating &amp; Views](/categories/templating)
4. /
5. davide-casiraghi/laravel-jumbotron-images

ActiveLibrary[Templating &amp; Views](/categories/templating)

davide-casiraghi/laravel-jumbotron-images
=========================================

Add a jumbotron images with title and description to your pages. The titles and descriptions support multilanguage.

1.0.6(6y ago)0921MITPHPPHP ^7.1CI failing

Since Apr 27Pushed 6y agoCompare

[ Source](https://github.com/davide-casiraghi/laravel-jumbotron-images)[ Packagist](https://packagist.org/packages/davide-casiraghi/laravel-jumbotron-images)[ Docs](https://github.com/davide-casiraghi/laravel-jumbotron-images)[ RSS](/packages/davide-casiraghi-laravel-jumbotron-images/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (7)Dependencies (7)Versions (8)Used By (1)

Laravel Jumbotron Images
========================

[](#laravel-jumbotron-images)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c2eb6728529b54f8ec8de7b2d262e29690c6afdeae144b5dac6583c9b9d3786f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6461766964652d6361736972616768692f6c61726176656c2d6a756d626f74726f6e2d696d616765732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/davide-casiraghi/laravel-jumbotron-images)[![Build Status](https://camo.githubusercontent.com/2929e47df2d11f9eefb7c6c0655d8c82a20f9c1f55a4cd369984e281b4a12014/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6461766964652d6361736972616768692f6c61726176656c2d6a756d626f74726f6e2d696d616765732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/davide-casiraghi/laravel-jumbotron-images)[![Quality Score](https://camo.githubusercontent.com/8d77380ab960a4c802472f91e93aaef37eaeebd7f42ed58b79bef583bc95adc3/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6461766964652d6361736972616768692f6c61726176656c2d6a756d626f74726f6e2d696d616765732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/davide-casiraghi/laravel-jumbotron-images)[![Coverage Status](https://camo.githubusercontent.com/0bcbca4af39067adffd5ecd20e51b8a2d6207aef5ad2301b664b426274ea4a5d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6461766964652d6361736972616768692f6c61726176656c2d6a756d626f74726f6e2d696d616765732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/davide-casiraghi/laravel-jumbotron-images/)[![](https://camo.githubusercontent.com/2743e97147a5f32250ba6ad0359c30e304fe9e8808cddc3bc7987b416c1545b0/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f39393863323361336239336264646464646533662f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/davide-casiraghi/laravel-jumbotron-images/maintainability)[![GitHub last commit](https://camo.githubusercontent.com/4906b24064859fcfebadc549e7790d72b2f03b12371bb874954d6198cdb9f73c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f6461766964652d6361736972616768692f6c61726176656c2d6a756d626f74726f6e2d696d616765732e737667)](https://github.com/davide-casiraghi/laravel-jumbotron-images)

Add a jumbotron images with title and description to the pages of your Laravel application.
The titles and descriptions support multilanguage.

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

[](#installation)

You can install the package via composer:

```
composer require davide-casiraghi/laravel-jumbotron-images
```

### Publish all the vendor files

[](#publish-all-the-vendor-files)

`php artisan vendor:publish --force`

### Run the database migrations

[](#run-the-database-migrations)

`php artisan migrate`

### Add the JS files to /resources/js/app.js

[](#add-the-js-files-to-resourcesjsappjs)

```
require('./vendor/laravel-jumbotron-images/jquery.stellar');
require('./vendor/laravel-jumbotron-images/laravel-jumbotron-images');

```

### Add the SCSS file to /resources/sass/app.scss

[](#add-the-scss-file-to-resourcessassappscss)

```
@import 'vendor/laravel-jumbotron-images/laravel-jumbotron-images';

```

### Add your jumbotrons to the jumbotrons table

[](#add-your-jumbotrons-to-the-jumbotrons-table)

Once you have published the package you can go to this route to manage your jumbotrons:
**/jumbotron-images**

Usage
-----

[](#usage)

Include the facade in your controller:

```
use DavideCasiraghi\LaravelJumbotronImages\Facades\LaravelJumbotronImages;
```

In the controller, pass to the view the Jumbotron datas. (In this case we want to show the jumbotron with id = 1)

```
$jumbotronImage = LaravelJumbotronImages::getJumbotronImage(1);
return view('welcome', [
    'jumbotronImage' => $jumbotronImage,
    'jumbotronImageParameters' => LaravelJumbotronImages::getParametersArray($jumbotronImage),
]);
```

Then include in the view the jumbotron view.

```
@include('vendor.laravel-jumbotron-images.show-jumbotron-image', $jumbotronImage)
```

### The snippet

[](#the-snippet)

The library replace all the occurrences of this kind of snippet

```
{# jumbotron id=[1] #}
```

Testing
-------

[](#testing)

You can run unit tests checking the code coverage using this command.

```
./vendor/bin/phpunit --coverage-html=html
```

So you can find the reports about the code coverage in this file **/html/index.html**

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Davide Casiraghi](https://github.com/davide-casiraghi)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Recently: every ~67 days

Total

7

Last Release

2305d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d09fa0d9b2a45d611866ca55a837bf8ca2da760ef1aa250cd59f04970f90abf?d=identicon)[davide-casiraghi](/maintainers/davide-casiraghi)

---

Top Contributors

[![davide-casiraghi](https://avatars.githubusercontent.com/u/6308587?v=4)](https://github.com/davide-casiraghi "davide-casiraghi (214 commits)")

---

Tags

jumbotronlaraveldavide-casiraghilaravel-jumbotron-images

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/davide-casiraghi-laravel-jumbotron-images/health.svg)

```
[![Health](https://phpackages.com/badges/davide-casiraghi-laravel-jumbotron-images/health.svg)](https://phpackages.com/packages/davide-casiraghi-laravel-jumbotron-images)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[livewire/blaze

A tool for optimizing Blade component performance by folding them into parent templates

688221.3k17](/packages/livewire-blaze)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[rareloop/lumberjack-core

A powerful MVC framework for the modern WordPress developer. Write better, more expressive and easier to maintain code

42155.0k19](/packages/rareloop-lumberjack-core)

PHPackages © 2026

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