PHPackages                             nitroxy/nxauth - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. nitroxy/nxauth

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

nitroxy/nxauth
==============

A module for authenticating with NitroXys CAS-service

v1.1(9y ago)027PHP

Since Feb 21Pushed 9y ago3 watchersCompare

[ Source](https://github.com/NitroXy/nxauth)[ Packagist](https://packagist.org/packages/nitroxy/nxauth)[ RSS](/packages/nitroxy-nxauth/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

API for nitroxy.com
===================

[](#api-for-nitroxycom)

This code provide a API for nitroxy.com. On a basic level it provides cas login, giving you only username and name of the user, but with a API key you can gain access to much more.

Usage
=====

[](#usage)

Put this as a submodule in your repository, then copy nxauth.sample.php into your project and modify it.

Functions
---------

[](#functions)

### NXAuth

[](#nxauth)

*These functions does not require a API key*

- NXAuth::login(): Trigger login
- NXAuth::logout(): Trigger logout
- NXAuth::is\_authenticated(): bool
- NXAuth::user(): Return a NXUser instance with the current user, or null

### NXUser

[](#nxuser)

*These functions does not require a API key*

Contains these attributes:

- username
- user\_id
- fullname
- ticket

### NXAPI

[](#nxapi)

NXAPI::api\_function\_name(api\_options) calls api\_function\_name with api\_options.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 75.6% 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 ~505 days

Total

2

Last Release

3643d ago

### Community

Maintainers

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

---

Top Contributors

[![torandi](https://avatars.githubusercontent.com/u/145322?v=4)](https://github.com/torandi "torandi (31 commits)")[![ext](https://avatars.githubusercontent.com/u/41535?v=4)](https://github.com/ext "ext (8 commits)")[![p-blomberg](https://avatars.githubusercontent.com/u/332457?v=4)](https://github.com/p-blomberg "p-blomberg (2 commits)")

### Embed Badge

![Health badge](/badges/nitroxy-nxauth/health.svg)

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

###  Alternatives

[showdoc/showdoc

ShowDoc is a tool greatly applicable for an IT team to share documents online

12.8k7.1k](/packages/showdoc-showdoc)[xavrsl/cas

Add CAS server SSO authentication to Laravel 4 and 5

7737.2k](/packages/xavrsl-cas)[ristek/sso

Utility library for authentication with SSO-UI

333.0k](/packages/ristek-sso)

PHPackages © 2026

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