PHPackages                             stevenmaguire/zurb-foundation-laravel - 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. stevenmaguire/zurb-foundation-laravel

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

stevenmaguire/zurb-foundation-laravel
=====================================

Build HTML form elements for Foundation inside Laravel

0.0.2(11y ago)193.8k4GPL-3.0PHPPHP &gt;=5.4.0

Since Jun 27Pushed 11y ago3 watchersCompare

[ Source](https://github.com/stevenmaguire/zurb-foundation-laravel)[ Packagist](https://packagist.org/packages/stevenmaguire/zurb-foundation-laravel)[ RSS](/packages/stevenmaguire-zurb-foundation-laravel/feed)WikiDiscussions master Synced 5d ago

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

[![Total Downloads](https://camo.githubusercontent.com/6a7dd6558367848c8bae7373c0059833cf84ccae597833d18cb88b8f633021dc/68747470733a2f2f706f7365722e707567782e6f72672f73746576656e6d6167756972652f7a7572622d666f756e646174696f6e2d6c61726176656c2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/stevenmaguire/zurb-foundation-laravel)[![Latest Stable Version](https://camo.githubusercontent.com/e3a6180503808e2265ed7952902b6344d0c2e12963cc68ab8444802a960c9261/68747470733a2f2f706f7365722e707567782e6f72672f73746576656e6d6167756972652f7a7572622d666f756e646174696f6e2d6c61726176656c2f762f737461626c652e706e67)](https://packagist.org/packages/stevenmaguire/zurb-foundation-laravel)[![Build Status](https://camo.githubusercontent.com/73d5ef115f3fd037f9ae03504256c44491fa0be4622189f411ab8de351574625/68747470733a2f2f7472617669732d63692e6f72672f73746576656e6d6167756972652f7a7572622d666f756e646174696f6e2d6c61726176656c2e706e67)](https://travis-ci.org/stevenmaguire/zurb-foundation-laravel)[![Coverage Status](https://camo.githubusercontent.com/c719846f03926d7da506a93a918cfdb20a9aeb4138e8d45d88a61d4da2492705/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f73746576656e6d6167756972652f7a7572622d666f756e646174696f6e2d6c61726176656c2f62616467652e706e67)](https://coveralls.io/r/stevenmaguire/zurb-foundation-laravel)[![ProjectStatus](https://camo.githubusercontent.com/0ad154a85d3333c9eb6bde3d3afb09c1c532cace9ccb9858a494d4766afa57c0/687474703a2f2f7374696c6c6d61696e7461696e65642e636f6d2f73746576656e6d6167756972652f7a7572622d666f756e646174696f6e2d6c61726176656c2e706e67)](http://stillmaintained.com/stevenmaguire/zurb-foundation-laravel)

Foundation Laravel (Laravel4 Package)
=====================================

[](#foundation-laravel-laravel4-package)

### tl;dr

[](#tldr)

Build HTML form elements for Foundation inside Laravel 4, including validation error handling. Documentation for the respective frameworks can be found at [Foundation website](http://foundation.zurb.com/docs) and [Laravel website](http://laravel.com/docs).

### Required setup

[](#required-setup)

In the `require` key of `composer.json` file add the following

```
"stevenmaguire/zurb-foundation-laravel": "dev-master"

```

Run the Composer update comand

```
$ composer update

```

In your `config/app.php` add `'Stevenmaguire\Foundation\FoundationServiceProvider'` to the end of the `$providers` array

```
'providers' => array(

    'Illuminate\Foundation\Providers\ArtisanServiceProvider',
    'Illuminate\Auth\AuthServiceProvider',
    ...
    'Stevenmaguire\Foundation\FoundationServiceProvider',

),
```

### Usage

[](#usage)

When composing forms using the blade view engine within Laravel 4, this package will intercept basic Form::method requests and compose form elements that are structured for use in a Foundation 4 based presentation.

```

	{{ Form::model($user,array('route' => 'route.name','class' => 'custom')) }}

			Create New Account
			{{ Form::label('name', 'Full Name') }}
			{{ Form::text('name',$user->name,array('placeholder'=>'Tell us your whole name')) }}
			{{ Form::label('email', 'Email') }}
			{{ Form::text('email',$user->email,array('placeholder'=>'Valid email used to login and receive information from us')) }}
			{{ Form::label('password', 'Password') }}
			{{ Form::password('password',$user->password,array('placeholder'=>'Gimme your password')) }}
			{{ Form::submit('Create Account',array('class'=>'button')) }}

	{{ Form::close() }}

```

will render without errors

```

			Create New Account
			Full Name

			Email

			Password

```

and with errors

```
$rules = array(
	'name' => array('required','min:3','max:32','regex:/^[a-z ,.\'-]+$/i'),
	'email' => array('required','unique:users,email,%%id%%','regex:/^([a-zA-Z0-9])+([a-zA-Z0-9\+\%\._-])*@([a-zA-Z0-9_-])+([a-zA-Z0-9\._-]+)+$/'),
	'password' => array('required')
	);
```

```

			Create New Account
			Full Name

			The name field is required.
			Email

			The email field is required.
			Password

			The password field is required.

```

### Currently supported methods

[](#currently-supported-methods)

- text
- password
- email
- textarea
- select
- selectRange
- selectMonth
- label

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

4313d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8d9c05a30823ae19fc54aa4b4721a696c253f8dec10c7fd22d372cfdc0fcb36d?d=identicon)[stevenmaguire](/maintainers/stevenmaguire)

---

Top Contributors

[![Stolz](https://avatars.githubusercontent.com/u/291060?v=4)](https://github.com/Stolz "Stolz (3 commits)")

---

Tags

phplaravelfoundationresponsiveForms

### Embed Badge

![Health badge](/badges/stevenmaguire-zurb-foundation-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/stevenmaguire-zurb-foundation-laravel/health.svg)](https://phpackages.com/packages/stevenmaguire-zurb-foundation-laravel)
```

###  Alternatives

[anahkiasen/former

A powerful form builder

1.4k1.4M14](/packages/anahkiasen-former)[prologue/alerts

Prologue Alerts is a package that handles global site messages.

3486.1M30](/packages/prologue-alerts)[monicahq/laravel-cloudflare

Add Cloudflare ip addresses to trusted proxies for Laravel.

3372.7M4](/packages/monicahq-laravel-cloudflare)[kra8/laravel-snowflake

Snowflake for Laravel and Lumen.

188402.3k6](/packages/kra8-laravel-snowflake)[barryvdh/laravel-form-bridge

This packages integrates Symfony Form Component in Laravel.

163354.8k1](/packages/barryvdh-laravel-form-bridge)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)

PHPackages © 2026

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