Added AES encryption to securely retrieve the key to store the key in encrypted form in the database. Implemented a class to get the decryption key. To add a key to the database, the command: "php artisan app: add-key {key}" is implemented, where the entered value is saved in encrypted form.
To get data and save it in the database, a controller is implemented where you can call it through the API. Since, apart from Stocks, other data was empty, I could not add their essence, but the logic will be the same as stocks.