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

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

+3
source share
1 answer

In one of the vendor 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

+8
source

Source: https://habr.com/ru/post/1711745/


All Articles