Aurelia Peters
Aurelia Peters

Reputation: 2209

Where to put custom and third-party classes in a CakePHP project?

I've just started working on an existing CakePHP project. I will be developing a class that does some operations on an Excel spreadsheet. Like a PEAR object, the class will be called by Cake components, but in and of itself it will not call any Cake components. Where is the best place to put the class file in the project hierarchy?

Upvotes: 3

Views: 3544

Answers (1)

dhofstet
dhofstet

Reputation: 9964

In one of the vendors folders (/app/vendors, or /vendors if you want to use your class in multiple applications), see also: http://book.cakephp.org/view/538/Loading-Vendor-Files

Upvotes: 8

Related Questions