Skip to content

Commit

Permalink
Intial Configure for package
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedFathiM committed Apr 29, 2024
1 parent 1dd1e6d commit 8da2884
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 153 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

All notable changes to `:package_name` will be documented in this file.
All notable changes to `unit-conversions` will be documented in this file.

## 1.0.0 - 202X-XX-XX

Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) :vendor_name <author@domain.com>
Copyright (c) MohamedFathiM <mohamedkdr66@yahoo.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# :package_description
# Weight Convertion is package for convert weights written in php

[![Latest Version on Packagist](https://img.shields.io/packagist/v/:vendor_slug/:package_slug.svg?style=flat-square)](https://packagist.org/packages/:vendor_slug/:package_slug)
[![Tests](https://github.com/:vendor_slug/:package_slug/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/:vendor_slug/:package_slug/actions/workflows/run-tests.yml)
[![Total Downloads](https://img.shields.io/packagist/dt/:vendor_slug/:package_slug.svg?style=flat-square)](https://packagist.org/packages/:vendor_slug/:package_slug)
[![Latest Version on Packagist](https://img.shields.io/packagist/v/mohamedfathim/unit-conversions.svg?style=flat-square)](https://packagist.org/packages/mohamedfathim/unit-conversions)
[![Tests](https://github.com/mohamedfathim/unit-conversions/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/mohamedfathim/unit-conversions/actions/workflows/run-tests.yml)
[![Total Downloads](https://img.shields.io/packagist/dt/mohamedfathim/unit-conversions.svg?style=flat-square)](https://packagist.org/packages/mohamedfathim/unit-conversions)

## Installation

You can install the package via composer:

```bash
composer require :vendor_slug/:package_slug
composer require mohamedfathim/unit-conversions
```

## Usage

```php
$skeleton = new VendorName\Skeleton();
echo $skeleton->echoPhrase('Hello, VendorName!');
$skeleton = new WeightConversion\UnitConversions();
echo $skeleton->echoPhrase('Hello, WeightConversion!');
```

## Testing
Expand All @@ -39,7 +39,7 @@ Please review [our security policy](../../security/policy) on how to report secu

## Credits

- [:author_name](https://github.com/:author_username)
- [Mohamed Fathi](https://github.com/MohamedFathiM)
- [All Contributors](../../contributors)

## License
Expand Down
23 changes: 13 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": ":vendor_slug/:package_slug",
"description": ":package_description",
"name": "mohamedfathim/unit-conversions",
"description": "Weight Convertion is package for convert weights written in php ",
"keywords": [
":vendor_name",
":package_slug"
"MohamedFathiM",
"unit-conversions"
],
"homepage": "https://github.com/:vendor_slug/:package_slug",
"homepage": "https://github.com/mohamedfathim/unit-conversions",
"license": "MIT",
"authors": [
{
"name": ":author_name",
"email": "author@domain.com",
"name": "Mohamed Fathi",
"email": "mohamedkdr66@yahoo.com",
"role": "Developer"
}
],
Expand All @@ -24,12 +24,12 @@
},
"autoload": {
"psr-4": {
"VendorName\\Skeleton\\": "src"
"WeightConversion\\UnitConversions\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"VendorName\\Skeleton\\Tests\\": "tests"
"WeightConversion\\UnitConversions\\Tests\\": "tests"
}
},
"scripts": {
Expand All @@ -38,7 +38,10 @@
"format": "vendor/bin/php-cs-fixer fix --allow-risky=yes"
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"minimum-stability": "dev",
"prefer-stable": true
Expand Down
130 changes: 0 additions & 130 deletions configure.php

This file was deleted.

2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
verbose="true"
>
<testsuites>
<testsuite name="VendorName Test Suite">
<testsuite name="WeightConversion Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
Expand Down
4 changes: 2 additions & 2 deletions src/SkeletonClass.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

namespace VendorName\Skeleton;
namespace WeightConversion\UnitConversions;

class SkeletonClass
class UnitConversionsClass
{
}

0 comments on commit 8da2884

Please sign in to comment.