Skip to content

Instantly share code, notes, and snippets.

Working from home

Mohammad Alavi Mohammad-Alavi

Working from home
View GitHub Profile
Mohammad-Alavi /
Last active January 15, 2022 06:55 — forked from Zekfad/
Conventional Commits Cheatsheet

Quick examples

  • feat: new feature
  • fix(scope): bug in scope
  • feat!: breaking change in API
  • chore(deps): update dependencies

Commit types

  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: Changes to CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
  • chore: Changes wich doesn't change source code or tests e.g. changes to the build process, auxiliary tools, libraries
Mohammad-Alavi / paginate.php
Created April 25, 2018 23:37 — forked from vluzrmos/paginate.php
Laravel Paginate Collection or Array
View paginate.php
* Gera a paginação dos itens de um array ou collection.
* @param array|Collection $items
* @param int $perPage
* @param int $page
* @param array $options
* @return LengthAwarePaginator