Browse Source

update project name

main 1.0.0
ghost 1 year ago
parent
commit
3a89da61d5
  1. 14
      README.md
  2. 4
      composer.json
  3. 2
      src/Dig.php

14
README.md

@ -1,10 +1,10 @@
# dns-php # net-php
DNS Library for PHP with native Yggdrasil support Network Library for PHP with native Yggdrasil support
## Install ## Install
`composer require yggverse/dns` `composer require yggverse/net`
## Usage ## Usage
@ -12,7 +12,7 @@ DNS Library for PHP with native Yggdrasil support
``` ```
var_dump( var_dump(
\Yggverse\Dns\Dig::records('yo.index', ['A', 'AAAA']) \Yggverse\Net\Dig::records('yo.index', ['A', 'AAAA'])
); );
``` ```
@ -20,7 +20,7 @@ var_dump(
``` ```
var_dump( var_dump(
\Yggverse\Dns\Dig::isHostName('yo.index') \Yggverse\Net\Dig::isHostName('yo.index')
); );
``` ```
@ -28,7 +28,7 @@ var_dump(
``` ```
var_dump( var_dump(
\Yggverse\Dns\Dig::isRecord('A') \Yggverse\Net\Dig::isRecord('A')
); );
``` ```
@ -36,6 +36,6 @@ var_dump(
``` ```
var_dump( var_dump(
\Yggverse\Dns\Dig::isRecordValue('A', '127.0.0.1') \Yggverse\Net\Dig::isRecordValue('A', '127.0.0.1')
); );
``` ```

4
composer.json

@ -1,10 +1,10 @@
{ {
"name": "yggverse/dns", "name": "yggverse/net",
"type": "library", "type": "library",
"license": "MIT", "license": "MIT",
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Yggverse\\Dns\\": "src/" "Yggverse\\Net\\": "src/"
} }
}, },
"require": {} "require": {}

2
src/Dig.php

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace Yggverse\Dns; namespace Yggverse\Net;
class Dig class Dig
{ {

Loading…
Cancel
Save