Cancelado

Need php class to create and manipulate pdf

I need a class wrapper, to perfom PDF operations. Main operations:

- Send to it a properly formatted XHTML4 and receive back a PDF.

- Rotate a pdf

- Split a pdf

- Stamp a pdf

The class must allow me to specify where to save the PDF.

You may use any approach, hopefully you can use something like [url removed, login to view]

In overview.. the class must have this methods:

Class to Generate PDF

generate($xhtml)

rotate()

save($filePath)

stamp($image, $position) // position only needs to be top left, top right, bottom left, bottom right

split( $pageFrom, $pageTo);

So final use I can do stuff like

//generate

$pdf = new Pdf($xhtml);

$pdf->generate();

$pdf->save('file/goes/[url removed, login to view]');

or..

// rotate

$pdf = new Pdf();

$pdf->loadPdf('from/[url removed, login to view]');

$pdf->rotate(90);

$pdf->save(); // saved in the same name, same spot

or

// stamp

$pdf = new Pdf();

$pdf->loadPdf('from/[url removed, login to view]');

$pdf->stamp("path/to/[url removed, login to view]", "top-left");

$pdf->save(); // saved in the same name, same spot

or

// split

$pdf = new Pdf();

$pdf->loadPdf('from/[url removed, login to view]'); // a 5 page pdf

$arrayOfPdfObjects = $pdf->split(1, 3) // Returns 1 pdf pages 1,2,3 and pdf 4,5

$arrayOfPdfObjects[0]->save('[url removed, login to view]');

$arrayOfPdfObjects[1]->save('[url removed, login to view]');

Habilidades: MySQL, PHP, Arquitetura de software, Teste de Software, Hospedagem Web, Gestão de Site , Teste de Website

Ver mais: pdf to xhtml, path to, manipulate , generate pdf, create a 3 pdf, path pdf, png stamp, create png image, pdf png php, php pdf generate, image pdf code, php rotate, png php, php pdf png, image create png, generate pdf file php, com wrapper class, php split file, php page save pdf file, php code create pdf, png php code, class wrapper, pdf png, save php page pdf file, generate png file

Acerca do Empregador:
( 20 comentários ) Hallandale Beach, United States

ID do Projeto: #3690778

2 freelancers estão ofertando em média $100 para este trabalho

eamattos

See private message.

$90.1 USD in 5 dias
(12 Comentários)
3.4
igorkhristenko

See private message.

$110.5 USD in 5 dias
(0 Comentários)
0.0