2017 © Pedro Peláez
 

library geometric-shapes

PHP library for defining 2-dimensional geometric shapes and making basic calculations with them.

image

carlosjfc/geometric-shapes

PHP library for defining 2-dimensional geometric shapes and making basic calculations with them.

  • Monday, January 9, 2017
  • by carlosjfc
  • Repository
  • 1 Watchers
  • 1 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 33 % Grown

The README.md

This is a simple Object Oriented PHP library for defining 2-dimensional geometric shapes and making basic calculations with them. The following shapes are Implemented:, (*1)

  • Circle
  • Triangle
  • Right Triangle
  • Equilateral Triangle
  • Parallelogram
  • Rectangle
  • Square

For each shape, the library is able to do the following:, (*2)

  • calculate the area.
  • calculate the perimeter.
  • proportionally resize the shape up or down, given a floating-point scale factor scale.

This library is also a PSR-4 package. You can find it on Packagist (https://packagist.org) under the name and include it with composer., (*3)

If you want to be a contributor you can clone the repository and open a new branch to implement changes. When ready create a PR (Pull Request), then once is approve you can merge in the development branch., (*4)

Continuous integration is used to make builds, so we warranty that your new contributions doesn't brake the source code. We ask you as a contributor to follow PSR-4 standard, don't change the current test cases, whoever we encourage you to implement test cases for each new functionality that you implement., (*5)

The Versions

09/01 2017

dev-master

9999999-dev

PHP library for defining 2-dimensional geometric shapes and making basic calculations with them.

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

by Carlos Fernandez

gemoetric shapes geometric shapes 2-dimensional geometric shapes

09/01 2017

1.0.0

1.0.0.0

PHP library for defining 2-dimensional geometric shapes and making basic calculations with them.

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

by Carlos Fernandez

gemoetric shapes geometric shapes 2-dimensional geometric shapes

09/01 2017

dev-development

dev-development

PHP library for defining 2-dimensional geometric shapes and making basic calculations with them.

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

by Carlos Fernandez

gemoetric shapes geometric shapes 2-dimensional geometric shapes