Support the ongoing development of Laravel.io →
Laravel
Last updated 3 months ago.
0

Hey,

a general overview of the steps that you'd have to go through to connect both systems together:

  • Add the additional database connection to your config/database.php file and load the values of the additional database from the .env file.
  • Create models for the database tables in the job system and set the table and database using $table and $connection variables in your model. $connection should reflect the name of your additional database that you specified in the step before.
  • Create custom controllers that use the new models and select items from the database.
  • Create custom views to output the results from your queries in the new controller.
0

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

Chris Chris christophome Joined 29 Jul 2021

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.