Download the PHP package donatj/mddoc without Composer

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

MDDoc

Latest Stable Version Total Downloads License ci.yml

A simple, directed markdown documentation generator for PHP projects.

A simple use-case is to generate a README.md based on the project's source code as well as other options as defined in the config file.

This projects allows you to define a set of directives for how to document a project, and output to markdown.

This allows everything from README's to entire websites to be generated using this tool.

This is done using a simple, expressive XML syntax. This includes:

Requirements

Examples

This very README you are reading (also including .mddoc.xml.dist

Full API Docs (WIP)

See: DOCS.md

Configuration Syntax

<autoloader />

Specifies an PHP autoloader to use for the documentation generation

This autoloader is used at the current documentation level and inherited by
all children

Multiple autoloaders can be specified, and they will be checked in the order
they are specified

These are necessary to specify by hand because the composer autoloaders
do not provide a method to locate a class by name without loading it,
which is necessary for documentation generation without code execution.

Attributes:

<section>…</section>

Define a logical section of the generated documentation

Nesting sections results in the header level being increased (h1, h2, h3, etc)

Example:

Results in:

Attributes:

<replace>…</replace>

Replace text in the wrapped content. Optionally use a preg_replace() regex.

Attributes:

<docpage>…</docpage>

Documentation page - stores the contents of child elements to a file

Nesting docpages results in a link being added in the parent page to the child page

Inherits all attributes from <file>

Attributes:

<text />

Include either raw or cdata text content

Example:

<file />

Generate documentation for a single PHP file

Attributes:

<recursive-directory>…</recursive-directory>

Recursively search a directory for php files to generate documentation for

Attributes:

<include />

Include the contents of a file

Attributes:

<source />

Include a source code block either as a file or inline

Example:

Attributes:

<composer-install />

Reads the current projects' composer.json file and outputs the install command

Attributes:

<composer-requires />

Reads the current projects' composer.json file and outputs the required packages, versions and extensions

<badge />

Include a badge "shield" image from a given url

Attributes:

<badge-coveralls />

Include a coverage badge from BadgeCoveralls.io

Attributes:

This includes the service name, e.g. "github/donatj/php-dnf-solver"

<badge-poser />

Include a badge "shield" image from Pugx Poser https://poser.pugx.org/

Attributes:

<badge-travis />

Include a badge "shield" image from Travis CI

Attributes:

<badge-scrutinizer />

Include a badge "shield" image from Scrutinizer CI

Attributes:

<badge-shielded />

Include a badge "shield" image from Shielded.dev

Either the id or the color, title, and text options must be provided.

Attributes:

<badge-github-action />

Include a badge "shield" image for a GitHub Actions workflow

Attributes:

<exec />

Execute a command and include the standard output in the documentation

Attributes:


All versions of mddoc with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
ext-dom Version *
ext-json Version *
ext-libxml Version *
donatj/cli-toolkit Version ^0.3.1
donatj/flags Version ^1.5
donatj/mddom Version ^0.2.0
phpdocumentor/reflection Version ~5.2.0
symfony/polyfill-php80 Version ^1.28
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 donatj/mddoc contains the following files

Loading the files please wait ....