Welcome Guest, Not a member yet? Register   Sign In
Third party libraries
#1

Hi.
I use CI for many years, but have never used third party packages feature.
Can anyone explain to me the meaning of this feature.

For example, I want to add TCPDF to my project. I used to added it to applications/libraries.
Is this correct or should I used it from third_party forder?
Actually TCPDF is not a library - it's a package.

I searched for such examles, but again and again got arlicles like this: https://github.com/bcit-ci/CodeIgniter/w...ntegration.

Has anyone used third party packages and how do you include them?
Reply
Reply
#3

related -- i have used the ci dompdf library for years and its awesome
https://github.com/iamfiscus/Codeigniter-DOMPDF

he has the dompdf folder in the third party folder - but thats up to you, just make certain the paths are pointing to the right place
if you look here, this is how he hooks up the dompdf library to codeigniter
https://github.com/iamfiscus/Codeigniter...df_gen.php
Reply
#4

(11-02-2015, 01:50 PM)ciadmin Wrote: See http://www.codeigniter.com/user_guide/ge...aries.html and perhaps http://www.codeigniter.com/user_guide/li...n-packages

Oh, I understood. Packages are CI projects rarther then library.
Reply
#5

(11-02-2015, 03:29 PM)cartalot Wrote: related -- i have used the ci dompdf library for years and its awesome
https://github.com/iamfiscus/Codeigniter-DOMPDF

he has the dompdf folder in the third party folder - but thats up to you, just make certain the paths are pointing to the right place
if you look here, this is how he hooks up the dompdf library to codeigniter
https://github.com/iamfiscus/Codeigniter...df_gen.php

As I see, you used the same way as I did - created a wrapper for the external library.

Thanks a lot for everyone.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB