'How to Install Composer Require doctrine/dbal

In the Laravel framework, I am trying to modify my columns using change() by migrations. Right now, I need to install...

composer require doctrine/dbal

I am not really sure how to install it, do I need to run a cmd command? I am using Laravel 5.4.



Solution 1:[1]

just for beginners, you install Doctrine/DBAL in the root directory of your project via cmd:

example:

cd c:/xampp/htdocs/lara/app
composer require doctrine/dbal^3.0

or whatever version your laravel version compatible (^2.13.1 or 3.0 for laravel 8.0 or 8.83.5)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 felix tm