Questions tagged [fuelphp]

FuelPHP is a simple, flexible, community driven PHP 5.3 web framework based on the best ideas of other frameworks with a fresh start.

Features

  • (H)MVC implementation
    • Full HMVC implementation
    • ViewModels to get the View-specific logic out of your Views and Controllers
    • Route directly to closures (from v1.1)
  • Modular and Extendable Core/Packages/Applications
    • Extend or replace Core classes without rewriting a single line of code
    • Package additional functionality into Packages
    • Create modular application by dividing it up into Application Modules
  • Security
    • Output encoding
    • Input filtering
    • XSS filtering
    • CSRF token protection
    • SQL injection prevention
  • OIL: The power of (optional) command line
    • Code generation and Scaffolding
    • Run Database Migrations
    • Interactive Debugging
    • Tasks - useful for CRON and Importing Data
  • ORM
    • OO way of working with database data and performing CRUD operations
    • All normal relationship types: belongs-to, has-one, has-many, many-many ("has and belongs to many")
    • Fetch relations of relations of relations of...etc... in one go ("nested relations")
    • Use Observers to update/process the objects instances, for example to validate before saving or to auto-update an updated_at property
    • The only ORM to support Temporal rows
    • Soft delete out of the box
  • Authentication Framework
    • Included simple authentication for users, groups & basic ACL
    • Secure hashing function for passwords included (PBKDF2)
    • Default interface for any Auth library in Fuel
  • Template Parsing Libraries
    • There are drivers included for the following libraries:
      • Mustache
      • Markdown
      • Smarty
      • Twig
      • Haml
      • Jade
      • Dwoo

Current Version: 1.7.3 (released 2015-05-21)
Website: http://fuelphp.com
Documentation: http://fuelphp.com/dev-docs
API: http://fuelphp.com/dev-api

524 questions
3
votes
1 answer

Can FuelPHP ORM handle this database design?

I'm wondering if Fuel ORM can handle the design described here: http://www.codeproject.com/KB/aspnet/LocalizedSamplePart2/normalizedSchema.gif The following SQL, or maybe something similar, must be generated and executed: SELECT CultureId FROM…
oaziz
  • 1,342
  • 1
  • 16
  • 31
3
votes
3 answers

FuelPHP Assets in subfolders

Is it possible to use Assets to include files that are in sub folders? Example: [base_url] /assets/css/pepper-grinder/jquery-ui-1.8.11.custom.min.css
Andres
  • 4,402
  • 6
  • 28
  • 33
3
votes
3 answers

From Two Dimensional Array To One Dimensional Array?

Hey, I'm using FuelPHP and doing like this... $query = \DB::select( 'username' ) ->from( 'users' ) ->execute() ->as_array(); I'm getting array as shown below. Array ( [0] => Array ( [username] => daGrevis ) [1] => Array …
daGrevis
  • 19,600
  • 35
  • 95
  • 134
3
votes
1 answer

use "()" in Fuelphp query builder

I'd like to use "()" in fuelphp's sql like this. select * from shop where (item1=$item1 or item2=$item1) and flag=on; I tried to express it like this; $shop_query =…
user3119018
  • 199
  • 1
  • 3
  • 11
3
votes
2 answers

PHP & Composer, how do I combine composer.json files

Can someone explain how I'm supposed to use composer with a php. I have a composer.json file in my doc root that downloads the core packages for my project, but then when I want to add another project like google+ php sdk found here…
Brian
  • 4,030
  • 12
  • 53
  • 96
3
votes
3 answers

HTML tags not being rendered

I'm building a simple blog system with FuelPHP and TinyMCE editor. When I format my text in the TinyMCE (or CKEditor, doesn't matter) and save it in my database everything is OK. However when I print the text back, surprisingly, my browser won't…
Miro Markaravanes
  • 3,167
  • 21
  • 32
3
votes
4 answers

Linux - Centos : Giving nginx chmod access

Alright so I cannot for the life of me get rid of this error : Warning! ErrorException [ Warning ]: chmod(): Operation not permitted COREPATH/classes/finder.php @ line 511: 510: { 511: chmod($dir.$file, \Config::get('file.chmod.files',…
LukePOLO
  • 1,050
  • 2
  • 13
  • 28
3
votes
3 answers

Forbidden error in apache virtual host setup

Hello I have been looking through internet articles forums to solve my issue and so far it has been to no avail. I am trying to set up an Apache virtual host for my FuelPHP development on localhost but I keep getting slammed with the error 403…
user1000232
  • 219
  • 2
  • 4
  • 14
3
votes
0 answers

PHP Comet (Server Side Push)

Possible Duplicate: Using comet with PHP? I am writing a social application with a back end written in PHP (I'm using the FuelPHP framework). I would like to notify a client that some event has occurred on the server in a similar way that…
Adam Waite
  • 19,748
  • 19
  • 120
  • 146
3
votes
1 answer

FuelPHP ORM Module/Package Interactions/Hooks

I am looking for a way for modules to interact with ORM models in other modules using FuelPHP. For example if I had a module entitled products, it'll come with some default behavior whereby products are selected from the products table etc. That's…
Ben Swinburne
  • 22,620
  • 8
  • 55
  • 94
3
votes
3 answers

how to split character in Twig template?

i'm having a problem when i want to use split function in Twig, i have words like this Male\tDoctor ,i want to split that word using \t ascii, i'm search in search engine and i'm get a discussion about twig split issue in this url i'm read that and…
viyancs
  • 2,229
  • 4
  • 34
  • 69
3
votes
1 answer

Exception based form validation

I'm using sentry as the auth package for my app, this is my controller method for signing up users. class Controller_Auth extends \Controller_Base { function action_signup($type='user') { $user = \Fieldset::forge('new_user'); …
Sahan H.
  • 472
  • 6
  • 14
3
votes
1 answer

Migrating to FuelPHP with existing database

I'm migreting from Codeigniter to FuelPHP. I like Fuel's ORM and other nice stuff and it's really good to enough to start with if you're creating an app from scratch. In my case I have a populated MySQL database and am looking for a right way to use…
Cyprezz
  • 53
  • 6
2
votes
1 answer

MySQL Error - SQLSTATE [42000]: Syntax error or access violation: 1064

I've looked through the suggested code and cannot find an answer that fixes the problem so I am asking away. I am using MAMP v2.0.5, MySQL v5.5.9, PHP v5.3.6 (according to MAMP, v5.3.8 according to OS X) and FuelPHP v1.1, and being new to frameworks…
Ashley Bye
  • 1,694
  • 2
  • 23
  • 39
2
votes
1 answer

PHP unserialize - error at index

I am having some difficulties with PHP serialize and unserialize functions. I am inserting array into MySQL DB with serialize(array). This is my value in…
Primoz Rome
  • 8,932
  • 15
  • 65
  • 93
1
2
3
34 35