Transloadit PHP SDK for CakePHP

Archived from the Transloadit support forum. Originally posted on July 18, 2014; details may be outdated, see our docs for current behavior. Original thread

Hi Guys,

I want to use transload.it in cakePHP , is there any Plugin available ? or i need to make changes related to cakePHP in php-sdk.

I don’t know how to use this php-sdk.
Need some assistance

Thank you in advance

Hi Munir,

I don’t think there is a CakePHP plugin. There was some mention of it here https://community.transloadit.com/t/external_id/tender-questions-543 but I don’t think it ever got finished/made public.

It should be easy to include the php-sdk and use that.

You could also decide to use our jQuery plugin, and then just hand the post with all the media attached.That should be in ->data I believe in CakePHP.

Kind regards,
Kevin

Hey Kevin,

Thank you for your reply.

I’ve already used that Jquery plugin, what actually I want to do is that. There are already image files are available in my local directory with some linkage of records so what I actually I need is that I want to upload that bunch of files in transloadit with some FTP so in single click I will upload my all files which are in my local directory.

Is there any simple PHP Code Available for uploading files through cURL or etc

Hey Munir,

you can just use our /ftp/import robot for that, and then trigger the assembly out of your form. Please see this example: https://transloadit.com/demos/s3-import/import-an-entire-folder-from-s3 (as an example for /s3/import) and our /ftp/import robot docs: https://transloadit.com/docs/conversion-robots#ftp-import

Kind regards,
Tim

Co-Founder Transloadit
@tim_kos

Hi Tim,
Thank you for reply ,

Some how its my mistake i don’t want import from FTP,
i want to export my local directory images into transloadit server, without jQuery code.

Hi Munir,

For that you could also use our new node-sdk: https://github.com/transloadit/node-sdk.
See the addFile example. Our node-sdk is probably the most feature complete tool we have.

Kind regards,
Kevin