PHPackages                             despark/kohana - 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. despark/kohana

AbandonedProject[Framework](/categories/framework)

despark/kohana
==============

Kohana project template

0.1.2(12y ago)1871[1 issues](https://github.com/Despark/kohana/issues)[1 PRs](https://github.com/Despark/kohana/pulls)BSD-3-ClausePHPPHP &gt;=5.3.7

Since Feb 19Pushed 11y ago11 watchersCompare

[ Source](https://github.com/Despark/kohana)[ Packagist](https://packagist.org/packages/despark/kohana)[ RSS](/packages/despark-kohana/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (10)Versions (13)Used By (0)

### [Kohana](http://kohanaframework.org/) project template for [Composer](http://getcomposer.org/)

[](#kohana-project-template-for-composer)

This is how [we](http://despark.com/) bootstrap a Kohana project.

#### Creating a new project

[](#creating-a-new-project)

To create a project `foobar` run:

```
composer create-project despark/kohana foobar
```

That's it! You now have a Kohana project with some important modules installed, CLI tools, permissions set up and more!

#### What is installed

[](#what-is-installed)

- [Kohana core](https://github.com/kohana/core)
- Official Kohana modules:
    - [Database](https://github.com/kohana/database)
    - [Auth](https://github.com/kohana/auth)
    - [Cache](https://github.com/kohana/cache)
    - [Image](https://github.com/kohana/image)
- Other Kohana modules:
    - [Jam](https://github.com/openbuildings/jam)
    - [Jam Auth](https://github.com/openbuildings/jam-auth)
- [Phinx migrations](https://github.com/robmorgan/phinx) (see [Migrations](#migrations))
- [Password compatbility](https://github.com/ircmaxell/password_compat) (see [Password hashing](#password-hashing))

#### Installing additional libraries

[](#installing-additional-libraries)

You could run:

```
composer require /:
```

This would update the `require` section in `composer.json`, install the library and update the `composer.lock` file.

See the `suggest` section in `composer.json` for a useful list of Kohana modules and other libraries.

#### Bootstrap

[](#bootstrap)

The bootstrap file for Kohana is filled with a lot of goodies. You should check it out here: [`bootstrap.php`](application/bootstrap.php).

#### Password hashing

[](#password-hashing)

The [password hashing in the Auth module defaults](application/classes/Auth.php) to [PHP 5.5 `password_hash`](http://www.php.net/manual/en/function.password-hash.php). Compatibility for PHP &lt;5.5.0 is achieved using Anthony Ferrara's [password\_compat](https://github.com/ircmaxell/password_compat).

#### Database configuration

[](#database-configuration)

Kohana Database module is [configured based on environments](application/config/database.php). The database name defaults to the project name.

#### Migrations

[](#migrations)

Migrations are done via [phinx](https://github.com/robmorgan/phinx). Configuration is in [phinx.yml](phinx.yml). The database name defaults to the project name.

#### Under the hood

[](#under-the-hood)

If you are curious how your project is actually built you should check out:

- [Composer `create-project`](https://getcomposer.org/doc/03-cli.md#create-project) command
- [`composer.json`](composer.json)

Here is a summary:

- First it clones this repo in a folder with the name you've provided.
- Then it finds all dependencies listed in the `require` and `require-dev` sections in `composer.json` and their dependencies as well.
- Downloads them and put them in either [`vendor/`](vendor/) or [`modules/`](modules/).
- Then it runs the scripts from the `post-create-project-cmd` section in `composer.json`:
    - Creates `application/classes/Model`, `application/migrations` and `application/views`.
    - `chmod` with 755 `application/migrations`
    - Generates a random string and sets `Cookie::$salt` with it.
    - Replace `{{DATABASE_NAME}}` in [`phinx.yml`](phinx.yml) and [`application/config/database.php`](application/config/database.php) with the name of the project.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity55

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

Every ~14 days

Recently: every ~32 days

Total

10

Last Release

4383d ago

PHP version history (2 changes)0.0.1PHP &gt;=5.3.3

0.1.0PHP &gt;=5.3.7

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/506129?v=4)[Harry Dobrev](/maintainers/hkdobrev)[@hkdobrev](https://github.com/hkdobrev)

![](https://avatars.githubusercontent.com/u/4113307?v=4)[Danail Kyosev](/maintainers/dkyosev)[@dkyosev](https://github.com/dkyosev)

![](https://avatars.githubusercontent.com/u/7592650?v=4)[Evstati Zarkov](/maintainers/EZarkov)[@EZarkov](https://github.com/EZarkov)

![](https://avatars.githubusercontent.com/u/745771?v=4)[Filip Georgiev](/maintainers/phgeorgiev)[@phgeorgiev](https://github.com/phgeorgiev)

![](https://avatars.githubusercontent.com/u/490439?v=4)[Zdravko Evstatiev](/maintainers/zedevs)[@zedevs](https://github.com/zedevs)

---

Top Contributors

[![hkdobrev](https://avatars.githubusercontent.com/u/506129?v=4)](https://github.com/hkdobrev "hkdobrev (43 commits)")

### Embed Badge

![Health badge](/badges/despark-kohana/health.svg)

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

###  Alternatives

[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k16.8k](/packages/prestashop-prestashop)[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k16.2k49](/packages/elgg-elgg)

PHPackages © 2026

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