Write a PHP script to produce PDFs from images and csv data

In Progress Posted 4 years ago Paid on delivery
In Progress Paid on delivery

I am a teacher and I have been making card games for my students. But my php script has stopped working and I don't know enough to be able to fix it.

This can either be a fix of my existing script package (using ImageMagick; it worked 2012-2017 then suddenly stopped working; I can provide the entire original in the original directory structure) OR a new script to do the same thing, if you prefer to use different libraries, etc. It must be in PHP.

Given:

Subfolders containing images (pdf, png, jpg) and text (.csv format) named in a predictable way,

/data (containing .csv files)

/images

/cardelements

The script should:

0. Ask for a string to represent "XYZ" in the following filenames;

a. Read a file ([login to view URL]) containing text data (sometimes in double-byte languages like Chinese, sample provided), and a file ([login to view URL]) containing information about what graphic elements to include on each card;

b. Read an xml file ([login to view URL]) containing layout information and a name (sample provided);

c. Combine the graphics and pdf files (pdf, jpg/png, and text fields read from the .csv file) into a single PDF (output will be multiple PDFs as the [login to view URL] file gives multiple cards to be made);

d. Output the pdf file into a directory, naming the new pdfs [[login to view URL], [login to view URL], etc.];

Positions of the elements are determined by the [login to view URL] file; content to be combined is determined by the [login to view URL] file; words to be inserted come from the [login to view URL] file.

The three data files included below should really all be named [login to view URL], [login to view URL] and [login to view URL] (so XYZ="Chinese" in the initial input).

PHP XML PDF

Project ID: #21373673

About the project

24 proposals Remote project Active 4 years ago

24 freelancers are bidding on average $149 for this job

bjrupani

Hello hiring member i hope you are doing well i am bhavika i have 4+years experience in php , laravel ,ajax , jquery , javascript , html,css , bootstrap i have done many things with pdf like tcpdf , fpdf , cptdf javas More

$150 USD in 1 day
(206 Reviews)
7.4
gangabass

I can fix your PHP script in less than two days for just $200. All I need to start is your current code and some input samples from you.

$200 USD in 2 days
(391 Reviews)
7.4
Euphontec

Hi We have experience in Imagemagick parser operations. I assume your OS is Linux I am confident to take up the job. Please let me know whether you had updated your PHP versions recently. Looking forward hearing from y More

$250 USD in 10 days
(196 Reviews)
7.4
PhpWebD

Hello, I've read the project's description and I want to check the source code, if it's neat I'm ready to fix it, if it's not I am willing to code it from scratch. Please check my reviews and let's discuss this more More

$100 USD in 3 days
(133 Reviews)
6.7
schoudhary1553

Hello, I have gone through your job posting and become very much interested to work with you. I am an expert in this field. I have already completed several projects like this. For evidence you can see my profile. Pl More

$250 USD in 3 days
(91 Reviews)
6.8
leemilun

Hi. sir. Glad to meet you I checked your project description carefully. I mastered mobile and web development and have much experience, so I am very confident to do this project. :) I'm not an agent or broker but a sen More

$140 USD in 7 days
(72 Reviews)
6.6
imagicsoft

Hi I checked your project. (PDF Generate in php) can do it within this week if possible. I am a web expert having great experience in developing custom website with Html, Css, Javascript, PHP. I am confident to delive More

$140 USD in 7 days
(31 Reviews)
6.2
cybergeekshop

Hi, I would like to work on this awesome project I like to work on hard task and i feel confident that i can complete this task. please reply so we can discuss further. thank you somendra meena

$200 USD in 7 days
(134 Reviews)
6.4
ShrineWeb

Hi, I have done this before but I have a few questions, can we chat please? I have 10 years of experience in PHP.

$30 USD in 7 days
(68 Reviews)
5.9
fastestJohn

Hello. I have just read your project. https://www.freelancer.com/u/fastestJohn?w=f This is my profile. I am really interested in your project now. Because my skills are suitable for your project. I like the "Fastest" a More

$140 USD in 3 days
(26 Reviews)
5.5
daistar125

⭐⭐⭐⭐⭐Dear Client. How are you?⭐⭐⭐⭐⭐ I read through the job details extremely carefully and I am absolutely sure that I can do the project very well. I am an experienced professional who has been working with Web Pro More

$140 USD in 7 days
(16 Reviews)
5.6
AlexanderPGR

Hi, there. I have read your description carefully. I am interested in your card game task using PHP. I have high PHP skill and can work anytime. Please contact me and discuss further. Thanks.

$250 USD in 7 days
(21 Reviews)
5.1
pristinit29

Dear Sir/Ma’am, I have 5+ year experience in Front-end & back-end development like PHP, WordPress, Shopify, HTML5, CSS3, Bootstrap, Java-script, JQuery, Material design & ready to start immediately. I will always ava More

$200 USD in 3 days
(7 Reviews)
4.3
erp88masaya

Hi, I've 6+ years of experience in graphic and website designing, with php, java-script, photoshop, word-press, database(mysql) and e-commerce development etc with a bachelor degree of Computer Science Engineering. Pl More

$140 USD in 7 days
(0 Reviews)
0.0
TechnoWritesAcad

Hi, there I have gone through your project description and seems like I am the best fit for the project because I have rich experience. I can write to the tee in almost all niche I am a professional and an experience More

$60 USD in 7 days
(0 Reviews)
0.0