Download the PHP
package develpr/phindle without Composer
On this page you can find all versions of the php package
develpr/phindle. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor develpr Package phindle Short Description Creates full featured opf/ncx files for Kindle (mobi) ebooks and allows for images and other static resources License
MIT Homepage http://github.com/develpr/phindle
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 phindle
Phindle - Kindle eBook Generator
What does Phindle do?
Phindle makes it simpler to create a well formatted kindle friendly mobi ebook. This is done by allowing you to add content to an instance of the Phindle class, and then from there automatically generated the supporting meta/structure related files required by kindlegen.
Assuming you provide the necessary inputs (see below), the mobi book generated will automatically have:
1) A table of contents in the beginning of the book
2) A logic table of contents (this is table of contents accessible via Kindle's menu - not the same thing as the ToC in the beginning of a book)
3) Various metadata populed within the book (title, author, isbn, publish date, plus cover images, the reading order of your content, etc)
Prerequisites/Requisites
Unfortunately, the command line utility kindlegen is a prerequisite of Phindle. It is not something that can be installed via composer and so I wanted to mention it first before anything else because it needs to be installed manually. kindlegen is a tool provided free by Amazon for creating mobi ebook files from a variety of different input formats, including most notably (for us) .html files.
You may need to adjust permissions in your environment - Phindle creates a number of temporary files required by the kindlegen tool. This includes a number of html files, an ncx file, and an opf file. You can specify the path that these files are saved to, and they will be automatically deleted after creating of the final ebook.
Use
Check out a video walkthrough of the features/use of Phindle below:
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 develpr/phindle contains the following files
Loading the files please wait ...
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.