PHPackages                             qybercom/quark - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. qybercom/quark

ActiveLibrary[Framework](/categories/framework)

qybercom/quark
==============

Quark is a PHP multipurpose framework, designed for using in complex projects

47179↓92.9%8[2 issues](https://github.com/Qybercom/quark/issues)PHP

Since Mar 4Pushed 4mo ago10 watchersCompare

[ Source](https://github.com/Qybercom/quark)[ Packagist](https://packagist.org/packages/qybercom/quark)[ RSS](/packages/qybercom-quark/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Quark
=====

[](#quark)

Quark is a PHP SaaS framework, designed for using in complex projects.

Requirements
============

[](#requirements)

- PHP version **5.4** or higher
- NginX + php-fpm **or** Apache + mod-rewrite + mod-php

**Additional**
Some parts *(especially data providers)* may require additional PHP extensions. The list of core extensions is represented in wiki.

Let's go!
=========

[](#lets-go)

Let's create simple HelloWorld.

First of all, we need to understand the best project file structure *(D - directory, F - file)*:

```
[D] Services
[D] Models
[D] ViewModels
[D] Views
[D] storage
[D] static
[D] runtime
[F] .gitignore
[F] .htaccess
[F] index.php

```

Depending on project type, there can be no folders such as `ViewModels`, `Views` and `static`, or `storage`. The `.htaccess` can be found in Quark repository. Of course, if You use `NginX`+`php-fpm` You need to put rewrite rule in your virtual host configuration. In the `.gitignore` can be `runtime` and `index.php`

Now, let's take a look of `index.php`. Minimal required set is:

```
