Autoload Vendor with CakePHP 2.x and using class in folder vendor

I have get packpage UPS from page https://github.com/gabrielbull/php-ups-api. This is save in app/vendor of cakephp 2.x. How do I use them? T want to import folder of package just download and using many class in it.

Upvotes: 0

Views: 2177

Answers (1)

floriank
floriank

Reputation: 25698

It's described, as almost everything else in the official documentation.

Go for composer and it is just a composer require gabrielbull/ups-api and the lib will be available and loaded through the autoloader.

Upvotes: 2

Related Questions