shiranse/laravel-open-library
Composer 安装命令:
composer require shiranse/laravel-open-library
包简介
Laravel Wrapper for Open Library Api
README 文档
README
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
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
$works = OpenLibrary::searchWorks('Matilda'); $authors = OpenLibrary::searchAuthors('Rowling')
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-03-19