dvelum/dvelum-core

DVelum 4.x core

3.2.2 2021-07-15 22:03 UTC

This package is auto-updated.

Last update: 2024-12-25 04:12:34 UTC


README

PHP Version Total Downloads Build and Test

Stable Branch: 3.x

DVelum 4.x Core

New version of DVelum core. Better performance.

Highest level of PHPStan static analysis.

Dependency injections using constructors and DependencyContainer, Lazy initialization.

ORM and ORM-UI support.

Docs

Local installation

composer create-project dvelum/dvelum-core

Apache VirtualHost configuration example

<VirtualHost *:80>
    ServerName dvelum.local
    DocumentRoot /path/to/dvelum/www
    <Directory "/path/to/dvelum/www">
        Require all granted
        AllowOverride All
        Options +ExecCGI -Includes -Indexes
     </Directory>
</VirtualHost>

Add the local domain to /etc/hosts file

127.0.0.1 dvelum.local

Prepare for production

// remove development extensions
composer install --no dev

// generate class map for better performance
php ./console.php /generateClassMap