# Installation
# Requirements
- Web server (IIS, Apache, Nginx) with enabled URL rewriting
- PHP >= 7.3
# Composer
$ composer require giman/zxc_php:dev-master
TIP
Update autoload (when you change a configuration)
$ composer dump-autoload
# Local
- Download latest version from GitHub (opens new window)
- Require autoload
require 'ZXC_PHP/src/ZXC/Native/PSR/Autoloader.php';
- Create autoload configuration
$autoloadConfig = [
'ZXC' => [__DIR__ . '/../server/ZXC_PHP/src/ZXC'],
'App' => [__DIR__ . '/../server/App'],
];
new Autoloader($autoloadConfig);
- Require config file
$appConfig = __DIR__ . '/../config/config.json';
- Create application using
ZXCFactory
ZXCFactory::create($appConfig);