Composer require a forked repository

Опубликовано: 02 Октябрь 2024
на канале: Susan B.
719
30

How to use a forked version of a Composer package on Github. This is useful as a temporary solution if you identify a bug or issue in a package you’re using and the package maintainer is slow to address the issue. For this demo, I’ll work with a freshly installed Laravel application, but this would work with any Composer managed PHP project. Within the application, I’ll target the dependency guzzlehttp/guzzle as an example since it comes installed by default with Laravel applications.

=== NOTES ===
https://codewithsusan.com/notes/compo...

=== CHAPTERS ===
00:00 Introduction - example of why you might want to fork a package
01:40 Create fork with edits
03:20 Configure your application to use the fork
05:40 Why this should be a temporary fix
06:20 Comment the fork

=== PRODUCTS I USE ===
Microphone: https://amzn.to/3ZRPdvb
Microphone windscreen: https://amzn.to/3ZRPdvb
(paid links)