2017 © Pedro Peláez
 

library laravel-foundation

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

image

hkchai/laravel-foundation

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

  • Monday, September 14, 2015
  • by hkchai
  • Repository
  • 1 Watchers
  • 0 Stars
  • 52 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 11 Versions
  • 2 % Grown

The README.md

Laravel-Foundation

Introduction

Foundation 5 modules for Laravel 5. This package requires Laravel and Foundation by Zurb as pre-requisites, (*1)

This package aims to provide support for Foundation by Zurb, for use in Laravel., (*2)

This has been tested on: - Laravel Framework 5.1.16 - Foundation 5.5.2, (*3)

Availability

The following module(s) are available:, (*4)

  • Pagination: SimplePagination

Pagination:

Installation

You need to have a working composer [https://getcomposer.org], (*5)

On the command line, issue composer require hkchai/laravel-foundation, (*6)

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., (*7)

However the default presenter doesn't quite work for Foundation., (*8)

This package provides you with a presenter class that generates correct HTML for Foundation 5., (*9)

Again assuming your data is $data, here is how you invoke this package:, (*10)

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

Optional Options

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

Example

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

The Versions

14/09 2015

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

by HK Chai

14/09 2015

1.3.3

1.3.3.0

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

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by HK Chai

14/09 2015

1.3.2

1.3.2.0

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

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by HK Chai

13/09 2015

1.3.1

1.3.1.0

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

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by HK Chai

13/09 2015

1.3.0

1.3.0.0

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

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by HK Chai

13/09 2015

1.2.0

1.2.0.0

[WIP. Please do not use yet]Foundation 5 components for Laravel 5. For now only Pagination is supported

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by HK Chai

13/09 2015

1.1.4

1.1.4.0

[WIP. Please do not use yet]Foundation 5 components for Laravel 5. For now only Pagination is supported

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by HK Chai

13/09 2015

1.1.2

1.1.2.0

[WIP. Please do not use yet] Foundation 5 components for Laravel 5. For now only Pagination is supported

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by HK Chai

13/09 2015

1.1.3

1.1.3.0

[WIP. Please do not use yet] Foundation 5 components for Laravel 5. For now only Pagination is supported

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by HK Chai

13/09 2015

1.1.1

1.1.1.0

[WIP. Please do not use yet] Foundation 5 components for Laravel 5. For now only Pagination is supported

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by HK Chai

13/09 2015

1.1.0

1.1.0.0

[WIP. Please do not use yet] Foundation 5 components for Laravel 5. For now only Pagination is supported

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by HK Chai