I'm really glad you're reading this, because we need volunteer developers to help this project come to fruition.
You can get updates about the current state of this project from Hanis Irfan profile.
Here are some important resources:
- Documentation guide users on how to use the project.
Since we don't have any tests for tools such as PHP Unit yet, all tests must be done manually through your browser of choice.
Please send a GitHub Pull Request with a clear list of what you've done (read more about pull requests). Please follow our coding conventions (below) and make sure all of your commits are atomic (one feature per commit).
Always write a clear log message for your commits. One-line messages are fine for small changes, but bigger changes should look like this:
$ git commit -m "A brief summary of the commit
>
> A paragraph describing what changed and its impact."
Start reading our code and you'll get the hang of it. We optimize for readability:
- We indent using 4 spaces (based on Visual Studio Code basic setting).
- We use Blade HTML for all views.
- Only use logics in views when necessary.
- Descriptive name for classes, variables etc is preferred.
- Please use
camelCase
for variable, method, function and class names and please usekebab-case
orsnake_case
for HTML and CSS related names. - As long as the code is readable and understandable, we can accept it. Comments can be included to further explain your code.
- Always store public facing images in the
storage/app/public/img
folder. The public images could be access through/storage/img
path. - This is open source software. Consider the people who will read your code, and make it look nice for them. It's sort of like driving a car: Perhaps you love doing donuts when you're alone, but with passengers the goal is to make the ride as smooth as possible.
- You can use
composer format
command to reformat your codes to follow our standards. Dry run command:composer format --dry-run --diff
.
Thanks, Muhammad Hanis Irfan bin Mohd Zaid, original author and maintainer of eKV.
These guidelines is adapted from Open Government contribution guidelines.