PHPackages                             phalcana/project - 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. phalcana/project

ActiveProject

phalcana/project
================

Phalcana project base template.

v0.8.0(10y ago)014BSD-3-ClausePHPPHP &gt;=5.4.0

Since Sep 11Pushed 10y ago1 watchersCompare

[ Source](https://github.com/braf/phalcana-project)[ Packagist](https://packagist.org/packages/phalcana/project)[ Docs](http://phalcana.com)[ RSS](/packages/phalcana-project/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/d972ff4c5160ab68f693582fdc0a48051d99b8ea484d78e42454f13f372939ac/68747470733a2f2f706f7365722e707567782e6f72672f7068616c63616e612f70726f6a6563742f762f737461626c65)](https://packagist.org/packages/phalcana/project)[![Build Status](https://camo.githubusercontent.com/9ef31a36e70c0e0a5617cbd8f278af8354d0b24852b52a2a9ed026b1242f3112/68747470733a2f2f7472617669732d63692e6f72672f627261662f7068616c63616e612d70726f6a6563742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/braf/phalcana-project)[![Total Downloads](https://camo.githubusercontent.com/da1e63b759e5c50ea9f3a132aff37fa3afcd07fed4dcc984ad7d6d040b05f961/68747470733a2f2f706f7365722e707567782e6f72672f7068616c63616e612f70726f6a6563742f646f776e6c6f616473)](https://packagist.org/packages/phalcana/project)[![License](https://camo.githubusercontent.com/be7233bc4a333cd05d0ebdae19967d28cc953561ee59c69de6543da384d34a7c/68747470733a2f2f706f7365722e707567782e6f72672f7068616c63616e612f70726f6a6563742f6c6963656e7365)](https://packagist.org/packages/phalcana/project)

Phalcana Project
================

[](#phalcana-project)

This is a starting point for your Phalcana base project and is meant as a template for you to add your code. This repository is not meant to be kept up to date with your project as the main components of the framework are loaded in via composer.

Requirements
------------

[](#requirements)

- PHP 5.4+
- [Phalcon](http://phalconphp.com/en/download)

Installing with composer
------------------------

[](#installing-with-composer)

```
composer create-project phalcana/project project-folder
```

### Setting up vhost

[](#setting-up-vhost)

The Phalcana project requires rewrite rules. Please find below examples for nginx and apache you get you started

#### nginx vhost

[](#nginx-vhost)

```
server {
    listen 80;
    server_name phalcana.com;
    root /var/www/phalcana;

    access_log /var/log/nginx/phalcana.com.access.log;
    error_log /var/log/nginx/phalcana.com.error.log;

    index index.php index.html index.htm;

    try_files $uri $uri/ @rewrite;

    location @rewrite {
        rewrite ^(.*)$ /index.php?_url=$1;
    }

    location ~ \.php {
        # try_files    $uri =404;

        fastcgi_index  /index.php;
        fastcgi_pass   unix:/var/run/php5-fpm.sock;

        include fastcgi_params;
        fastcgi_split_path_info       ^(.+\.php)(/.+)$;
        fastcgi_param PATH_INFO       $fastcgi_path_info;
        fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }
}
```

#### Apache .htaccess

[](#apache-htaccess)

```

    RewriteEngine On

    # Replace with the directory of your installation
    RewriteBase /

    # Remove trailing slashes unless the directory exists
    RewriteCond %{REQUEST_URI} (.*)/$
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)/$ $1 [L,R=301]

    # Protect application and system root files from being viewed
    RewriteRule ^(?:app|modules|system|example.htaccess|README.md|bower.json|Gruntfile.js|composer.json|package.json|phalcana|phalcana.bat)\b.* index.php?_url=/$0 [QSA,L]

    # Allow any files or directories that exist to be displayed directly
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    # Rewrite all other URLs to index.php/URL  [QSA,L]
    RewriteRule .* index.php?_url=/$0 [QSA,L]

```

Getting started
---------------

[](#getting-started)

You can check that your installation has been successful by visiting configured path in your browser. If the installation completed successfully you should see the welcome page.

Now that you have installed the basic setup you may start building your project. For more information on using the framework please visit the [Phalcana documentation](http://phalcana.com/guide). Phalcana is built on top of [Phalcon](http://phalconphp.com/en/download) so you may also need to refer to the documentation for the [Phalcon framework](http://docs.phalconphp.com/).

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3903d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f992e95d609f021f0d17592b9731e4e2e494e54d16a3170c87911274e6268f9?d=identicon)[braf](/maintainers/braf)

---

Top Contributors

[![braf](https://avatars.githubusercontent.com/u/2203426?v=4)](https://github.com/braf "braf (13 commits)")

---

Tags

kohanaphalconPhalcana

### Embed Badge

![Health badge](/badges/phalcana-project/health.svg)

```
[![Health](https://phpackages.com/badges/phalcana-project/health.svg)](https://phpackages.com/packages/phalcana-project)
```

###  Alternatives

[composer/installers

A multi-framework Composer library installer

1.4k136.0M6.0k](/packages/composer-installers)[phalcon/devtools

This tools provide you useful scripts to generate code helping to develop faster and easy applications that use with Phalcon framework.

1.3k2.0M54](/packages/phalcon-devtools)[phalcon/incubator

Adapters, prototypes or functionality that can be potentially incorporated to the C-framework.

7222.9M81](/packages/phalcon-incubator)[phalcon/ide-stubs

The most complete Phalcon Framework IDE stubs library which enables autocompletion in modern IDEs.

1623.1M121](/packages/phalcon-ide-stubs)[mattiasgeniar/phpunit-query-count-assertions

A custom assertion for phpunit that allows you to count the amount of SQL queries used in a test. Can be used to enforce certain performance characteristics (ie: limit queries to X for a certain action).

160730.9k2](/packages/mattiasgeniar-phpunit-query-count-assertions)[phalcon/migrations

Run and Generate DB Migrations with Phalcon Framework

29977.8k6](/packages/phalcon-migrations)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
