Download the PHP package shipsaas/dev-flag without Composer
On this page you can find all versions of the php package shipsaas/dev-flag. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download shipsaas/dev-flag
More information about shipsaas/dev-flag
Files in shipsaas/dev-flag
Package dev-flag
Short Description Dev Flag implementation for Laravel Applications
License MIT
Informations about the package dev-flag
Laravel DevFlag / FeatureFlag - ShipSaaS
DevFlag (aka Feature Flag) enabling your Application Development to follow the CI/CD best practices.
Support
- PHP 8.0+
- Laravel 9.x & 10.x
Install
Then hit this to get the devflag.php
to your codebase:
Deep dive
Problems
IRL projects, it is inevitable for PRs that contains a lot of changes (thousands of lines, 50+ files).
For those PRs, even you have 10 people to review, they still won't cover everything 100%. Simply because it is too much.
Everybody loves small PRs and that is the undeniable fact. But how can we achieve it?
Welcome to DevFlag!
Solutions
DevFlag will help you to achieve that. Not only the tool, but also require a bit of your critical thinking.
Before starting development, you need to ensure:
- The scope, the changes that you will do (aka Technical Breakdown)
- This is the most important phase, you need to finalize the:
- Schema changes: avoid updating too much
- Code
- Create a DevFlag
- Start the development
Further reading for the PROs:
Usage
Add a new Flag
Open the app/devflag.php
, prepare your application's environments. Add your flag into all envs:
Check
Func-way:
OOP/DI-way:
IRL Use cases
Check out WIKI: https://github.com/shipsaas/dev-flag/wiki
Contribution rules
- Follow PSR-1 & PSR-12 coding conventions
- TDD is a must
Feel free to open a PR 😉
Maintainer
- @sethsandaru
License
MIT License