Luminova Framework

PHP Luminova: Requirements for PHP, Web Servers, and Dependencies

Last updated: 2026-11-28 13:05:54

System requirements for running Luminova in development and production, including supported operating systems, PHP versions, and required packages. Find the extensions and packages needed for specific database drivers, cache backends, and other integrations.

Luminova requires PHP 8.1 or later in the PHP 8 series, with the JSON and mbstring extensions enabled. Check the PHP version and enabled extensions for both Novakit and your web application. Command-line PHP and the PHP runtime used by your web server may load different configurations.

Install the additional extensions and packages required by the database driver, cache backend, or other integrations your application uses.


Operating System

Luminova supports application development on Windows, macOS, and Linux. If your development and production environments run on different operating systems, check that both support the PHP extensions your application uses.


Primary Requirements

The following PHP version, extensions, and packages are required to run Luminova.

RequirementVersion constraintPurpose
php^8.1PHP 8.1 or later in the 8.x series
ext-json*JSON encoding and decoding
ext-mbstring*Multibyte string handling
psr/log^1.1PSR logging interfaces used by Luminova’s logger
psr/http-client^1.0PSR HTTP client interfaces used by Luminova’s HTTP clients
luminovang/framework^3.9Luminova framework package

Luminova requires Composer to install and update project dependencies. See the installation guide for setup commands.


Web Server

For local development, run php novakit server from your project directory to start PHP’s built-in web server. Open the address shown in your terminal to view your application. See the Novakit development server guide for host and port options.

For production with Apache or Nginx, set the document root to your project’s public/ directory. Configure the server to serve static files directly and forward application requests to public/index.php. See Installation and Setup for virtual host examples.


Database

Set database.connection in your project’s .env file to switch between PDO and MySQLi. When switching drivers on the same MySQL database, keep your existing host, port, database name, and credentials.

Use PDO with MySQL

Enable the pdo and pdo_mysql PHP extensions and add these settings. To use PDO with PostgreSQL or SQLite, set database.pdo.driver to pgsql or sqlite and enable pdo_pgsql or pdo_sqlite respectively.

database.connection = pdo
database.pdo.driver = mysql

Use MySQLi

Enable the mysqli PHP extension and set database.connection to mysqli. The database.pdo.driver setting applies only to PDO, so you can leave it in place when switching drivers.

database.connection = mysqli

See Establishing a Database Connection for connection settings, sockets, and failover.


Feature Dependencies

Enable the PHP extensions and install the packages needed by the drivers and integrations your application uses.


Optional PHP Extensions

ExtensionWhen you need it
ext-curlSending requests through the Novio HTTP client. See Novio HTTP client.
ext-exifReading EXIF metadata from images. See Uploaded file image metadata.
ext-fileinfoDetecting MIME types from file contents. See MIME detection.
ext-gdResizing images with the NanoImage backend. Install peterujah/nano-image with it. See File renderer.
ext-imagickResizing images with the Imagick backend. See File renderer.
ext-memcachedConnecting to a Memcached server. See Memcached cache.
ext-redisUsing the Redis cache driver. Enable the PHP Redis extension and configure a reachable Redis server. See Redis cache.
ext-igbinaryReading or writing cache entries or queue payloads in igbinary format. See File cache and Database task queues.
ext-pdoSelecting the PDO database driver. Also enable the PDO extension for your database. See PDO driver.
ext-mysqliSelecting the MySQLi database driver. See MySQLi driver.
ext-intlUsing internationalization features such as converting internationalized hostnames to ASCII. See HTTP client IDN settings.
ext-opensslSelecting the OpenSSL encryption driver or using other OpenSSL-based operations. See Encryption drivers.
ext-sodiumSelecting the Sodium encryption driver. See Encryption drivers.
ext-pcntlForking processes in the CLI HTTP socket server. See HTTP socket server.

Optional Packages

PackageWhen you need it
guzzlehttp/guzzleSelecting the Guzzle HTTP client. See Guzzle HTTP client.
phpmailer/phpmailerSelecting the PHPMailer driver. See Sending email.
swiftmailer/swiftmailerSelecting the SwiftMailer driver. See Sending email.
smarty/smartySelecting Smarty as your template engine. See Smarty integration.
twig/twigSelecting Twig as your template engine. See Twig integration.
league/flysystemUsing a Flysystem storage adapter. Install the adapter package for your chosen backend as needed. See Local and cloud storage.
nanoblocktech/psr-cacheUsing PSR-6 cache pools or PSR-16 simple caches. See PSR-6 cache pools and PSR-16 simple caches.
peterujah/nano-imageChoosing the GD-based resizing backend. See File renderer.
endroid/qr-codeGenerating Base64 QR code images or rendering SVG QR codes locally. TOTP code validation works independently. See TOTP QR codes.
luminovang/array-functionsBackporting PHP 8.4 array functions to earlier PHP versions. See Global polyfill functions.
opis/closureUsing the Opis serializer with queued closures and anonymous classes. See Database task queues and Anonymous object serialization.
firebase/php-jwtEncoding and decoding JWTs through Luminova’s JWT class. See JWT authentication.
kreait/firebase-phpUsing the Firebase notification integration. See Firebase notifications.
peterujah/php-timezone-canonicalizerUsing the optional canonicalization backend for timezone names. Used by Luminova\Time\Timezone::canonical().

PHPVCI Shared Autoload

Luminova supports optional shared autoloading through PHPVCI. Use it when multiple Luminova applications on the same host need to load framework files from a shared installation. Each application enables PHPVCI in its root .phpvci.php file and points paths.target to the shared framework directory. Set version to the framework version constraint the application expects.

See PHPVCI Admin and PHPVCI PPHP.

For Luminova configuration and setup examples, see the PHPVCI shared autoloading guide.