2017 © Pedro Peláez
 

library prototype-php-library

A PHP library

image

jpchateau/prototype-php-library

A PHP library

  • Thursday, October 29, 2015
  • by jpchateau
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

PHP Library Prototype Build Status

PHP Library Prototype is a tool to quickly initiate the development of a new PHP library., (*1)

Features

The aim of this prototype is to save time when starting to develop a PHP library. It will: * Download and install basic files - a class and its test class with proper namespaces * Install popular QA tools: phpunit, phpstan and phpcs * Generate basic .gitignore and README files, (*2)

Please note that .gitignore file is based upon gitignore.io API., (*3)

Requirements

  • PHP >= 7.3
  • php-xml extension
  • php-mbstring extension
  • Composer

Check the PHP roadmap to see the PHP versions supported by this library., (*4)

Usage

Creating a library is a simple two-step process.
1. First, create a project from this prototype. Replace MyDirectory with your own value to create the project and move into the created directory:, (*5)

$ composer create-project jpchateau/prototype-php-library MyDirectory && cd $_
  1. Then, run the install command to complete the process. Replace MyCompany and MyProject with your own values:
$ make company=MyCompany project=MyProject install

You are ready to develop!
Don't forget to pick up a license ;), (*6)

Tests

$ make tests

QA Tools

$ bin/phpcs src/ --standard=PSR2
$ bin/phpstan analyse -l 7 src/

The Versions

29/10 2015

dev-master

9999999-dev

A PHP library

  Sources   Download

The Requires

  • php >=5.5.0

 

The Development Requires

php library

15/10 2015

1.2.0

1.2.0.0

A PHP library

  Sources   Download

The Requires

  • php >=5.5.0

 

The Development Requires

php library

15/10 2015

1.1.0

1.1.0.0

A PHP library

  Sources   Download

The Requires

  • php >=5.5.0

 

The Development Requires

php library

13/10 2015

1.0.0

1.0.0.0

A PHP library

  Sources   Download

The Requires

  • php >=5.5.0

 

The Development Requires

php library