Skip to content

2dotstwice/php-library-skeleton

Repository files navigation

A skeleton for PHP library projects.

Setup your project

Copy over all files - except this readme - to your new PHP project and modify the following parts to your needs:

Run composer install.

Put your classes in the src directory, and PHPUnit tests in the tests directory. Follow the PSR-4 conventions for autoloading and PSR-2 conventions for coding style.

Run a full test (lint check, coding standards check and unit tests) with ./vendor/bin/phing test.

In order to automatically run a full test when committing to git, install the included git hooks hook with ./vendor/bin/phing githooks.

Setup third-party services

Register your project on:

About

A skeleton for PHP library projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages