1. Go to this page and download the library: Download vanilla/laravel library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
return [
///
/// Config validate here!!!
///
ValidateConfigCommand::KEY => [
"type" => ["in:orchestration,local"],
"base_url" => ["", "--------------------------------------------------------------------
|
| These fields are used for accessing orchestration and fetching site info.
*/
"type" => env("ORCH_TYPE", $isOrchestration ? "orchestration" : "local"),
// Base URL for orchestration.
"base_url" => env("ORCH_BASE_URL"),
// Optional. Primarily used in localhost to force `Host` header with a base_url of an internalIP for the VPN.
"hostname" => env("ORCH_HOSTNAME"),
// Access token used to call orchestration.
"token" => env("ORCH_TOKEN"),
// Which orchestration network to use.
"network" => env("ORCH_NETWORK"),
// Which orchestration zone to use.
"zone" => env("ORCH_ZONE"),
// Base url to use when calling elasticsearch.
"search_service_base_url" => env("ORCH_SEARCH_SERVICE_BASE_URL"),
];
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.