PHPackages                             shiranse/laravel-open-library - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. shiranse/laravel-open-library

ActiveLibrary

shiranse/laravel-open-library
=============================

Laravel Wrapper for Open Library Api

001[2 PRs](https://github.com/shiran-ekanayake/laravel-open-library/pulls)PHP

Since Mar 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/shiran-ekanayake/laravel-open-library)[ Packagist](https://packagist.org/packages/shiranse/laravel-open-library)[ RSS](/packages/shiranse-laravel-open-library/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Laravel Wrapper for Open Library Api
====================================

[](#laravel-wrapper-for-open-library-api)

[![Latest Version on Packagist](https://camo.githubusercontent.com/62a034271ef9312819153997b9eec570d008d265a58df5c4b3787120a5cdfe36/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73686972616e73652f6c61726176656c2d6f70656e2d6c6962726172792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/shiranse/laravel-open-library)[![GitHub Tests Action Status](https://camo.githubusercontent.com/f62d427f2085751e459558fa1bcfcc857611181340ec78b52b97064401f50f32/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f73686972616e73652f6c61726176656c2d6f70656e2d6c6962726172792f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/shiranse/laravel-open-library/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/8afb2d5c0f9ffcf9177d66fccb17429d6cd74bacbdeba1d6d25195d486eadc72/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f73686972616e73652f6c61726176656c2d6f70656e2d6c6962726172792f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/shiranse/laravel-open-library/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/eca1210ec636ec9161b48756e79cd59be745f11ab936f4f7d103c62b47767b26/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7373652f6c61726176656c2d6f70656e2d6c6962726172792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/shiranse/laravel-open-library)

The OpenLibrary PHP Package provides a convenient way to interact with the Open Library API in your PHP applications. With this package, you can easily search for books, authors, and other resources available on the Open Library platform. The package offers a fluent interface for creating and interacting with OpenLibraryAuthor and OpenLibraryBook objects, allowing you to retrieve detailed information about authors, including their works, biographies, and related metadata. Additionally, it provides seamless integration with Laravel, allowing you to use Laravel features like facades to access Open Library API with ease. Whether you're building a book catalog, integrating book data into your application, or simply exploring the vast collection of books available on Open Library, this package provides a powerful and intuitive solution for your needs.

Support us
----------

[](#support-us)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require shiranse/laravel-open-library
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="laravel-open-library-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-open-library-config"
```

Usage
-----

[](#usage)

```
$works = OpenLibrary::searchWorks('Matilda');
$authors = OpenLibrary::searchAuthors('Rowling')
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Shiran Ekanayake](https://github.com/shiran-ekanayake)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b1360eb5a35eba5f63da8abe2526beace2dd5c7d93cf256f1e68ab0d4cbc5d84?d=identicon)[shiran-ekanayake](/maintainers/shiran-ekanayake)

---

Top Contributors

[![shiran-ekanayake](https://avatars.githubusercontent.com/u/65205551?v=4)](https://github.com/shiran-ekanayake "shiran-ekanayake (6 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/shiranse-laravel-open-library/health.svg)

```
[![Health](https://phpackages.com/badges/shiranse-laravel-open-library/health.svg)](https://phpackages.com/packages/shiranse-laravel-open-library)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
