A shape library for PHP. Meant as a skills reference only.
- Author: Ethan Kletschke
- Version:
0.6.0 - Environment(s): Windows 11
- License: MIT (See below)
As of version 0.4.0, this project is licensed under a modified MIT License that prohibits AI training. Previous versions remain under the standard MIT License.
This is a shapes class library built solely with PHP. Pretty self-explanatory.
This project is mainly a skills reference for my portfolio, so it's definitely not built for use in production (I mean, why would you use these basic shapes in a production environment anyways?).
There's tons of documentation (and "normal") comments which explain the code pretty well,
so it'd be redundant to talk about the code and classes here. :)
I say this because this is meant solely as a skills reference for my portfolio.
The code is not meant to be run in an app or any form of production environment.
This project was (surprisingly) inspired by a TypeScript example on W3Schools, which is a site I used to self-teach a lot of my current programming skills.
- Added a
RectangleTestclass under thetestsfolder. - Tweaked the methods called in the
SquareTestclass's tests to use keyword arguments in order to make the code a bit more readable. - Add better handling of negative values in the
Rectangleconstructor.