Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
n4ss1m committed Oct 16, 2024
1 parent b1ee17c commit 5474433
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# checks .dz domains via the nic.dz API

[![Latest Version on Packagist](https://img.shields.io/packagist/v/piteurstudio/php-domain-dz.svg?style=flat-square)](https://packagist.org/packages/piteurstudio/php-domain-dz)
[![Tests](https://img.shields.io/github/actions/workflow/status/piteurstudio/php-domain-dz/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/piteurstudio/php-domain-dz/actions/workflows/run-tests.yml)
[![Total Downloads](https://img.shields.io/packagist/dt/piteurstudio/php-domain-dz.svg?style=flat-square)](https://packagist.org/packages/piteurstudio/php-domain-dz)
[![Latest Version on Packagist](https://img.shields.io/packagist/v/piteurstudio/php-nicdz.svg?style=flat-square)](https://packagist.org/packages/piteurstudio/php-nicdz)
[![Tests](https://img.shields.io/github/actions/workflow/status/PiteurStudio/php-domain-dz/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/PiteurStudio/php-domain-dz/actions/workflows/run-tests.yml)
[![Total Downloads](https://img.shields.io/packagist/dt/piteurstudio/php-nicdz?style=flat-square)](https://packagist.org/packages/piteurstudio/php-nicdz)

This php packages checks .dz domains via the [nic.dz Public API](https://api.nic.dz/swagger-ui/index.html).

Expand All @@ -28,6 +28,11 @@ $dztld = new NicDz('example-domain.dz');
$dztld->isAvailable(); // return bool
```

Note : Accept only domain name valid .dz extensions

`.gov.dz , .org.dz , .dz , .com.dz , .net.dz , .edu.dz , .asso.dz , .pol.dz , .art.dz , .net.dz , .org.dz , .soc.dz , tm.dz`


### Get whois information in different formats

```php
Expand Down

0 comments on commit 5474433

Please sign in to comment.