A list of amazingly awesome PHP libraries, resources and shiny things.
- Composer/Packagist - A package and dependency manager.
- Composer Installers - A multi framework Composer library installer.
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # This is how I used it: | |
| # $ cat ~/.bash_history | bash-history-to-zsh-history >> ~/.zsh_history | |
| import sys | |
| def main(): |
A list of amazingly awesome PHP libraries, resources and shiny things.
| #!/bin/bash | |
| # Should work with GitLab/GitHub/Bitbucket | |
| username="your-username" | |
| host="your-host.com" # eg: github.com | |
| clone_dir="`pwd`/repos" | |
| repos=( | |
| "repo-abc" | |
| "repo-def" |
| #!/usr/bin/env ruby | |
| # Using this script as your post-receive hook will update mirrors using git | |
| # push --mirror. To make this work you have to ensure that access is taken | |
| # care of (for example by setting up .ssh/config with an SSH key for the | |
| # user that runs the hook). | |
| # | |
| # To use this script populate /home/git/git-mirrors.yml with YAML like so: | |
| # --- | |
| # user/repo1.git: |