PHPackages                             thalissonm/rest-api - 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. thalissonm/rest-api

ActiveLibrary[API Development](/categories/api)

thalissonm/rest-api
===================

03PHP

Since Feb 7Pushed 1y agoCompare

[ Source](https://github.com/ThalissonM/rest-api)[ Packagist](https://packagist.org/packages/thalissonm/rest-api)[ RSS](/packages/thalissonm-rest-api/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Krayin REST API
===============

[](#krayin-rest-api)

Krayin REST API is a medium to use the features of the core Krayin System. By using Krayin REST API, you can integrate your application to serve the default content of Krayin.

1. Requirements
---------------

[](#1-requirements)

- **Krayin**: v2.0.0

2. Installation
---------------

[](#2-installation)

### To install Krayin REST API from your console

[](#to-install-krayin-rest-api-from-your-console)

#### For the latest version of rest api

[](#for-the-latest-version-of-rest-api)

```
composer require thalissonm/rest-api
```

### Add the following options to your .env file

[](#add-the-following-options-to-your-env-file)

```
SANCTUM_STATEFUL_DOMAINS="${APP_URL}"
```

```
L5_SWAGGER_UI_PERSIST_AUTHORIZATION=true
```

### To configure the REST API with L5-Swagger documentation, run the following command

[](#to-configure-the-rest-api-with-l5-swagger-documentation-run-the-following-command)

```
php artisan krayin-rest-api:install
```

After executing the above command, you will see the API endpoint displayed in the shell.

### Alternatively, you can check the API documentation by visiting the following URL in your browser

[](#alternatively-you-can-check-the-api-documentation-by-visiting-the-following-url-in-your-browser)

```
http://localhost/public/api/admin/documentation
```

- You can check the [L5-Swagger](https://github.com/DarkaOnLine/L5-Swagger) guidelines too regarding the configuration the API documentation.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 77.3% 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://avatars.githubusercontent.com/u/20844943?v=4)[Thalissonm](/maintainers/Thalissonm)[@ThalissonM](https://github.com/ThalissonM)

---

Top Contributors

[![suraj-webkul](https://avatars.githubusercontent.com/u/121420732?v=4)](https://github.com/suraj-webkul "suraj-webkul (68 commits)")[![devansh-webkul](https://avatars.githubusercontent.com/u/68321766?v=4)](https://github.com/devansh-webkul "devansh-webkul (18 commits)")[![jitendra-webkul](https://avatars.githubusercontent.com/u/39991107?v=4)](https://github.com/jitendra-webkul "jitendra-webkul (1 commits)")[![ThalissonM](https://avatars.githubusercontent.com/u/20844943?v=4)](https://github.com/ThalissonM "ThalissonM (1 commits)")

### Embed Badge

![Health badge](/badges/thalissonm-rest-api/health.svg)

```
[![Health](https://phpackages.com/badges/thalissonm-rest-api/health.svg)](https://phpackages.com/packages/thalissonm-rest-api)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

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

PHPackages © 2026

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