Laravel automatically store user and it’s pdf file in database

  laravel, php

I have a project to store users, when you store a user with its data it opens the user table and beside each user there is link to pdf file with user data that redirect you to preview of the pdf file as html & CSS div and a button ‘print’ which download the div as pdf using JSPDF and html canvas, now I need to edit the project to store a copy of this pdf file automatically to the database when storing the user immediately, when the user data is filled and the submit button is clicked the pdf file is stored automatically
Note: the pdf in usual is created after the user created and you click on the pdf link which exist beside the user in the users table

Source: Laravel

Leave a Reply