rudrarajiv/flipbooklaravel 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rudrarajiv/flipbooklaravel

Composer 安装命令:

composer require rudrarajiv/flipbooklaravel

包简介

Use your images to view in magazine style flipping book for laravel 5.x , used Turn.js for viewing flip book.

README 文档

README

Use your images to view in magazine style flipping book , used Turn.js for viewing flip book. Flipbook is an magazine interface builder for [Laravel] using Turn.js. With Flipbook you can upload your images and convert them into magazine style viewing document.

  • Author: Rajiv Patel
  • Version: 1.0.0

Install via Composer

To install Laravel Flipbook as a Composer package to be used with Laravel 5 and above, simply run:

composer require "rudrarajiv/flipbooklaravel:dev-master"

Register Package

Once it's installed, you can register the service provider in app/config/app.php in the providers array:

'providers' => [
	'rudrarajiv\flipbooklaravel\FlipBookServiceProvider',
]

Publish Package

Then publish Flipbook's assets with php artisan vendor:publish. This will add assets in public , migrations in database and views in resources .

To publish assets , migration and view individually , please use the tags flippublic,flipmigration,flipview respectively.

for eg. To publish only assets use this command

php artisan vendor:publish --provider="rudrarajiv\flipbooklaravel\FlipBookServiceProvider" --tag="flippublic"

Once you have published the migration - please don't forget to migrate the migration into your database - For migration please use php artisan migrate After migration is completed - you can find a table named 'flipbook' into your database.

Edit Routes

By Default the routes file which is included with this package has route defined as following

Route::resource('/flipbook','rudrarajiv\flipbooklaravel\FlipBookController');

Feel free to edit the '/flipbook' portion of the route as per your requirement, if you edit this URL - also edit the same into the views that are included with this package.

There are four views included with this package, which you can edit as per your requirement, also please update the url into views - if you change the route resource to something else then '/flipbook'.

bookindex.blade.php - (This view shows all the books that are stored in the database)
bookcreater.blade.php - (This view lets you to create a new book, new book created will get stored into database and images will get stored into public/rudra/fbook/pics path )
editbook.blade.php - (This view lets you to edit your previous book and also there is a button to delete your book)
showbook.blade.php - (This view lets you to view your book into magazine style)
`````


## Copyright and License
Flipbook was written by Rajiv Patel for the Laravel framework.
Flipbook is released under the MIT License. See the LICENSE file for details.


## Recent Changelog

### 1.0.0
- Created flipbook for Laravel 5.* 
- Can upload , edit & delete magazine style books

## Upcoming Feature
- Upload any of your documents like Microsoft Word, pdf files and get converted them to Magazine style flipping book.



统计信息

  • 总下载量: 2.67k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 37
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 37
  • Watchers: 5
  • Forks: 10
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-01-11