New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

koakademy/library-system

Library catalogue, borrowing, research papers, and rights-cleared digital editions.
1,058

Larablocks Analysis

koakademy/library-system works with Laravel 13 (latest release v1.5.0, Nov 24, 2026).

Recommendation checks

Solid choice

Solid choice: maintained and up to date, meets 2 of 4 checks; below the bar for Recommended on use.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Nov 24, 2026)
  • 1,058 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Actively maintained
  • Last stable release: Nov 24, 2026.
  • 7 releases in the last 12 months.
  • First released: Aug 26, 2026.
  • Monthly downloads: 1,058.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.

Install
composer require koakademy/library-system
Latest Version:v1.5.0
PHP:>=8.5.12 <8.6
Laravel:13
License:AGPL-3.0-or-later
Last Updated:Nov 24, 2026
Links: GitHub  ·  Packagist
Maintainer: yukazakiri

KoAkademy Library System Module

Library catalogue, borrowing, research papers, and rights-cleared digital editions.

Requirements

  • KoAkademy 1.29 or newer with the extension SDK from core PR #486
  • PHP 8.5.12 or newer in the 8.5 series
  • Laravel 13, Filament 5, and nwidart/laravel-modules 13
  • A host application that uses the KoAkademy module loader

Public releases are intended for Packagist. The Marketplace catalog is reviewed separately and does not install PHP code into a running container; Composer and the application image do that.

Installation

After v1.2.0 is tagged and the package is published on Packagist, run the following commands from the host application's repository root:

composer require koakademy/library-system:^1.2
php artisan migrate --force
php artisan optimize:clear

Commit composer.json and composer.lock; do not install the package only inside one running replica. The command requires the version to be published first.

Docker, Swarm, Dokploy, and Kubernetes

Install the package during the application image build, then build the normal frontend assets:

composer install --no-dev --prefer-dist --optimize-autoloader
npm ci
npm run build

Run the migration once as a release job or one-off task, clear the application cache, and restart or roll every application worker. For Docker Compose this is normally docker compose build followed by the platform's migration task. For Swarm or Dokploy, push the new image to the configured registry and redeploy the service with that image. For Kubernetes, run the migration as a release Job and roll the Deployment. All replicas must use the same composer.lock and image.

Enable the module

  1. Sign in as a super administrator.
  2. Open Administrators → System → Extensions & licenses, or visit /administrators/module-marketplace.
  3. Enable LibrarySystem.
  4. In the administrator settings, turn on Digital Library / library_module_enabled when that setting is available.
  5. Restart/redeploy the application so every worker reads the new module status.

Fresh installations initialize optional modules disabled. Upgrades preserve the existing modules_statuses.json choices, so an already-enabled Library System module stays enabled. The separate Digital Library setting still controls student/faculty access.

Using the admin panel

Open /administrators/library for the custom administrator workspace. It contains the catalogue overview, hosted eBooks metrics, books, authors, book categories, borrow records, research papers, and digital-edition controls. It appears under Library in the administrator navigation.

The Filament admin panel at /admin also exposes the Library resources for books, authors, book categories, and borrow records (including hosted eBook status badges and a Published eBooks filter). The public library catalogue is available at /library when Digital Library is enabled.

Add catalogue records first, then create borrow records or attach a rights-cleared PDF edition to a book (Books → Manage eBook PDF). Do not upload content unless the institution has the rights to store and distribute it. Permission and library-enabled checks apply to the relevant workflows.

Hosted eBooks & Open Browser Reading

