Note: This is my 1st attempt in building a php package
Do a weight conversion package for PHP projects
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 [
];
$weight-conversion = new Lanash\WeightConversion();
echo $weight-conversion->echoPhrase('Hello, Lanash!');
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.