innmind / library
Holds crawled page data
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 1
Type:project
Requires
- php: ~7.4
- innmind/cli: ~2.0
- innmind/colour: ~3.1
- innmind/command-bus: ~4.0
- innmind/event-bus: ~4.0
- innmind/genome: ^3.0
- innmind/http-authentication: ~2.0
- innmind/http-framework: ~2.0
- innmind/http-server: ~2.0
- innmind/immutable: ~3.5
- innmind/installation-monitor: ~3.0
- innmind/logger: ~2.0
- innmind/neo4j-onm: ~7.0
- innmind/rest-server: ~8.0
- innmind/silent-cartographer: ~2.0
- innmind/specification: ~2.0
- innmind/stack: ^1.0
- innmind/time-continuum: ~2.2
- innmind/url: ~3.3
- jeremykendall/php-domain-parser: ~5.0
Requires (Dev)
- infection/infection: ^0.15
- innmind/debug: ~2.0
- phpunit/phpunit: ^8.0
- symfony/var-dumper: ^4.1
- vimeo/psalm: ~4.0
Provides
- innmind/genome-genes: 3.0
This package is auto-updated.
Last update: 2024-10-29 05:10:54 UTC
README
Store indexed http resources in a graph database.
By defaut it stores very little information for a resource, however extra information can be stored for images and html pages. More importantly it stores the relations (referer, canonical, alt) between the resources
Installation
composer create-project innmind/library
Copy the file config/.env.dist
to config/.env
and adapt the variables to your environment (they can also be defined as env vars in the web server).
Then:
docker-compose up -d
Usage
The following call will give you links to the definitions of the available resources:
OPTIONS /*
Accept: application/json
Authorization: Bearer api_key_defined_in_env_var
For every link provided in the response you can emit an OPTIONS
request to it that will provided the properties you're allowed to provide when creating/updating the resource and the ones provided when you query a resource.