Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 999 Bytes

requirements.md

File metadata and controls

55 lines (41 loc) · 999 Bytes

lara-asp-documentator:requirements

Generates a table with the required versions of PHP/Laravel/etc in Markdown format.

Usages

  • artisan lara-asp-documentator:requirements [<cwd>]

Description

Requirements will be cached into <cwd>/metadata.json. You can also use this file to specify the required requirements. For example, to include PHP only:

{
    "require": {
        "php": "PHP"
    }
}

You can also merge multiple requirements into one. For example, the following will merge all illuminate into laravel/framework (the package will be ignored if not listed in require):

{
    "merge": {
        "illuminate/*": "laravel/framework"
    }
}

Defaults is:

{
    "require": {
        "php": "PHP",
        "laravel/framework": "Laravel"
    },
    "merge": {
        "illuminate/*": "laravel/framework"
    }
}

Arguments

cwd?

working directory (should be a git repository)