Skip to content

Commit 5be26e9

Browse files
committed
Initial commit
1 parent 4631ad7 commit 5be26e9

File tree

11 files changed

+2116
-1
lines changed

11 files changed

+2116
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/vendor

.scrutinizer.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#Global configs, only add new or override existing

README.md

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,44 @@
1-
# n-meta-php
1+
# N-Meta PHP sdk
2+
3+
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nstack-io/laravel-sdk/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/nstack-io/laravel-sdk/?branch=master)
4+
[![Code Coverage](https://scrutinizer-ci.com/g/nstack-io/laravel-sdk/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/nstack-io/laravel-sdk/?branch=master)
5+
[![Build Status](https://scrutinizer-ci.com/g/nstack-io/laravel-sdk/badges/build.png?b=master)](https://scrutinizer-ci.com/g/nstack-io/laravel-sdk/build-status/master)
6+
[![Code Intelligence Status](https://scrutinizer-ci.com/g/nstack-io/laravel-sdk/badges/code-intelligence.svg?b=master)](https://scrutinizer-ci.com/code-intelligence)
7+
8+
## 📝 Introduction
9+
10+
Core of N-Meta, parsing and DTO
11+
12+
## 📦 Installation
13+
14+
To install this package you will need:
15+
16+
* PHP 7.1+
17+
18+
Run
19+
20+
`composer require monstar-lab/n-meta`
21+
22+
or setup in composer.json
23+
24+
`monstar-lab/n-meta: 1.0.x`
25+
26+
27+
## ⚙ Usage
28+
29+
```php
30+
31+
$header = 'ios;production;1.0.0;10.2;iphone-x';
32+
$meta = new NMeta($header);
33+
34+
$meta->getPlatform();
35+
$meta->getVersion();
36+
```
37+
38+
## 🏆 Credits
39+
40+
This package is developed and maintained by the PHP team at [Monstar Lab](http://monstar-lab.com)
41+
42+
## 📄 License
43+
44+
This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

composer.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "monstar-lab-oss/n-meta-php",
3+
"description": "PHP package for parsing Meta header",
4+
"keywords": [
5+
"n-meta",
6+
"php"
7+
],
8+
"license": "MIT",
9+
"homepage": "http://monstar-lab.com",
10+
"authors": [
11+
{
12+
"name": "Casper Rasmussen",
13+
"email": "cr@nodes.dk",
14+
"role": "CTO & Partner"
15+
}
16+
],
17+
"require": {
18+
"php": "^7.1"
19+
},
20+
"require-dev": {
21+
"phpunit/phpunit": "^9.0"
22+
},
23+
"autoload": {
24+
"psr-4": {
25+
"NMeta\\": "src/",
26+
"NMeta\\Tests\\": "tests/"
27+
}
28+
}
29+
}

0 commit comments

Comments
 (0)