PHPackages                             nasrulhazim/oas - 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. nasrulhazim/oas

ActiveProject[API Development](/categories/api)

nasrulhazim/oas
===============

OAS, Open API Specification Generator.

101[1 issues](https://github.com/nasrulhazim/oas/issues)PHPCI failing

Since Oct 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/nasrulhazim/oas)[ Packagist](https://packagist.org/packages/nasrulhazim/oas)[ RSS](/packages/nasrulhazim-oas/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (2)Used By (0)

[![Build Status](https://camo.githubusercontent.com/409340b27e7c77497939cd934de823d0390783e2c8592bfd4e834e18c2cf8c05/68747470733a2f2f7472617669732d63692e6f72672f6e617372756c68617a696d2f6f61732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/nasrulhazim/oas)

OAS is OpenAPI Specification generator. It will help to simplify generate your OAS from given database.

Usage
-----

[](#usage)

**Create a new OAS**

```
$ php oas make:oas 1.0

```

This will create a new OAS under `storage/oas/1.0`. You should have the following directory structure:

[![](oas-directory-structure.png)](oas-directory-structure.png)

**Create a new OAS Schema**

```
$ php oas make:schema 1.0 table_name --connection=database_connection_name

```

> You need to specifiy `--connection` option if you planning on using other than default connection - `sqlite`

This will generate a new tag under `storage/oas/1.0/components/schemas` directory.

**Create a new OAS Tag**

```
$ php oas make:tag 1.0 "Name of the tag" "Description of the tag"

```

This will generate a new tag under `storage/oas/1.0/tags` directory.

**Create a new Path**

```
$ php oas make:path 1.0 get "Name of the tag" table_name operation_id --summary="Summary is optional, but best to have it together."

```

This will generate a new tag under `storage/oas/1.0/paths` directory.

License
-------

[](#license)

OAS is an open-source software licensed under the [MIT license](https://github.com/laravel-zero/laravel-zero/blob/stable/LICENSE.md).

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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/b57069d0f4b634f65eccc6e5d5848990e25968d45ec2cf46d626c6a4658f944b?d=identicon)[nasrulhazim.m](/maintainers/nasrulhazim.m)

---

Top Contributors

[![nasrulhazim](https://avatars.githubusercontent.com/u/10341422?v=4)](https://github.com/nasrulhazim "nasrulhazim (19 commits)")

### Embed Badge

![Health badge](/badges/nasrulhazim-oas/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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