PHPackages                             davide-casiraghi/laravel-columns - 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-columns

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

davide-casiraghi/laravel-columns
================================

A Laravel library to generate responsive columns with multi language contents.

1.0.1(6y ago)01MITHTMLPHP ^7.1

Since Jun 18Pushed 6y agoCompare

[ Source](https://github.com/davide-casiraghi/laravel-columns)[ Packagist](https://packagist.org/packages/davide-casiraghi/laravel-columns)[ Docs](https://github.com/davide-casiraghi/laravel-columns)[ RSS](/packages/davide-casiraghi-laravel-columns/feed)WikiDiscussions master Synced yesterday

READMEChangelog (6)Dependencies (8)Versions (7)Used By (0)

Laravel columns
===============

[](#laravel-columns)

[![Latest Version on Packagist](https://camo.githubusercontent.com/075081f0d179da44499df46ff2a54622613861350b67ffd523933539d52ccf8f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6461766964652d6361736972616768692f6c61726176656c2d636f6c756d6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/davide-casiraghi/laravel-columns)[![Build Status](https://camo.githubusercontent.com/b53b5153d7480e738b52ef52b524b36cdf4e06343091ac1e33019807f21ade54/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6461766964652d6361736972616768692f6c61726176656c2d636f6c756d6e732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/davide-casiraghi/laravel-columns)[![StyleCI](https://camo.githubusercontent.com/ba89a613cba24622dd8ba16d96e2887adad951a33c152257872213e72d3930e5/68747470733a2f2f7374796c6563692e696f2f7265706f732f3139323536373436342f736869656c643f7374796c653d666c61742d737175617265)](https://styleci.io/repos/192567464)[![Quality Score](https://camo.githubusercontent.com/5f3033e9b8acf749d75ccee7a4e506c9cec19c92fc02be7e2071b255a7fd502f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6461766964652d6361736972616768692f6c61726176656c2d636f6c756d6e732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/davide-casiraghi/laravel-columns)[![Coverage Status](https://camo.githubusercontent.com/96cca5102acb3231de494a948c625819d4f271cbe582d7af10512daede0d20ea/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6461766964652d6361736972616768692f6c61726176656c2d636f6c756d6e732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/davide-casiraghi/laravel-columns/)[![](https://camo.githubusercontent.com/e42f0919f5d85bcd97386146154c17a6dc45718c549453512c77dc6250676733/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f33356438633436623136343163643262366265632f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/davide-casiraghi/laravel-columns/maintainability)[![GitHub last commit](https://camo.githubusercontent.com/066c0f1965dba1f68adcf035eff9068f5631e116014e2df7343dc20fdffaf936/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f6461766964652d6361736972616768692f6c61726176656c2d636f6c756d6e732e737667)](https://github.com/davide-casiraghi/laravel-columns)

A Laravel library to generate responsive columns with multi language contents.

The library replace all the occurances of this snippet

```
{# column_group column_group_id=[1] #}

```

With the some HTML code of the relative column group. This code uses bootstrap 4.

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

[](#installation)

You can install the package via composer:

```
composer require davide-casiraghi/laravel-columns
```

### 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`

### Install Press.css npm package for the buttons style

[](#install-presscss-npm-package-for-the-buttons-style)

`npm install press-css`

### Import the scss files

[](#import-the-scss-files)

Add this lines to your **resources/sass/app.scss** file:

```
@import "~press-css/css/press.css";
@import 'vendor/laravel-columns/columns';

```

and then run in console:
`npm run dev`

Usage
-----

[](#usage)

### Authorization

[](#authorization)

> To work the package aspect that in your user model and table you have a field called **group** that can have this possible values:

- null: Registered user
- 1: Super Admin
- 2: Admin

> Just the users that have **Admin** and **Super admin** privileges can access to the routes that allow to create, edit and delete the blogs, categories and posts. Otherwise you get redirected to the homepage.

### Access to the package

[](#access-to-the-package)

After the package is published this new routes will be available:

- /columnGroups
- /columns

Accessing to this routes you can manage new column groups and columns.

### Replace the snippet occurrances

[](#replace-the-snippet-occurrances)

Then to replace all the occurrance of the column group snippets:

```
use DavideCasiraghi\LaravelColumns\Facades\LaravelColumns;

$text = LaravelColumns::replace_column_group_snippets_with_template($text);
```

### Testing

[](#testing)

```
./vendor/bin/phpunit --coverage-html=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

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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

Recently: every ~52 days

Total

6

Last Release

2303d ago

Major Versions

0.0.4 → 1.0.02019-07-08

### 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 (134 commits)")

---

Tags

davide-casiraghilaravel-columns

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  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)
