Download the PHP package code-orange/jot without Composer

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

jot

Jot is a Laravel package that generates RESTful API documentation in Markdown based on PHPDoc.

Installation

To install jot with composer:

Laravel 5.5+

If you're using Laravel 5.5 or above, the package will automatically register the Jot provider.

Laravel 5.4

Add CodeOrange\Jot\JotServiceProvider::class to the providers array in config/app.php.

Configuration

You can use php artisan vendor:publish to publish the jot configuration to your application:

Then, update config/jot.php.

Usage

Generating documentation

First, document your controller actions with PHPDoc.

Then, run php artisan jot:generate. Markdown documenting your API will be printed to your console.

## Returns a value

This method returns a cool value.

`GET /example`

### Parameters

| Name | Located in | Description | Type |
| ---- | ---------- | ----------- | ---- |
|b|request|Some value|mixed|
|account|path|||

You can then add this Markdown to whatever you use to publish your docs. That can just be a Markdown file on GitHub, a wiki, or a self-hosted documentation site.

The Markdown is compatible with lord/slate, which is what we're using at Odyssey to publish our documentation.

Checking documentation coverage

Jot can also check if all of your public API methods are properly documented, for instance as part of your CI test pipeline.

will exit with an error status code if there is a method in your API that is not documented.

Optionally, you can use --return to force all methods to have a documented return type/example.

Motivation

This project is heavily inspired by f2m2/apidocs. While that project generates excellent documentation, I didn't like the idea of a Laravel app hosting its own documentation (something that can be done statically and that probably has much different access patterns).

Jot allows you to separate generation and publication of your API docs.

Read more about building Jot in this blogpost.


All versions of jot with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
illuminate/console Version ^7|^8
illuminate/support Version ^7|^8
illuminate/routing Version ^7|^8
illuminate/view Version ^7|^8
phpdocumentor/reflection-docblock Version ^5.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 code-orange/jot contains the following files

Loading the files please wait ....