Download the PHP package agnesoft/agdb_api without Composer

On this page you can find all versions of the php package agnesoft/agdb_api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package agdb_api

agdb

The graph database.

                       

Crates.io release coverage codecov

  Agnesoft Graph Database

Quickstart Db | Quickstart Client | QUERIES | DECISION TREE

Why not SQL?

The Agnesoft Graph Database (aka agdb) is persistent, optionally memory mapped graph database with native object 'no-text' queries. It can be used as a main persistent storage, data analytics platform as well as fast in-memory cache. Its typed schema-less data store allows for flexible and seamless data updates with no downtime or costly migrations. All queries are constructed via a builder pattern or directly as objects with no special language or text parsing.

  Key Features

  At a glance [Db]

Basic usage demonstrating creating a database, inserting graph elements with data and querying them back with select and search. The function using this code must handle agdb::DbError and agdb::QueryError error types for operator ? to work:

This code creates a database called user_db.agdb with a simple graph of 4 nodes. The first node is aliased users and 3 user nodes for Alice, Bob and John are then connected with edges to the users node. The arbitrary name property is attached to the user nodes. Rather than inserting values directly with keys (which is also possible) we use our own type and derive from agdb::UserValue to allow it to be used with the database.

You can select the graph elements (both nodes & edges) with their ids to get them back with their associated data (key-value properties). Lets select our users and convert the result into the list (notice we select only values relevant to our User type with passing User::db_keys()):

You can also search through the graph to get back only certain elements based on conditions. For example:

For database concepts and primitive data types see concepts. For comprehensive overview of all queries see the queries reference or continue with more in-depth efficient agdb.

  Crate Features

agdb

Feature Default Description
derive yes Enables derive macro to enable custom user types to be directly used with the database.
opeanapi no Enables ToSchema macro on query structs so they can be exported to json OpeanAPI/Swagger schema.
serde no Enables serialiation/deserialization of queries and QueryResult using serde.

agdb_api

Feature Default Description
reqwest no Enables referential implementation of the HttpClient trait for agdb API client using reqwest.

  Decision Tree

  Roadmap

The following are planned features:

Feature Description
Agdb Studio Graphical interface to agdb
Python Client Convenience client using bindings genereated from OpenAPI.
Java Client Convenience client using bindings genereated from OpenAPI.
C# Client Convenience client using bindings genereated from OpenAPI.
C Client Convenience client using bindings genereated from OpenAPI.
C++ Client Convenience client using bindings genereated from OpenAPI.
Data replication & consensus protocol Allow replication by connecting several database nodes together with a RAFT protocol.
Agdb Playground Free public cloud-based playground to tinker with agdb.
#[no_std] The agdb does not require any dependencies and thus should be (in theory) no_std friendly but it will likely require some development & testing.
Public Cloud Offering Commercial & supported agdb instance hosted in a public cloud.

  Reference


All versions of agdb_api with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package agnesoft/agdb_api contains the following files

Loading the files please wait ....