An open API service indexing awesome lists of open source software.

https://github.com/dflydev/dd-ci-vendorlibs

Dragonfly Development CodeIgniter Vendor Libs Add-on
https://github.com/dflydev/dd-ci-vendorlibs

Last synced: about 1 month ago
JSON representation

Dragonfly Development CodeIgniter Vendor Libs Add-on

Awesome Lists containing this project

README

          

vendorlibs - Dragonfly Development's Vendor Libs CodeIgniter Add-On
http://code.google.com/p/dd-ci-vendorlibs/

vendorlibs for CodeIgniter is intended to allow for easily adding third party
(vendor) libraries to the include path.

The implementation involves a pre-system hook and a standardized placement
of vendor libraries.

APPPATH . 'vendors'
BASEDIR . 'vendors'

Every directory inside of either of these two directories will be added
to the PHP include path. For example:

system/application/vendors/fancy-orm/Orm.php

In this case, 'system/application/vendors/fancy-orm' will be added to the
include path and one will be able to require 'Orm.php' with either of the
following:

require 'Orm.php';
require 'fancy-orm/Orm.php';

Inspired by CakePHP's Vendor concept.
http://book.cakephp.org/view/538/Loading-Vendor-Files