Skip to content

Commit 7fd2ccb

Browse files
committed
init
0 parents  commit 7fd2ccb

File tree

11 files changed

+2068
-0
lines changed

11 files changed

+2068
-0
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = tab
8+
indent_size = 2
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.vscode/
2+
vendor/

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Changelog
2+
3+
All notable changes to `php-string-helpers` will be documented in this file
4+
5+
## 0.1.0
6+
7+
- initial release

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) dvlpr1996
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Very short description of the package
2+
3+
[![Latest Version on Packagist](https://img.shields.io/packagist/v/dvlpr1996/php-string-helpers.svg?style=flat-square)](https://packagist.org/packages/dvlpr1996/php-string-helpers)
4+
[![Total Downloads](https://img.shields.io/packagist/dt/dvlpr1996/php-string-helpers.svg?style=flat-square)](https://packagist.org/packages/dvlpr1996/php-string-helpers)
5+
![GitHub Actions](https://github.com/dvlpr1996/php-string-helpers/actions/workflows/main.yml/badge.svg)
6+
7+
This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.
8+
9+
## Installation
10+
11+
You can install the package via composer:
12+
13+
```bash
14+
composer require dvlpr1996/php-string-helpers
15+
```
16+
17+
## Usage
18+
19+
```php
20+
// Usage description here
21+
```
22+
23+
### Testing
24+
25+
```bash
26+
composer test
27+
```
28+
29+
### Changelog
30+
31+
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
32+
33+
### Security
34+
35+
If you discover any security related issues, please email nimajahanbakhshian@gmail.com instead of using the issue tracker.
36+
37+
## Credits
38+
39+
- [nima](https://github.com/dvlpr1996)
40+
41+
## License
42+
43+
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

composer.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"name": "dvlpr1996/php-string-helpers",
3+
"description": "some useful php string helpers",
4+
"keywords": [
5+
"php",
6+
"string",
7+
"helpers",
8+
"php-string-helpers"
9+
],
10+
"homepage": "https://github.com/dvlpr1996/php-string-helpers",
11+
"license": "MIT",
12+
"type": "library",
13+
"authors": [
14+
{
15+
"name": "Nima",
16+
"email": "nimajahanbakhshian@gmail.com",
17+
"role": "Developer"
18+
}
19+
],
20+
"support": {
21+
"issues": "https://github.com/dvlpr1996/php-string-helpers/issues",
22+
"source": "https://github.com/dvlpr1996/php-string-helpers"
23+
},
24+
"require": {
25+
"php": "^7.4|^8.0"
26+
},
27+
"require-dev": {
28+
"symfony/var-dumper": "^6.0",
29+
"phpunit/phpunit": "^9.5"
30+
},
31+
"autoload": {
32+
"psr-4": {
33+
"PhpStringHelpers\\": "src/"
34+
},
35+
"files": [
36+
"src/PhpStringHelpers.php"
37+
]
38+
},
39+
"autoload-dev": {
40+
"psr-4": {
41+
"PhpStringHelpers\\Tests\\": "tests/"
42+
}
43+
},
44+
"scripts": {
45+
"test": "vendor/bin/phpunit",
46+
"test-coverage": "vendor/bin/phpunit --coverage-html coverage"
47+
}
48+
}

0 commit comments

Comments
 (0)