Giter Club home page Giter Club logo

php-skeleton's Introduction

Skeleton

travis-ci-badge packagist-dt-badge license-badge release-version-badge code-climate-maintainability-badge code-climate-test-coverage-badge php-version-badge

This is where your library description should go. Try to limit it to a paragraph or two.

Features

  1. ...
  2. ...
  3. ...

Installation

$ composer require suin/skeleton

Examples

// Some example code here

See more examples, visit ./example folder.

Changelog

Please see CHANGELOG for more details.

Contributing

Please see CONTRIBUTING for more details.

Followings should be deleted when you publish your library.

Skeleton

A template repository for kicking start PHP library development.

Features

  • Unit testing ready
    • PHPUnit
    • Livexample: Ensures your example codes works well by unit testing.
    • Cross PHP version testing powered by Docker containers
      • From PHP 5.3 to PHP 7.2 or later
  • Code quality tools bundled
  • Ready for collaboration
    • CONTRIBUTING
    • PHP-CS-Fixer
    • Well-configured Git
      • .gitattributes
      • .gitignore
      • .gitmessage
    • Travis CI integration
    • Code coverage reports powered by Code Climate
    • Automated code review powered by Code Climate
  • Reusable documents

How to use this

git clone [email protected]:suin/php-skeleton.git ./your-lib-name
cd ./your-lib-name
rm -rf .git
git init
git commit --allow-empty -m "Initial commit."

Setting up Travis CI

: Install travis client
gem install travis

: Authenticate your travis account
travis login

: Triggers a new sync with GitHub
travis sync

: Enable CI
travis enable

: Visit CI dashboard
travis open

Submitting this package to Packagist

  1. Visit https://packagist.org/packages/submit
  • Enter repository URL.
  • Set up GitHub Integrations & services.
  • Check if the package is distributed: composer show -a suin/skeleton

Codeclimate code coverage setting

  • Add repository to Codeclimate.
  • Get test reporter ID from "Settings" โ†’ "Test coverage" โ†’ "TEST REPORTER ID".
  • Set Travis CI environment.
travis env set CC_TEST_REPORTER_ID <your reporter id>

php-skeleton's People

Contributors

suin avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

php-skeleton's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.