nnil / my-first-composer-package
There is no license information available for the latest version (v1.0.0) of this package.
This is my first composer package
v1.0.0
2025-04-10 09:10 UTC
Requires (Dev)
- phpunit/phpunit: ^12.1
README
Introduction
This is a tempareture convertor that converts Degree Celsius to Degree Fahrenheit
Installation
composer require nnil/my-first-composer-package
Example
<?php
require 'vendor/autoload.php';
use Nnil\MyFirstComposerPackage\TemperatureConverter;
$temp = new TemperatureConverter(30, "C");
echo $temp->convert(). "<br>";
$temparature_convertor = new TemperatureConverter(0, "C");
echo $temparature_convertor->convert(). "<br>";
$temparature_convertor2 = new TemperatureConverter(0, "F");
echo $temparature_convertor2->convert(). "<br>";