php-nf/npf

New PHP Framework

Maintainers

Details

gitlab.com/php-nf/npf

Installs: 450

Dependents: 1

Suggesters: 0

Security: 0

Type:package

2.1.20 2022-01-06 16:25 UTC

README

Composer JSON file

You wil need to create a composer.json file with the following keys at minimum:

{
    "require": {
        "php-nf\/npf": "^1.0"
    },
    "scripts": {
        "post-install-cmd": [
            "Npf\\Build\\Setup::Install"
        ],
        "post-update-cmd": [
            "Npf\\Build\\Setup::Update"
        ]
    },
    "autoload": {
        "psr-4": {
            "App\\": "App\/",
            "Config\\": "Config\/",
            "Model\\": "Model\/",
            "Module\\": "Module\/",
            "Exception\\": "Exception\/",
            "Template\\": "Template\/"
        }
    }
}