I have a process where during the user registration I have to pull data from a 3rd party API service. I'm using Laravel and I'm still at learning stage but I want to do this professionally.
I cant find any plugins related to Laravel 4 or Sentry to accomplish this. One idea that I had is using an array as a Controller property and then have 3 stepOne, stepTwo and stepThree functions that handle 3 different view and each time I simply add the inputed data to array. However even with a static array data is erased as class is reloaded.
Second idea off-course is using a temporary session (browser) to store data. I figured that using Database would expose the data to possible leaks if not done properly on the other hand I feel that using simple session is "unprofessional".
What would be the best way to approach this problem ?