PHPackages                             cottacush/phalcon-base-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. [Framework](/categories/framework)
4. /
5. cottacush/phalcon-base-project

ActiveProject[Framework](/categories/framework)

cottacush/phalcon-base-project
==============================

Base project for bootstrapping phalcon projects

1.2.0(8y ago)4352MITPHP

Since Oct 27Pushed 7y ago8 watchersCompare

[ Source](https://github.com/CottaCush/phalcon-base-project)[ Packagist](https://packagist.org/packages/cottacush/phalcon-base-project)[ RSS](/packages/cottacush-phalcon-base-project/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (16)Versions (11)Used By (0)

Phalcon Base Project
====================

[](#phalcon-base-project)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3a5e97068ebaf76b8d68b2170b5a77b7aa04ffab3b92c3277bee0a844a2ac31c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f747461637573682f7068616c636f6e2d626173652d70726f6a6563742e7376673f7374796c653d666c61742d737175617265)](https://poser.pugx.org/cottacush/phalcon-base-project/v/stable)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/956a0aa886cf143e50156b8841fde53dd132c88106e0365f324b5a7fa4f8145e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f747461637573682f7068616c636f6e2d626173652d70726f6a6563742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cottacush/phalcon-base-project)[![CircleCI](https://camo.githubusercontent.com/6d6980dcf60fa07baa6c6ef59e3f34979fffd4e39689a2e0e91aa9ada894556d/68747470733a2f2f696d672e736869656c64732e696f2f636972636c6563692f70726f6a6563742f6769746875622f436f747461437573682f7068616c636f6e2d626173652d70726f6a6563742f6d61737465722e7376673f7374796c653d666c61742d737175617265266c6f676f3d636972636c656369)](https://circleci.com/gh/CottaCush/phalcon-base-project)

> Base project for bootstrapping phalcon projects

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

[](#requirements)

The minimum requirement by this project template that your Web server supports PHP 5.6

- [Phalcon 3.0.\*](https://docs.phalconphp.com/en/latest/reference/install.html)
- [Composer](https://getcomposer.org/doc/00-intro.md#using-composer)

### Install via Composer

[](#install-via-composer)

If you do not have [Composer](http://getcomposer.org/), you may install it by following the instructions at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).

You can then install this project template using the following command:

```
composer create-project --prefer-dist cottacush/phalcon-base-project new_project

```

Virtual Host Setup
------------------

[](#virtual-host-setup)

*Windows*[Link 1](http://foundationphp.com/tutorials/apache_vhosts.php)[Link 2](https://www.kristengrote.com/blog/articles/how-to-set-up-virtual-hosts-using-wamp)

*Mac*[Link 1](http://coolestguidesontheplanet.com/set-virtual-hosts-apache-mac-osx-10-9-mavericks-osx-10-8-mountain-lion/)[Link 2](http://coolestguidesontheplanet.com/set-virtual-hosts-apache-mac-osx-10-10-yosemite/)

*Debian Linux*[Link 1](https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts)[Link 2](http://www.unixmen.com/setup-apache-virtual-hosts-on-ubuntu-15-04/)

Sample Virtual Host Config for Apache

```

    ServerAdmin admin@app.com
    DocumentRoot "/phalcon-base-project/public"
    ServerName test.phalconbaseproject.com
    ServerAlias test.phalconbaseproject
    SetEnv APPLICATION_ENV test
    ErrorLog ${APACHE_LOG_DIR}/test.phalconbaseproject.error.log
    CustomLog ${APACHE_LOG_DIR}/test.phalconbaseproject.access.log common

       AllowOverride all
       Options -MultiViews
       Require all granted

```

Sample Server Block for nginx

```
server {
    listen      80;
    server_name test.phalconbaseproject.com;
    root        /public;
    index       index.php;
    charset     utf-8;
    access_log /test.phalconbaseproject.com.access.log;
    error_log /test.phalconbaseproject.com.error.log;

    location / {
        try_files $uri $uri/ /index.php?_url=$uri&$args;
    }

    location ~ \.php$ {
        fastcgi_pass unix:;
        fastcgi_index index.php;
        fastcgi_param APPLICATION_ENV test;
        include /fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
    }
}

```

Environment Variables
---------------------

[](#environment-variables)

Make a copy of `.env.sample` to `.env` in the env directory and replace values as appropriate.

Install dependencies
--------------------

[](#install-dependencies)

`composer install`

Setting OAuth2 Tables
---------------------

[](#setting-oauth2-tables)

Create a new database `app`

Run Migrations by running `./vendor/bin/phinx migrate`

Seed the database by running the following commands:

- Seed the Oauth Credentials
    `CLIENT_ID='' CLIENT_SECRET='' ./vendor/bin/phinx seed:run -s OauthSeeder -e development`

Running Tests
-------------

[](#running-tests)

- Make a copy of `.env.sample` to `.env.test` in the env directory and replace values as appropriate.
- Run the test script `runtest.sh`

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- \[Adeyemi Olaoye \] [link-author](https://github.com/yemexx1)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% 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

Every ~157 days

Total

3

Last Release

3168d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f6e9eaf68ebc517376cce95fb914b12efb176635ee11bdfc23761e14ad647fb1?d=identicon)[cottacush](/maintainers/cottacush)

![](https://www.gravatar.com/avatar/3695afaa8b1081d468707430ee0a39d3d652343f1c655f03f95ec9a730fb2465?d=identicon)[goke-epapa](/maintainers/goke-epapa)

![](https://www.gravatar.com/avatar/23b9c33e4c8df7c51d2af3603446139ac327c118ed1396d25c099a383d14c024?d=identicon)[adeyemi](/maintainers/adeyemi)

---

Top Contributors

[![kenny-wealth](https://avatars.githubusercontent.com/u/11851535?v=4)](https://github.com/kenny-wealth "kenny-wealth (54 commits)")[![yemexx1](https://avatars.githubusercontent.com/u/2228873?v=4)](https://github.com/yemexx1 "yemexx1 (4 commits)")[![netwox](https://avatars.githubusercontent.com/u/1388202?v=4)](https://github.com/netwox "netwox (3 commits)")[![goke-epapa](https://avatars.githubusercontent.com/u/4976201?v=4)](https://github.com/goke-epapa "goke-epapa (1 commits)")[![otaruMendez](https://avatars.githubusercontent.com/u/5216020?v=4)](https://github.com/otaruMendez "otaruMendez (1 commits)")

---

Tags

base-projectcottacushphalconphalcon-phpphpframeworkimprovedproject templatebasicphalcon

###  Code Quality

TestsCodeception

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/cottacush-phalcon-base-project/health.svg)

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

###  Alternatives

[yiisoft/yii2-app-basic

Yii 2 Basic Project Template

7031.8M7](/packages/yiisoft-yii2-app-basic)

PHPackages © 2026

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