Download the PHP package vuryss/dokky without Composer

On this page you can find all versions of the php package vuryss/dokky. 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 dokky

DOKKY

Empower APIs with Seamless Documentation Precision

codecov CodeRabbit Pull Request Reviews

Overview

Dokky is a powerful developer tool designed to streamline the process of generating OpenAPI 3.1 documentation for PHP projects.

It lets you parse PHP classes and their properties, automatically generating the necessary OpenAPI schema definitions.

Purpose

To be used inside frameworks for automatic generation of API Documentation (similar to API Platform).

Features

Symfony Compatibility

Dokky supports Symfony 7.4 LTS and Symfony 8.x.

For local validation inside the project container:

The default local development flow should use composer deps:highest, while CI runs both the lowest and highest supported dependency sets to verify the compatibility matrix.

composer deps:lowest only moves the Symfony dependency family to its lowest supported versions, while composer deps:highest refreshes the full dependency graph to the newest allowed versions.

Example usage:

Overwriting single property's schema

Array schema handling

Array type can usually be declared in several ways, here are the two supported cases:

  1. List of elements of given type. Represented as JSON array type. Must be sequentially indexed array.

Example JSON structure:

  1. Associative array of given type. Represented as JSON object type. JSON objects always have string keys, even if they are integers in PHP.

Example JSON structure:

Even with non-sequential integer keys, still JSON object:

Considering nullable properties as not-required

Sometimes, to be consistent with serializers, which can skip null values, you might want to consider nullable properties as not-required. In this case, you can use a configuration option to switch the required property behavior.

This can be done by passing a configuration object to the class schema generator like this:

Full documentation example

Using Named Schemas

In some cases, you might want to define a specific name for a schema in the components section, rather than relying on the auto-generated name based on the class. You can achieve this using the getNamedSchemaReference method:

Retrieving full list of used classes

For debugging purposes, you might need the full list of classes used in the OpenAPI schema. Also, if you like to apply some caching based on whether any of the classes changed, you can use this method to get the list of classes used in the OpenAPI schema.


All versions of dokky with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5
symfony/property-info Version ^7.4.1 || ^8.0
phpstan/phpdoc-parser Version ^2.3.2
phpdocumentor/reflection-docblock Version ^6.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 vuryss/dokky contains the following files

Loading the files please wait ...