Free Support Forum - aspose.cloud

Php SDK without composer


#1

Hi, Is there any example available in php using SDK without composer. I would like to try to split a pptx with multiple slides into separate files.

Thanks


#2

@style2joy

Thanks for your inquiry. We will appreciate it if you please share some details, why are you not willing to use composer? Because with composer loading dependencies is quite simple and common practice. Otherwise, you need to download all the dependencies listed in composer.json file manually. You may check this stackoverflow thread for more details.


#3

Thanks for your response,
I did try to use composer but I could not make it work as I have never used it earlier. Also the project in which I need to integrate Aspose is not build using composer. Maybe you can send me the exact steps that I can follow to setup using composer and I can try it again.

Thanks,
joy


#4

@style2joy

Thanks for your feedback. Please clone or download Aspose.Slides Cloud SDK for PHP repository, then run composer.json in the root directory to install dependencies and include autoload.php in your code file:

require_once('/path/to/aspose-slides-cloud-php/vendor/autoload.php');

Please find sample PHP code for splitting PPTX file SplitSlideAPI.zip (674 Bytes), please amend it as per your autoload.php path and aspose.cloud credentials. Hopefully it will help you to accomplish the task.