Questions tagged [kohana]

HMVC PHP5 framework that provides a set of components for building web applications. Be sure to mention specific version when asking.

Due to the differences in the codebase between and , as well as each minor version, please be specific in detailing which version of Kohana you are using when asking your question.

Kohana is an elegant framework that provides a rich set of components for building web applications.

It requires very little configuration, fully supports and , and provides many of the tools that a developer needs within a highly flexible system. The integrated class auto-loading, cascading filesystem, highly consistent , and easy integration with vendor libraries make it viable for any project, large or small. The support of has been started with

Popular Questions

Resources

See also

2221 questions
6
votes
2 answers

What is the point of this constant in Kohana?

In Kohana's core class, there is a constant FILE_SECURITY. string(60) "
alex
  • 479,566
  • 201
  • 878
  • 984
6
votes
3 answers

Kohana 3 pagination

I'm really lost on how pagination works in kohana 3. Is there a good example of pagination in Kohana 3 anywhere?
AdamB
  • 3,101
  • 4
  • 34
  • 44
6
votes
2 answers

Forum/Board written atop one of the big PHP Frameworks

I was looking for a fresh forum software (threaded) or bulletin board (flat/partitioned). And I'm wondering if there's an implementation based on one of the big PHP frameworks (CodeIgniter, Kohana, Yii, CakePHP, ZF, Seagull, Fusebox, Symfony, eZ,…
mario
  • 144,265
  • 20
  • 237
  • 291
6
votes
3 answers

Kohana 3 ORM - grouping where conditions with parentheses

I'm trying to run a query through the ORM like this: SELECT * from table where (fname like 'string%' or lname like 'string%') AND (fname like 'string2%' or lname like 'string2%'); Here's what i have so far: $results =…
Dexter
  • 5,666
  • 6
  • 33
  • 45
6
votes
1 answer

Kohana sample CRUD application

I'm completely new to this framework and I'm trying to find some sample CRUD application to get started with Kohana 3. There is a tutorial and information in the unofficial Kohana 3 Wiki (http://kerkness.ca/wiki/doku.php), but even there, there are…
titel
  • 3,454
  • 9
  • 45
  • 54
6
votes
6 answers

Should I use Drupal or Kohana-type framework for a web "application"

The debate is that I need a PHP Framework/Drupal with the flexibility to add custom features to a potentially large application (web and with an api). However, with a framework, like Kohana, I see myself tackling and re-inventing the wheel with the…
Andres
  • 5,002
  • 6
  • 31
  • 34
6
votes
2 answers

How to deal with mutliple sites that access one 'brain'?

Generally, my development has only covered small to medium size companies and e commerce sites. My next project will encompass say 30 sites - however, they'll have about 95% in common with each other. I want them to have 1 'brain' that means I can…
alex
  • 479,566
  • 201
  • 878
  • 984
5
votes
1 answer

Is there any good tutorial (example) for unit testing kohana base project?

I am looking for the best practices with PHPUnit testing a project on KohanaPHP framework.
Solvek
  • 5,158
  • 5
  • 41
  • 64
5
votes
4 answers

Are there any example projects that use Kohana with user registration and login authentification?

I want to make an web application (platform) that does pretty straightforward stuff: Users can register, get an account, and therefore login on to the platform. I've installed Kohana. It would be cool to have a lightweight demo-project that makes…
Thanks
  • 40,109
  • 71
  • 208
  • 322
5
votes
1 answer

How to show username in the url route in Kohana PHP Framework?

I am working on Kohana PHP framework. I want to show a 'username' instead of controller name in my URL. For example, username = james then how to show http://localhost:3000/james instead of http://localhost:3000/scrapbook/index => ...…
user990479
  • 115
  • 2
  • 8
5
votes
2 answers

Case sensitivity in URL issue on Linux + NGinx + Kohana + php

There is an issue/bug/feature/whatever on Linux + NGinx + Kohana : We have to make sure that we keep all our file names in lowercase only. We can't have anything like "setUserServer.php". It simply doesn't work. No idea why. If we give the name of…
Shrinath
  • 7,888
  • 13
  • 48
  • 85
5
votes
1 answer

url::redirect in kohana 3.1

I can't find function url::redirect in kohana 3.1 What is the new name for this function ? (If it still exists !)
Vivek Goel
  • 22,942
  • 29
  • 114
  • 186
5
votes
3 answers

kohana ORM question

i am using kohana ORM in order to get some results from the database. My problem is: even though i have consulted the documentation, i can't find a way to select only the column i am interested in. To be more explicit, i have: $sale_stock =…
dana
  • 5,168
  • 20
  • 75
  • 116
5
votes
1 answer

Kohana 3 Command line output buffering?

I am using Kohana 3 and I have a controller that extends Kohana_Controller. I call it from the command line using: php /path/to//index.php --uri="url/path" It works just fine, but this particular script takes a long time and during the execution I…
Craig Nakamoto
  • 2,075
  • 2
  • 18
  • 19
5
votes
1 answer

Order results from Kohana ORM

I'm using Kohana's ORM library, and I'm wondering if there is any way to order the results that are generated. Example: $priorities = ORM::factory('priority')->select_list('id','label'); //how to order these?
GSto
  • 41,512
  • 37
  • 133
  • 184