PHPackages                             swotng/database - 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. [Database &amp; ORM](/categories/database)
4. /
5. swotng/database

AbandonedArchivedLibrary[Database &amp; ORM](/categories/database)

swotng/database
===============

If you are looking for database of academic domains that package is for you.

261[15 issues](https://github.com/kiler129/SwotNG-database/issues)PHP

Since Nov 18Pushed 10y ago1 watchersCompare

[ Source](https://github.com/kiler129/SwotNG-database)[ Packagist](https://packagist.org/packages/swotng/database)[ RSS](/packages/swotng-database/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

SwotNG database
===============

[](#swotng-database)

[![Build Status](https://camo.githubusercontent.com/43327794eaddb9cdc3111c93b0336119634709be74c7d8f935bf79059d9bf9cf/68747470733a2f2f7472617669732d63692e6f72672f6b696c65723132392f53776f744e472d64617461626173652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kiler129/SwotNG-database)

Did you ever tried implementing educational discounts? If your answer is affirmative you probably came across simple but not-so-trivial problem: which domains should I accept? [Lee Reilly](https://github.com/leereilly/swot) came with really nice solution called [Swot](https://github.com/leereilly/swot):

> Swot is a community-driven or crowdsourced library for verifying that domain names and email addresses are tied to a legitimate university of college - more specifically, an academic institution providing higher education in tertiary, quaternary or any other kind of post-secondary education in any country in the world.

### What's wrong with Swot than?

[](#whats-wrong-with-swot-than)

Swot started as Ruby gem tied to database of domains. While that idea was nice it created many (not resolved until today) problems:

- Database tied to one language implementation (partially solved by `data-only` branch which is outdated)
- Blacklisted domains are listed inside Ruby code
- Wildcard TLDs/SLDs are listed inside Ruby code
- Database holds only name of institution

### How to use it?

[](#how-to-use-it)

SwotNG database is backward-compatible with original Swot format. See [Structure description](https://github.com/kiler129/SwotNG-database/blob/master/STRUCTURE.md) for details. If you're starting new project you should read [usage](https://github.com/kiler129/SwotNG-database/blob/master/USAGE.md) document and follow instruction for your language.

### You're lying! There's PHP here!

[](#youre-lying-theres-php-here)

Yes, you're correct - test script is written in PHP. That script is there to check new pull-requests. You **don't** need PHP environment.

### Future plans

[](#future-plans)

- Provide script generating PRs to this repository
- Add missing details for institutions
- Add data from new PRs made to original Swot database
- Provide tools for dumping database in various formats (e.g. SQL)
- Create simple service for querying database via HTTP
- Spread idea to the world :)

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/fa7072dc8b9e794c8e0be058496938c990e9b515f8b5c7c6193b79ca077e50b1?d=identicon)[kiler129](/maintainers/kiler129)

---

Top Contributors

[![kiler129](https://avatars.githubusercontent.com/u/1227834?v=4)](https://github.com/kiler129 "kiler129 (28 commits)")

### Embed Badge

![Health badge](/badges/swotng-database/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M117](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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