Kohana Modules@

Oct / 21 / 2009

Swiftmailer Module

The version of Swiftmailer that ships with Kohana 2.3.4 is incompatible with PHP 5.3 (it uses the deprecated split() function). So here is a replacement module using Swift version 4.0.5 (current as of 21/10/2009).

The email helper is designed to be a direct replacement of the one in Kohana, although it does also contain another handy method - send_multipart

send_multipart($to, $from, $subject, $plain='', $html='',$attachments=array())

http://svn.steamshift.com/kohana-modules/tags/1.0/swiftmailer/

Please send comments / improvements

Edit: Thanks to Mike, who pointed out a couple of errors; should be all good now

Feb / 20 / 2009

ACL Module

First up; an acl module. Kohana is very powerful and groovy but there are a load of useful, well written and tested, things in Zend Framework - such as the ACL module. Rather than porting the module, we just include Zend (so we can get at other useful nuggets) and then use a wrapper around it.

With that in mind, here are our first 2 modules.

a. Zend (actually just a hook)
http://svn.steamshift.com/kohana-modules/tags/1.0/zend

b. ACL (a wrapper around zend acl)
http://svn.steamshift.com/kohana-modules/tags/1.0/acl

If you use SVN, a really nice way of including these is to use svn externals, and you’ll find that if you use the zend one as an external, it should pull Zend as an external too.

Feb / 20 / 2009

A Repository of Kohana Modules

We’ll be releasing, here on this site, a number of modules for the Kohana php framework which we have developed for sites we are working on … stay tuned for the first release!

Page 1 of 1