Skip to content

dvelum/dvelum-core

Repository files navigation

PHP Version Total Downloads Build and Test

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