PHPackages                             dansmith/laravel5-foundation - 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. dansmith/laravel5-foundation

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

dansmith/laravel5-foundation
============================

Zurb Foundation components for Laravel5

v0.3.0(10y ago)104.6k3[1 issues](https://github.com/DanSmith83/laravel5-foundation/issues)MITPHPPHP &gt;=5.5.0

Since Feb 6Pushed 10y ago3 watchersCompare

[ Source](https://github.com/DanSmith83/laravel5-foundation)[ Packagist](https://packagist.org/packages/dansmith/laravel5-foundation)[ RSS](/packages/dansmith-laravel5-foundation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (7)Used By (0)

[![Build Status](https://camo.githubusercontent.com/4749bb635d60bd7f1c0ee26beaf0f6a3626a947cac957215324160e47cb399a5/68747470733a2f2f7472617669732d63692e6f72672f44616e536d69746838332f6c61726176656c352d666f756e646174696f6e2e737667)](https://travis-ci.org/DanSmith83/laravel5-foundation)

laravel5-foundation
===================

[](#laravel5-foundation)

Create easy pagination and form elements based on the [Zurb Foundation](http://foundation.zurb.com) framework.

\##Installation

Add to composer.json:

`"dansmith/laravel5-foundation": "0.3.*"`

This package comes with two service providers which should be added to the providers array in your config/app.php file:

- `'Foundation\FoundationServiceProvider',`
- `'Foundation\FoundationFormServiceProvider',`

Add the facade (Optional):

- `'Foundation' => 'Foundation\Facades\Foundation',`

Pagination
----------

[](#pagination)

Call the corresponding method on the facade depending on whether your collection is using simple or regular pagination.

```
{!! $users->render(Foundation::simplePaginate($users)) !!}

```

```

    {!! $users->render(Foundation::paginate($users)) !!}

```

Forms
-----

[](#forms)

The form component extends the Illuminate Form Builder package, which means all of the regular methods are available as normal.

```
{!! Form::text('title', $page->title) !!}

```

The extension allows the creation of inputs which are nested inside of their labels, which removes the need to connect them using the for attribute. The nested inputs follow the same naming conventions as the base inputs, with a prefix of 'wrapped'. The only difference being that the label text is now specified as the second parameter.

```
{!! Form::wrappedText('title', 'Title', $page->title) !!}

```

If there are any validation errors which match the name of the specified input, an error class will be applied to both the label and input elements and the first error found will be inserted into a small element (See the [Foundation documentation](http://foundation.zurb.com/docs/components/forms.html) for examples)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

Total

6

Last Release

3894d ago

PHP version history (2 changes)0.1PHP &gt;=5.4.0

v0.3.0PHP &gt;=5.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/aab0acb7b1f7f42c016fbb5f0be19c2d24e92f347703822a3844abe67c5ab603?d=identicon)[dansmith](/maintainers/dansmith)

---

Top Contributors

[![DanSmith83](https://avatars.githubusercontent.com/u/6223397?v=4)](https://github.com/DanSmith83 "DanSmith83 (3 commits)")[![tjbp](https://avatars.githubusercontent.com/u/2157634?v=4)](https://github.com/tjbp "tjbp (3 commits)")

---

Tags

laravellaravel5foundation

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dansmith-laravel5-foundation/health.svg)

```
[![Health](https://phpackages.com/badges/dansmith-laravel5-foundation/health.svg)](https://phpackages.com/packages/dansmith-laravel5-foundation)
```

###  Alternatives

[anahkiasen/former

A powerful form builder

1.4k1.4M14](/packages/anahkiasen-former)[leantony/laravel-grid

A grid view for laravel, inspired by the yii2 grid widget

9060.2k](/packages/leantony-laravel-grid)[brexis/laravel-workflow

Integerate Symfony Workflow component into Laravel.

283125.6k](/packages/brexis-laravel-workflow)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[summerblue/generator

Extend Laravel's generators scaffold.

34139.9k](/packages/summerblue-generator)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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