Laravel Multiple Database: Connect to multiple databases in an application

Recommend this page to a friend!
  Info   View files View files (68)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2021-06-30 (2 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 44 This week: 1All time: 10,140 This week: 174Up
Version License PHP version Categories
laravel-multiple-dat 1.0.0The PHP License5PHP 5, Databases, Libraries
Description Author

This package demonstrates how to connect to multiple databases in a Laravel application.

It provides code to show how to connect to multiple databases, creating migrations, and establishing relationships.

This package is part of a tutorial article that shows how to handle access to more than one database connection when using the Laravel framework.

Innovation Award
PHP Programming Innovation award nominee
June 2021
Number 6
Usually, PHP applications only need to access a single database to store and retrieve the information they need to use.

In some cases, it may be necessary to connect to more than one database to perform operations that require access to information that is not all in the same database.

This package provides code to demonstrates so developers can learn how to connect to multiple databases in the same Laravel application.

Manuel Lemos
Picture of Channaveer Hakari
  Performance   Level  
Innovation award
Innovation award
Nominee: 1x

 

Details

About This Project

Laravel 7.X Project

I have written whole article on this - <a href="https://stackcoder.in/posts/laravel-7x-multiple-database-connections-migrations-relationships-querying?referer=github.com">Laravel 7.x Multiple Database Connections, Migrations, Relationships & Querying</a>

  • Connecting Multiple Databases From Single Project
  • Create & Manage Migrations For Different Databases
  • Running & Rollback Migrations
  • Model Relationships Of Different Databases
  • Querying From Relationship Tables.
  Files folder image Files  
File Role Description
Files folder imageapp (5 directories)
Files folder imagebootstrap (1 file)
Files folder imageconfig (14 files)
Files folder imagedatabase (3 directories)
Files folder imagepublic (4 files)
Files folder imageresources (4 directories)
Files folder imageroutes (4 files)
Files folder imagetests (2 files, 2 directories)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file .env.example Data Auxiliary data
Accessible without login Plain text file .styleci.yml Data Auxiliary data
Plain text file artisan Class Class source
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file package.json Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file server.php Aux. Auxiliary script
Accessible without login Plain text file webpack.mix.js Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:44
This week:1
All time:10,140
This week:174Up

For more information send a message to info at phpclasses dot org.