PHPackages                             getsky/phalcon-bootstrap - 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. getsky/phalcon-bootstrap

ActiveLibrary[Framework](/categories/framework)

getsky/phalcon-bootstrap
========================

Bootstrap Component for Phalcon

v1.4.2(11y ago)172754[1 issues](https://github.com/JimmDiGrizli/phalcon-bootstrap/issues)2MITPHPPHP &gt;=5.4

Since Jan 17Pushed 11y ago4 watchersCompare

[ Source](https://github.com/JimmDiGrizli/phalcon-bootstrap)[ Packagist](https://packagist.org/packages/getsky/phalcon-bootstrap)[ RSS](/packages/getsky-phalcon-bootstrap/feed)WikiDiscussions develop Synced 3d ago

READMEChangelog (5)Dependencies (5)Versions (9)Used By (2)

Bootstrap component for Phalcon [![Build Status](https://camo.githubusercontent.com/ce5384e8768266e305c70793d104294c13c96915efe9537647751fca0ea9bb51/68747470733a2f2f7472617669732d63692e6f72672f4a696d6d44694772697a6c692f7068616c636f6e2d626f6f7473747261702e706e673f6272616e63683d646576656c6f70)](https://travis-ci.org/JimmDiGrizli/phalcon-bootstrap) [![Dependency Status](https://camo.githubusercontent.com/dcfd3498144c333a2f1a27434deee1482452e5faeb3fd5c1c22d62a6351787c7/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3533376338393033313463313538326533373030303864622f62616467652e737667)](https://www.versioneye.com/user/projects/537c890314c1582e370008db)
=================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#bootstrap-component-for-phalcon--)

**This component is used as a basis for [Pherlin](https://travis-ci.org/JimmDiGrizli/pherlin). I recommend to use it instead of this bootstrap.**

Run application
---------------

[](#run-application)

To launch the application, you need to execute code:

```
$app = new Bootstrap(new FactoryDefault());
echo $app->run();
```

Pass `true` into a method `app()`, if you do not want to run the handler:

```
$app = new Bootstrap(new FactoryDefault());
echo $app->run(true);
```

Configuration file
------------------

[](#configuration-file)

By default, the configuration file is here `../app/config/config_%environment%.yml`. `%environment%` - environment under which the application is running.

To change the configuration file, you must use the method `setPathConfig()`:

```
$app = new Bootstrap(new FactoryDefault());
$app->setPathConfig('config/config.%environment%.ini');
echo $app->run();
```

Environment
-----------

[](#environment)

By default, the environment is set to `` `dev ```. To change it, pass the second parameter name of the desired environment.

```
$app = new Bootstrap(new FactoryDefault(), 'prod');
```

Сaching
-------

[](#сaching)

Bootstrap allows you to cache the application configuration. When creating object of class `Bootstrap`, there is check the presence of `apc` or `apcu`. If `APC(u)` is found, the configuration will be cached. To disable caching, you should report it:

```
$app = new Bootstrap(new FactoryDefault(), 'prod');
$app->setCacheable(false);

// check
echo $app->isCacheable();
// print: false
```

If you are on the same machine run two copies of the site, you need to specify a different name for the application cache:

```
$app = new Bootstrap(new FactorDefault(), 'prod', 'FestApp');
// in another application:
$app = new Bootstrap(new FactorDefault(), 'prod', 'SecondApp');
```

Loader
------

[](#loader)

If you need the autoloader (`Phalcon\Loader`), you can request it from the bootstrap:

```
$app = new Bootstrap(new FactoryDefault(), 'prod');

/**
* @var $loader Phalcon\Loader
*/
$loader = $app->getLoader();
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

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 ~51 days

Total

7

Last Release

4193d ago

### Community

Maintainers

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

---

Tags

frameworkbootstrapphalcon

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/getsky-phalcon-bootstrap/health.svg)

```
[![Health](https://phpackages.com/badges/getsky-phalcon-bootstrap/health.svg)](https://phpackages.com/packages/getsky-phalcon-bootstrap)
```

###  Alternatives

[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/incubator-mailer

Phalcon Incubator Mailer Adapters

1318.1k2](/packages/phalcon-incubator-mailer)

PHPackages © 2026

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