Download the PHP package indemnity83/book-tools without Composer

On this page you can find all versions of the php package indemnity83/book-tools. 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 book-tools

πŸ“š Book Tools (librarian CLI)

A simple command-line tool for managing audiobook files and organizing them into a clean, structured library.
Perfect for post-processing audiobooks prepared via AudioBookShelf or similar apps.

Command name: librarian
Folder / repo name: book-tools
Current available command: shelve


πŸš€ Commands

shelve

Organizes and moves books from an import directory into a structured destination library.

`

Arguments

Argument Description
importFolder (Required) Path to the import folder. This folder should contain subfolders for each book with metadata and files.
destinationFolder (Optional) Path to the destination library root. Defaults to the current working directory if not provided.

Options

Option Description
--dry-run Shows what would be done without making any changes.
--pretend Alias for --dry-run.

πŸ“¦ How it works

The shelve command will:

  1. Scan the importFolder for book subfolders.
  2. Each book folder must contain a metadata.json file (produced by AudioBookShelf).
  3. Files will be moved into:
  1. After processing:

    • If in --dry-run β†’ no files will be moved, only output shown.
    • If real mode β†’ files are moved, extra files (cover, metadata) copied, and original import folder removed if empty.

βœ… Example

Will scan _import folder and move books to the main audiobooks library, cleaning up the import folder after.

Will show exactly what would happen, but not move anything.


πŸ“š Future roadmap

This is version 1 (MVP) with only the shelve command. Future tools planned may include:


🧹 Development and testing

Feature and unit tests are provided using PestPHP. To run tests:

You can also test the CLI directly:


πŸ‘·β€β™‚οΈ Contributors

Currently maintained by indemnity83. Pull requests welcome as the tool expands!


πŸ“œ License

MIT β€” do what you want, but please don’t sell it without adding value.


All versions of book-tools with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2.0
laravel-zero/framework Version ^11.36.1
laravel-zero/phar-updater Version ^1.4
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 indemnity83/book-tools contains the following files

Loading the files please wait ....