Skip to content

Infogiants/resumebuilder

Repository files navigation

Resume Builder ( HTML to Docx and PDF Generation Script )

This is an script implementation in php for generating Docx and PDF based on dynamic HTML content.

Installtion

  1. Clone repo to html folder using: git clone https://github.com/lpkapil/resumebuilder.git
  2. cd resumebuilder
  3. chmod -R 777 ./*
  4. composer install
  5. chmod -R 777 ./*
  6. Edit action.php and change below
$this->siteUrl = 'http://localhost/resumebuilder/';

Usages

  • Access http://localhost/resumebuilder in Browser.
  • ( However it's POC, we need to send dynamic form values to script and choose HTML template and it will convert that to docx and pdf. )

HTML Templates

  • Add ".html" template files in templates folder. They will be availble in homepage templates list.

Response ( Generated PDF File and Docx File Full Path )

{"pdf":"http://localhost/resumebuilder/pdf/Resume-1531488196.pdf","docx":"http://localhost/resumebuilder/docx/Resume-1531488196.docx"}

Dependencies

  1. PHP Server ( v7.2.x )
  2. PHP Extensions required
  • PHP Zip
  • PHP DOM
  • PHP XML
  • PHP Tidy
  • PHP mbstring
  1. mpdf ( included using composer )
  2. phpdocx ( included using composer )

Donate and Support

About

A ResumeBuilder Script Written In PHP, It Generates PDF and Docx from html template

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published