Skip to content

ruslanashaari/weight-conversion

Repository files navigation

Weight Conversion in PHP

Note: This is my 1st attempt in building a php package

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads


Do a weight conversion package for PHP projects

Installation

You can install the package via composer:

composer require lanash/weight-conversion

You can publish and run the migrations with:

php artisan vendor:publish --tag="weight-conversion_without_prefix-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="weight-conversion_without_prefix-config"

Optionally, you can publish the views using

php artisan vendor:publish --tag="example-views"

This is the contents of the published config file:

return [
];

Usage

$weight-conversion = new Lanash\WeightConversion();
echo $weight-conversion->echoPhrase('Hello, Lanash!');

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Weight conversion in PHP

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Languages