Git Product home page Git Product logo

flipbook-laravel's Introduction

Laravel Flipbook

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.



Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.