Edit PowerPoint Presentations with Text with PHP Library

I want to create one editor in my application where user can upload his ppt file and he can edit the text and upload background images as well. My project is developed in PHP Laravel 8.

Can you please help me to identify which library I can use and do we have any demo code available. Also I tried the slide editor demo, it has only feature to select the sections and change the positions, but I cannot edit, replace the text. My requirement is to EDIT the text.

@ashwinkhan,
Thank you for contacting support.

We have opened the following new ticket(s) in our internal issue tracking system and will consider your question according to the terms mentioned in Free Support Policies.

Issue ID(s): SLIDESJAVA-39244

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Could you please clarify which slide editor demo you mean?

@ashwinkhan,
Our developers reviewed your requirements. You can use Aspose.Slides for PHP via Java:

Please try using the following code snippets:

$pres = new Presentation();

// Add new rectangle shape with text
$shp = $pres->getSlides()->get_Item(0)->getShapes()->addAutoShape(
    ShapeType::Rectangle, 50, 50, 150, 50);

$shp->getTextFrame()->setText("New Text");

$pres->save("replaced.pptx", SaveFormat::Pptx);

or

$pres = new Presentation("pres.pptx");

$format = new PortionFormat();
$format->setFontHeight(24);
$format->setFontItalic(NullableBool::True);
$format->getFillFormat()->setFillType(FillType::Solid);
$color = new Java("java.awt.Color");
$format->getFillFormat()->getSolidFillColor()->setColor($color->RED);

SlideUtil::findAndReplaceText($pres, true, "[this block]", "my text", $format);
$pres->save("replaced.pptx", SaveFormat::Pptx);