Download the PHP package anubit/pageflipper without Composer

On this page you can find all versions of the php package anubit/pageflipper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package pageflipper

PageFlipper

TYPO3 v12–v14 content element that displays PDFs from FAL as a responsive grid and opens each one as a page-turning flipbook in an accessible modal viewer.

Installation

Include the TypoScript:

Use either the site set or the static include, not both. The content element is available in the new content element wizard under "Typical page content".

Configuration

Content element

Option Default
PDF files (sortable; title/description from file metadata, overridable per file) –
Cover image per PDF (optional) –
View: book covers / square tiles / cards book covers
Columns: 1–4 (fewer automatically when the element is narrow: phones, sidebars, narrow layout columns) 3
Maximum width: full width / large / medium / small full width
Show file titles on
Page mode: single / double double
Show navigation on
Enable fullscreen on
Enable zoom on
Allow PDF download on

Site settings / TypoScript constants

With the site set, these values are editable as site settings (Site Management > Settings, category "PageFlipper"). With the static include, set them as TypoScript constants:

Width and columns

The grid adapts to the width of the element itself (CSS container queries), not to the viewport, so it also works in sidebars and narrow layout columns: 2 columns from 480px, 3 from 720px, 4 from 960px element width (each only if configured).

"Full width" uses whatever width the page layout gives the content element. The other presets cap the grid; change their values in your site CSS if needed:

Templates and styling

Override Templates/PageFlipper.html or the partials in Partials/PageFlipper/ via the view paths above. The default CSS only uses .pageflipper* classes and exposes custom properties such as --pageflipper-gap, --pageflipper-spacing-after (space below the element, default 3rem), --pageflipper-title-size and --pageflipper-viewer-background.

Third-party libraries

Bundled in Resources/Public/JavaScript/Contrib/. Each ships with its license file.

Library Version Author License Used for
PDF.js (pdfjs-dist, legacy build) 6.3.289 Mozilla Apache-2.0 Rendering the PDF pages
StPageFlip (page-flip) 2.0.7 Nodlik MIT Page-turn effect

PDF.js also brings its standard fonts (Foxit, Liberation) and WebAssembly image/colour decoders (OpenJPEG, JBIG2, QCMS) under their own licenses; see Contrib/pdfjs/standard_fonts/ and Contrib/pdfjs/wasm/.

Development

Architecture, workarounds, library updates and upgrade notes: Documentation/Developer.md.


All versions of pageflipper with dependencies

PHP Build Version
Package Version
Requires php Version >= 8.1 < 8.6
typo3/cms-core Version ^12.4 || ^13.4 || ^14.0
typo3/cms-fluid Version ^12.4 || ^13.4 || ^14.0
typo3/cms-frontend Version ^12.4 || ^13.4 || ^14.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package anubit/pageflipper contains the following files

Loading the files please wait ...