PHPackages                             nicoeg/dawa - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. nicoeg/dawa

ActiveLibrary[API Development](/categories/api)

nicoeg/dawa
===========

A PHP package for Dawa http://dawa.aws.dk

v1.2.0(5y ago)10117.3k↓48.2%21MITPHPCI failing

Since Sep 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/nicoeg/Dawa)[ Packagist](https://packagist.org/packages/nicoeg/dawa)[ RSS](/packages/nicoeg-dawa/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)Dependencies (2)Versions (8)Used By (1)

[![Build Status](https://camo.githubusercontent.com/5dfe23b081acb6830f84174a6291e9aac69e829ae30a3d9706641b2eab7ff659/68747470733a2f2f7472617669732d63692e6f72672f6e69636f65672f446177612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/nicoeg/Dawa)

Dawa API PHP Wrapper
====================

[](#dawa-api-php-wrapper)

PHP Wrapper til [Danmarks Adressers Web API](http://dawa.aws.dk).

Installering - composer
-----------------------

[](#installering---composer)

`composer require nicoeg/dawa`

Inkluder composers autoload hvor Dawa skal bruges eller i en bootstrap fil.

`require 'vendor/autoload.php';`

Brug
----

[](#brug)

`$dawa = new Nicoeg\Dawa\Dawa;`

`$dawa->zipcode("5200");`

For pagination

`$dawa->paginate(25, 1)->zipcodes(['q' => 'Odense']);`

Se alle metoder under længere nede.

### Laravel

[](#laravel)

Ved brug med Laravel skal ServiceProvideren tilføjes til `$providers` arrayet i `config/app.php`.

`Nicoeg\Dawa\DawaServiceProvider::class`

Hvis du vil bruge facaden skal den tilføjes til `$facades` arrayet længere nede.

`'Dawa' => Nicoeg\Dawa\DawaFacade::class`

Herefter kan alle Dawa klassens metoder kaldes således.

`Dawa::zipcodeSearch("Odense");`

### Metoder

[](#metoder)

Der er lavet metoder for følgende:

[Postnumre](http://dawa.aws.dk/postnummerdok) zipcodes

[Adresser](http://dawa.aws.dk/adressedok) addresses

[Adgangsadresser](http://dawa.aws.dk/adgangsadressedok) accessAddressess

[Veje](http://dawa.aws.dk/vejedok) streets

[Kommuner](https://dawa.aws.dk/dok/api/kommune) municipalities

[Regioner](https://dawa.aws.dk/dok/api/region) regions

[Landsdele](https://dawa.aws.dk/dok/api/landsdel) provinces

Tjek [apis.php](https://github.com/nicoeg/Dawa/blob/master/src/apis.php) for hvilke entrypoints der understøtter hvad.

Metoder(zipcodes bruges som eksempel)ParametreReturnzipcodes($data)GET parametrearrayzipcode($zipcode, $data)postnummer, GET parametreobjectzipcodeSearch($query, $data)søgeord, GET parametrearrayzipcodeByName($name, $data)navn, GET parametreobjectzipcodesByMunicipalities($municipalities, $data)kommunekoder i array, GET parametrearrayzipcodesByMunicipality($municipality, $data)kommunekode, GET parametrearrayzipcodesInCircle($latitude, $longitude, $radius, $data)breddegrad, længdegrad, radius i meter, GET parametrearray

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community15

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 96.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~280 days

Recently: every ~374 days

Total

7

Last Release

1901d ago

Major Versions

0.31 → v1.0.02020-01-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d07df0f2434ab92478ca2d7dabedc9131c7079e0b660f11762d1653ea7065ed?d=identicon)[Nicoeg](/maintainers/Nicoeg)

---

Top Contributors

[![nicoeg](https://avatars.githubusercontent.com/u/947230?v=4)](https://github.com/nicoeg "nicoeg (63 commits)")[![zubfatal](https://avatars.githubusercontent.com/u/10694500?v=4)](https://github.com/zubfatal "zubfatal (2 commits)")

---

Tags

apidawalaravelphplaravelDawaaws.dk

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nicoeg-dawa/health.svg)

```
[![Health](https://phpackages.com/badges/nicoeg-dawa/health.svg)](https://phpackages.com/packages/nicoeg-dawa)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M987](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M45](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[moe-mizrak/laravel-openrouter

Laravel package for OpenRouter (A unified interface for LLMs)

154177.9k2](/packages/moe-mizrak-laravel-openrouter)[flat3/lodata

OData v4.01 Producer for Laravel

99351.7k](/packages/flat3-lodata)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
