Skip to content
Luca Ubiali Web Developer

How to Contribute to Open Source - 2/13 - Forking and Installation

August 10th, 2024
Continuous Learning

Episode - https://laracasts.com/series/how-to-contribute-to-open-source/episodes/2


Of course when contributing to a project we don’t have ownership of, the way to go is to fork it. When doing it GitHub gives the option to fork only the main branch or all branches. What to select depends on the project. Laravel framework suggests to fork all branches as any contribution must be pushed to the branch corresponding to the current version.

After cloning the Prompts repo, and installing all dependencies, one way to go to figure out if all is set up correctly is running the tests. We are dealing with a Laravel package that relies on Pest, so it can be done with php artisan:test