Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Generation of PDF files using PHP and a template PDF

Featured Replies

Hi all,

 

I am thinking about writing a system in PHP for my own use that will allow me to produce a quote, proposal and terms bound together in a single PDF. Possibly extending in future for invoices, credit notes and statements, etc.

 

All of those documents would follow the same design style, and the same every time in terms of structure (except for rare occasions).

 

At the moment I copy and paste my Word files, edit and save as PDF. Whilst this works, it is time consuming and I find myself repeating the same thing over and over.

 

Clearly, it would be a big time saver to have a form that asks set questions and then have the documents created in seconds using PHP. The PDF would be created based on the options I chose and using the data I input. I could even make it e-mail the document directly to the customer or post it as a message in Basecamp using their API, etc.

 

The base design templates I could create in Illustrator and pull in when generating the PDF files to maintain consistent styling and reducing the need for complex PHP calls for drawing lines and shapes (would just be text).

 

You can see how that would save a lot of time.

 

Now, before I start spending rakes of time looking at different ways to do this, I thought I would ask to see if anybody is doing something similar or has any useful ideas I might find interesting!

 

Much obliged,

 

Matthew

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.