Skip to content

Instantly share code, notes, and snippets.

@neilime
Last active October 10, 2019 16:29
Show Gist options
  • Save neilime/871c6b1c727d40433f1b68d03c823d27 to your computer and use it in GitHub Desktop.
Save neilime/871c6b1c727d40433f1b68d03c823d27 to your computer and use it in GitHub Desktop.
Repository checklist

Add Description & Website

Description : [REPOSITORY_DESCRIPTION]

Manage topics

Settings

Add Social preview image

Enable Wikis

Enable Data services - Security alerts

GitHub Pages

Source: gh-pages

Select a theme

Enable Enforce HTTPS

README.md

# [REPOSITORY_NAME]

[![Build Status](https://travis-ci.org/neilime/zf-assets-bundle.svg?branch=master)](https://travis-ci.org/neilime/zf-assets-bundle)
[![Coverage Status](https://coveralls.io/repos/github/neilime/zf-assets-bundle/badge.svg)](https://coveralls.io/github/neilime/zf-assets-bundle)
[![Latest Stable Version](https://poser.pugx.org/neilime/zf-assets-bundle/v/stable)](https://packagist.org/packages/neilime/zf-assets-bundle)
[![Total Downloads](https://poser.pugx.org/neilime/zf-assets-bundle/downloads)](https://packagist.org/packages/neilime/zf-assets-bundle)
[![License](https://poser.pugx.org/neilime/zf-assets-bundle/license)](https://packagist.org/packages/neilime/zf-assets-bundle)
[![Beerpay](https://beerpay.io/neilime/zf-assets-bundle/badge.svg)](https://beerpay.io/neilime/zf-assets-bundle) 

📢 [REPOSITORY_DESCRIPTION]

# Helping Project

❤️ If this project helps you reduce time to develop and/or you want to help the maintainer of this project, you can support him on [![Beerpay](https://beerpay.io/neilime/[REPOSITORY_NAME]/badge.svg)](https://beerpay.io/neilime/[REPOSITORY_NAME]) Thank you!

# Contributing

👍 If you wish to contribute to this project, please read the [CONTRIBUTING.md](CONTRIBUTING.md) file. Note: If you want to contribute don't hesitate, I'll review any PR.

# Documentation

1. [Installation](https://github.com/neilime/[REPOSITORY_NAME]/wiki/Installation)
2. [Code Coverage](https://coveralls.io/github/neilime/[REPOSITORY_NAME])
3. [PHP Doc](https://neilime.github.io/[REPOSITORY_NAME]/phpdoc)

Wiki

Installation

PHP

# With composer

```bash
$ php composer.phar install [REPOSITORY_NAME]
```

Travis

PHP

env:
  global:
  - secure: xxxx (Generate a secure token : "travis encrypt -r username/reponame GH_TOKEN=xxx --add;" (https://docs.travis-ci.com/user/encryption-keys/) 

language: php
sudo: false
matrix:
  include:
  - php: '7.2'
  - php: '7.3'
    env:
    - EXECUTE_AFTER_SCRIPT=true

cache:
  directories:
  - "$HOME/.composer/cache"
  
before_install:
- travis_retry composer self-update
- travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest

script:
- composer test:ci

after_script:
- if [[ $EXECUTE_AFTER_SCRIPT == 'true' ]]; then bash <(curl -s https://gist.githubusercontent.com/neilime/769d733c52acdecea8d2548fb3aca3ff/raw/travis_ci_php_publish_build.sh);fi

Star repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment