Consider a task as simple as attaching an invoice to an email and sending it to a particular user. It's an incredibly common task, and yet, there are many, many steps involved. What should the invoice look like? How do you programmatically save it as a PDF? How do you attach it to an email? How might you test that the notification was properly sent?If you're interested, come along as I work on this very task for the Laracasts codebase.
Overview
Syllabus
- How to Convert HTML to PDF
- Send a Notification and Attach a PDF
- Free Logic From the Controller
- Refactoring Considerations
- Notification Tests and Fakes
Taught by
Jeffrey Way