This module supports hosting private PDF eBooks so anyone can browse and read in the browser without signing in, while downloading the PDF file requires an authenticated account (and explicit per-book download permission):

  • Public access (no account required):
    • GET /library — Open Digital Library catalog with search, category, and format filters (All Titles, Read Online, In Library).
    • GET /library/books/{book} — Book detail page with instant Read Online action and an account prompt for PDF downloads.
    • GET /library/books/{book}/read — Distraction-free, responsive pdf.js reader (Single Page with swipe/keyboard navigation, Continuous Scroll, Paper / Sepia / Dark reading surfaces, page thumbnails, full-text search, and local browser bookmarks/progress for guests).
    • GET /library/books/{book}/content — Streams the privately stored PDF inline (Content-Disposition: inline, Cache-Control: private, no-store, X-Robots-Tag: noindex, nofollow) with HTTP Range (206 Partial Content) support for fast page-by-page loading.
  • Account-gated actions (auth middleware):
    • GET /library/books/{book}/download — Streams the PDF as an attachment only for signed-in users when downloads_allowed is enabled on the published digital edition.
    • GET /library/books/{book}/authenticate — Preserves post-login intent and returns users directly to the book ready to download.
    • Saved reading progress, shelf state, and bookmarks sync to the user's account via /library/books/{book}/state and /library/books/{book}/bookmarks.
  • Private storage:
    • Uploaded PDFs are stored on the private library disk (local or S3/R2 compatible; S3/R2 editions use short-lived signed URLs capped at rights_expires_at), never exposed inside public/storage.
    • Newly uploaded or replaced PDFs always default to draft (staff-only) until explicitly reviewed and published with a documented rights basis.

Upgrading

After releasing a newer module tag, update the package in the host repository, rebuild the image, run migrations, and redeploy. Refreshing Marketplace alone only refreshes catalog metadata.

License

AGPL-3.0-or-later

Repository ownership and the 1.1 migration

This repository owns the extension source. The application installs a reviewed Composer version into vendor/; do not maintain a second copy under the host's Modules/ directory or rename its Modules\LibrarySystem PHP namespace.

The 1.1.0 proposal carries forward the tested bundled implementation from core commit ff3cae91. It preserves routes, tables, migration filenames, policies, and existing module status. It also resolves provider paths from this package rather than depending on the runtime vendor-scan flag during application boot.

For the first migration, remove Modules/LibrarySystem from the application in the same dependency change that installs koakademy/library-system. Keep the database and module-installation rows. Never run migrate:fresh or delete school data during an upgrade. Run php artisan migrate --force, modules:sync-permissions, and modules:validate --all in the release container, then rebuild assets/caches and roll workers. Keep MODULE_SCAN_VENDOR=true.

Package CI runs standalone contract checks and installs this contribution into an isolated checkout of the real host, removing its bundled duplicate first. It exercises package discovery and relevant host workflows, then builds browser and SSR assets. Pin/update the tested host revision deliberately. Additional frontend dependencies require a reviewed host npm lockfile change.

After review, merge and tag v1.1.0 with a matching module.json version. Submit the public repository to Packagist and verify that version is visible. The registry proposes a separately reviewed, signed catalog update. A catalog entry does not update a running school image: the application must commit its Composer lockfile and deploy a new build. Tags have not been published by this proposal.

Related Packages

koakademy/cashier

Cashier workflows for student balance lookup and payment posting.

1,094 0
koakademy/student-medical-records

Confidential student medical records, clinic visits, and reporting tools.

1,091 0
koakademy/notification-center

Template-based notification management and bulk messaging tools.

1,091 0
koakademy/announcement

School-wide announcements for administrators and portal users.

1,049 0
koakademy/inventory

Property and inventory management for products, suppliers, stock, and borrowings...

1,048 0

Version History

Version Released PHP Laravel License
v1.5.0 >=8.5.12 <8.6 ^13.0 AGPL-3.0-or-later
v1.4.0 >=8.5.12 <8.6 ^13.0 AGPL-3.0-or-later
v1.3.0 >=8.5.12 <8.6 ^13.0 AGPL-3.0-or-later
v1.2.0 >=8.5.12 <8.6 ^13.0 AGPL-3.0-or-later
v1.1.0 >=8.5.12 <8.6 ^13.0 AGPL-3.0-or-later