Transloadit PHP SDK for CakePHP

Started by Munir5 replies34 views
MunirOriginal post
#1

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

kvzTransloadit team
#2

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

Munir
#3

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

Munir
#5

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.

kvzTransloadit team
#6

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