Download the PHP package bclibraries/fulltext-finder without Composer
On this page you can find all versions of the php package bclibraries/fulltext-finder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bclibraries/fulltext-finder
More information about bclibraries/fulltext-finder
Files in bclibraries/fulltext-finder
Package fulltext-finder
Short Description Finds links to fulltexts from citations
License MIT
Informations about the package fulltext-finder
FulltextFinder
FulltextFinder is a PHP library for finding links to fulltext versions of articles from user input.
Installation
Use the package manager composer to install FulltextFinder.
FulltextFinder is currently a 0.* release, so things will change drastically with any minor release.
Usage
Configuration
The BCLib\FulltextFinder\Config
object carries all optional FullTextFinder configuration parameters:
Parameter | Description | Default |
---|---|---|
UserAgent |
The User-Agent header sent to the Crossref API. For User-Agent requirements, see the Crossref API docs. If the User-Agent is not set appropriately or is set to null , Crossref requests will be made in the public API pool. |
null |
FindByCitationMinLength |
The minimum length of a search string in characters before find-by-citation will be applied. Searches under this length will look for a DOI in the string but will not query Crossref if a DOI is not found. | 20 |
Running tests
PHPUnit is used for testing. You may need to enable the sockets extension.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
All versions of fulltext-finder with dependencies
ext-json Version *
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
symfony/http-client Version ^5.1
nyholm/psr7 Version ^1.0
bclibraries/libkey-client Version ^v0.2.0