Total Pageviews

Saturday, 13 August 2016

Laravel 是一个php Framework

http://laravel.com
StyleCI Build Status Total Downloads Latest Stable Version Latest Unstable Version License
Note: This repository contains the core code of the Laravel framework. If you want to build an application using Laravel 5, visit the main Laravel repository.

Laravel PHP Framework

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, queueing, and caching.
Laravel is accessible, yet powerful, providing powerful tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked.

Official Documentation

Documentation for the framework can be found on the Laravel website.
from https://github.com/laravel/framework
-------------------

Laravel-Foundation-Pagination

Provides Zurb Foundation styled pagination slider HTML markup to Laravel4 
This Laravel 4 package extends the built in Twitter Bootstrap styled pagination slider HTML markup to provide Zurb Foundation styled pagination slider HTML markup.

Installation

This release v1.0.0 supports the following versions of Laravel: "laravel/framework": "4.0." "laravel/framework": "4.1."
Begin by installing this package through Composer. Edit your project's composer.json file to require binarix/foundation-pagination.
"require": {
    "binarix/foundation-pagination": "1.0.*"
}
Next, update Composer from the Terminal:
composer update
Once this operation completes, the next step is to add the service provider. Open app/config/app.php, and add a new item to the providers array.
'Binarix\FoundationPagination\FoundationPaginationServiceProvider',
The final step is to reference one of the the pagination styles. Open app/config/view.php, and modify the pagination item in the array.
For normal style use:
'pagination' => 'foundationpagination::slider',
For centered style use:
'pagination' => 'foundationpagination::slider-center',
That's it! You're all set to go.

Usage

Just use pagination as you would normally and the markups generated for the links will be styled for Zurb Foundation framework.
For more information on Pagination with Laravel 4, please check out the docs at
http://laravel.com/docs/pagination
from https://github.com/binarix/Laravel-Foundation-Pagination