Contribute to Laravel with Liferaft#laravel
You have probably heard that Laravel has changed the way you can submit bug reports. If you haven't, take a look at its GitHub page and you won't find any `Issues` tab anymore. Read on and I will tell you what this is all about.
What it was like
In Open Source projects like Laravel everyone is able to contribute. On GitHub there are two ways:
- Send a pull request (PR)
- Open an issue
When you know how to fix the bug yourself you can fork the repository, fix the bug and send a PR. Or it is possible to send a PR with failing unit tests to show the problem.
If you can't write unit tests or fix it yourself you can submit an issue to report it.
The second way seems very handy, but can get a pain in the ass and hard to maintain. This is because the person who wants to help you has to
recreate the issue in order to fix it and this takes most of the time.
In a perfect world you wouldn't have to explain your bug just with words. You could provide your whole application for everyone trying to help you so they could have the exact same setup to start investigating. This is exactly what Liferaft is trying to solve!
Liferaft is a
Symfony console application for submitting bug reports to the Laravel framework. It helps you to fork Laravel to get a fresh installation locally where you can recreate the bug. Then it can automatically send a PR.
Your demo application will live on your GitHub account and maintainers can grab that in order to find the bug. There is a Liferaft Readme file where you can explain the steps to recreate the issue. This is so much better than before!
Of course this is not as easy as writing an issue on GitHub but that's a benefit. People tend to write them without providing enough information or without trying to fix it themselves before submitting. Liferaft forces people to think about their issues before submitting them and if they do, they have to provide all the information they should.
With Liferaft there are no more GitHub issues for Laravel anymore. Everything is contributed by PR which makes it so much easier to maintain the project. Taylor and his little helpers will get better information about the bugs and more time to concentrate on new features. Make sure to checkout this free screencast by Taylor Otwell on Laracasts where he introduces Liferaft.