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

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

hkchai/laravel-foundation
=========================

Foundation 5 components for Laravel 5.1. For now only Pagination is supported

1.3.3(10y ago)069MITPHPPHP &gt;=5.4.0

Since Sep 13Pushed 10y ago1 watchersCompare

[ Source](https://github.com/hkchai/Laravel-Foundation)[ Packagist](https://packagist.org/packages/hkchai/laravel-foundation)[ RSS](/packages/hkchai-laravel-foundation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (11)Used By (0)

Laravel-Foundation
==================

[](#laravel-foundation)

Introduction
------------

[](#introduction)

Foundation 5 modules for Laravel 5. This package requires Laravel and Foundation by Zurb as pre-requisites

This package aims to provide support for Foundation by Zurb, for use in Laravel.

This has been tested on:

- Laravel Framework 5.1.16
- Foundation 5.5.2

Availability
------------

[](#availability)

The following module(s) are available:

- Pagination: SimplePagination

Pagination:
-----------

[](#pagination)

### Installation

[](#installation)

You need to have a working `composer` \[\]

On the command line, issue `composer require hkchai/laravel-foundation`

### How to use

[](#how-to-use)

If you are using BootStrap 3, in the `blade.php` file, assume your data is called `$data`, you should have `{!! $data->render() !!}`, which will render the pagination facility targeting BootStrap 3.

However the default presenter doesn't quite work for Foundation.

This package provides you with a presenter class that generates correct HTML for Foundation 5.

Again assuming your data is `$data`, here is how you invoke this package:

```
{!! $data->render(new LaravelFoundation\Pagination\SimpleFoundationFivePresenter($data, [options])) !!}
```

### Optional Options

[](#optional-options)

`pagination-centered`: boolean, default to false (i.e. not centered)

#### Example

[](#example)

```
{!! $data->render(new LaravelFoundation\Pagination\SimpleFoundationFivePresenter($data, ["pagination-centered"=>'true'])) !!}
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

10

Last Release

3900d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/671034f69a65953a05030d919ad71efed32cf45f688eb0f38473c4f68326df31?d=identicon)[hkchai](/maintainers/hkchai)

---

Top Contributors

[![hkchai](https://avatars.githubusercontent.com/u/165990?v=4)](https://github.com/hkchai "hkchai (27 commits)")

### Embed Badge

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

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

###  Alternatives

[omar-elnaghy/laradate-filters

A Laravel package for advanced date filtering and manipulation

1303.6k](/packages/omar-elnaghy-laradate-filters)[runtime/bref

Bref runtime

19107.4k](/packages/runtime-bref)[sevendays-digital/filament-nested-resources

Helpers to work with nested resources

213.8k](/packages/sevendays-digital-filament-nested-resources)

PHPackages © 2026

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