orchestral / lumenate by crynobone

Orchestra Platform Lumenate Installer
60
5
3
Package Data
Maintainer Username: crynobone
Maintainer Contact: crynobone@gmail.com (Mior Muhammad Zaki)
Package Create Date: 2015-10-06
Package Last Update: 2021-01-13
Home Page: https://packagist.org/packages/orchestra/lumenate
Language: PHP
License: MIT
Last Refreshed: 2024-05-03 15:15:52
Package Statistics
Total Downloads: 60
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 5
Total Watchers: 3
Total Forks: 3
Total Open Issues: 1

Orchestra Platform Lumenate Installer

Join the chat at https://gitter.im/orchestral/lumenate

Lumenate is an experimental project primarily intended for extending API functionality on Orchestra Platform by adding Lumen on the same codebase as your primary application.

Installation

First, install the Lumenate installer and make sure that the global Composer bin directory is within your system's $PATH:

composer global require "orchestra/lumenate=^0.4"

Next, create a new Orchestra Platform application and install Lumen:

composer create-project orchestra/platform application
cd application
lumenate install

After installing Lumen, you can also opt to add the base Lumen application skeleton under lumen folder, you can do this by running:

lumenate make

You can also choose to add new path to autoload to detect lumen/app using PSR-4 or use a single app directory.

{
    "autoload": {
        "psr-4": {
            "App\\Lumen\\": "lumen/app/",
            "App\\": "app/",
        }
    },
    "autoload-dev": {
        "classmap": [
            "lumen/tests/LumenTestCase.php",
            "tests/TestCase.php"
        ]
    },
}