Adam M-W
Adam M-W

Reputation: 3539

CodeIgniter authentication, permissions and admin system, or any other PHP equivilant of Django?

Reading all about PHP frameworks, CodeIgniter seems really nice in that I like it's speed and raw PHP-ness, but it really misses features that CakePHP has (ACLs, authentication,etc.). I originally thought that it would be ok to write the stuff i needed myself (and CodeIgnitier is definitely the DIY tool), but I'm really missing out on a pre-made thing like that. Is there a PHP-equivilant of Django, but not that extreme, like that provides an admin panel and some automagicness, but is still "flat-packed" and doesn't require command line like CodeIgniter does?

Or does anybody know a good module for CodeIgniter to add (1) an admin panel, (2) a login system and (3) a permissions system?

Or should I just shut up and write my own? (I was avoiding this not really because of effort but I'm not sure that I'll write it securely enough or use proper conventions)

Update: Or should I try and modify a pre-build CMS like PyroCMS to my needs as that is already has built-in authentication and permissions and admin panel, but might be unstable?

Upvotes: 4

Views: 6844

Answers (3)

Diablo
Diablo

Reputation: 3418

And ther is also BackendPro for Codeigniter. I haven't tried it but seem like it does what you want here ...

Other than that you can try TankAuth or Erkana for auth and Zend_Acl for ACL they are pretty simple to use :)

Upvotes: 1

Phil Sturgeon
Phil Sturgeon

Reputation: 30766

CodeIgniter is a basic framework which is why I love it. It does not provide Authentication, Authorization or Access Control because they are so generic it is incredibly difficult to make one that is very very easy to use.

If you would like to use a really simple authentication system try Ion Auth (the one used in PyroCMS) which works for the majority of situations but not all.

I think Django and Rails are doing a great job but both are going beyond what a normal framework is. CodeIgniter gives you enough space to code in your own conventions are greats ways of doing things instead of forcing you to spend ages working out the developers conventions instead.

Give it a go and look over PyroCMS for examples of how to use Ion Auth. As the Lead Developer of Pyro I can tell you that v1.0.2 is pretty stable. :)

Upvotes: 1

Teej
Teej

Reputation: 12873

There are numerous PHP frameworks that have their built-in Authentication:

  1. CakePHP
  2. Kohana
  3. Yii Framework

Upvotes: -1

Related Questions