2017 © Pedro Peláez
 

library skeleton

PHP project.

image

suin/skeleton

PHP project.

  • Thursday, January 4, 2018
  • by suin
  • Repository
  • 1 Watchers
  • 2 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Skeleton

![travis-ci-badge] ![packagist-dt-badge] ![license-badge] ![release-version-badge] ![code-climate-maintainability-badge] ![code-climate-test-coverage-badge] !php-version-badge, (*1)

This is where your library description should go. Try to limit it to a paragraph or two., (*2)

Features

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

Installation

``` bash $ composer require suin/skeleton, (*3)


## Examples ```php // Some example code here

See more examples, visit ./example folder., (*4)

Changelog

Please see CHANGELOG for more details., (*5)

Contributing

Please see CONTRIBUTING for more details., (*6)

Followings should be deleted when you publish your library., (*7)

Skeleton

A template repository for kicking start PHP library development., (*8)

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 git@github.com: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, (*9)

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>
  

The Versions

04/01 2018

dev-master

9999999-dev

PHP project.

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

03/01 2018

1.0.0

1.0.0.0

PHP project.

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

28/10 2017

0.0.2

0.0.2.0

PHP project.

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

28/10 2017

0.0.1

0.0.1.0

PHP project.

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires