afterFormValidated() or after() ?

Hi everyone, what would be the most suitable function for generating a PDF (using Spatie Browsershot) when the user create a new record of the resource concerned ?

A PDF is generated and saved in the filesystem, AND the path is added to the database record of this newly created record.
Was this page helpful?