Download the PHP package digitonic/mdoc-api without Composer

On this page you can find all versions of the php package digitonic/mdoc-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 mdoc-api

mDoc API SDK

Latest Version on Packagist Code Coverage Build Status Code Quality Total Downloads

This is the official Framework Agnostic PHP SDK to interact with the mDoc API. Although framework agnostic by nature, the package also includes configurations for working in Laravel.

Package is currently in heavy development, be careful of use in production

Installation

You can install the package via composer:

Usage

Framework Agnostic Usage

Please Note: You must obtain your API key from your account profile

The mDoc API client can now be used as a dependency for communicating with various endpoints. for example, to get a list of all teams available to the API use you can use the following -

All endpoints that return data will return data as a \Illuminate\Support\Collection. This will provide various utility methods when searching the response. For more information on Laravel Collections see https://laravel.com/docs/5.8/collections. Please note, this package does not require the full Laravel framework to be used.

Laravel Usage

In Laravel >5.5 the package will auto register the service provider. In Laravel <5.5 you must install this service provider.

In Laravel >5.5 the package will auto register the facades. In Laravel <5.5 you must install all facades manually.

You can publish the config file of this package with this command:

The following config file will be published in config/mdoc-api.php

IoC container

The IoC container will automatically resolve the MdocApi dependencies for you when calling any endpoint. Which means you can just type hint your endpoint to retrieve the object from the container with all configurations in place.

Alternatively you may use the facades directly

Testing

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of mdoc-api with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2
guzzlehttp/guzzle Version ~6.0
illuminate/support Version 5.8.*
ext-json Version *
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 digitonic/mdoc-api contains the following files

Loading the files please wait ....