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
- Host: GitHub
- URL: https://github.com/dflydev/dd-ci-vendorlibs
- Owner: dflydev
- License: other
- Created: 2010-03-06T07:32:42.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2010-03-21T09:06:59.000Z (about 16 years ago)
- Last Synced: 2025-01-26T07:11:14.622Z (over 1 year ago)
- Homepage: http://code.google.com/p/dd-ci-vendorlibs/
- Size: 102 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
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