PHPackages                             sentgine/ray - 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. [Framework](/categories/framework)
4. /
5. sentgine/ray

ActiveLibrary[Framework](/categories/framework)

sentgine/ray
============

Ray is a lightweight PHP library for building MVC frameworks.

v1.0.9(1y ago)0281MITPHPPHP &gt;=8.2

Since Jun 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sentgine/ray)[ Packagist](https://packagist.org/packages/sentgine/ray)[ RSS](/packages/sentgine-ray/feed)WikiDiscussions main Synced yesterday

READMEChangelog (9)DependenciesVersions (11)Used By (1)

Ray by Sentgine
===============

[](#ray-by-sentgine)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE.md)[![Latest Stable Version](https://camo.githubusercontent.com/ebf5bf56c72607a42fd993d6d65619bc0dda76f695f9ae13ae45fca8a5495729/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73656e7467696e652f7261792e737667)](https://packagist.org/sentgine/ray)[![Total Downloads](https://camo.githubusercontent.com/cc07b13ad55a9a2b9a989405b1fa2ef56c89b30e108d6fd9ce0fad6987ab0378/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73656e7467696e652f7261792e737667)](https://packagist.org/packages/sentgine/ray)

Ray is a minimalistic library designed to build MVC frameworks. It provides essential components such as routing, dotenv configuration, controller handling, request and response management, and several helper functions. This library aims to offer a simple and flexible foundation for building web applications.

Features
--------

[](#features)

- **Routing**: Define and manage application routes easily.
- **Dotenv**: Load environment variables from a `.env` file.
- **Controllers**: Create controllers to handle different application logic.
- **Request Handling**: Simplified handling of HTTP requests.
- **Response Management**: Easily create and send HTTP responses.
- **Middleware Support**: Implement middleware pre-request processing.
- **Helper Functions**: Utility functions to streamline development.

Requirements
------------

[](#requirements)

- PHP 8.2 or higher.

Installation
------------

[](#installation)

You can install the package via Composer by running the following command:

```
composer require sentgine/ray:^1.0
```

Changelog
---------

[](#changelog)

Please see the [CHANGELOG](https://github.com/sentgine/ray/blob/main/CHANGELOG.md) file for details on what has changed.

Security
--------

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

**Ray** is built and maintained by Adrian Navaja.

- Check out some cool tutorials and stuff on [YouTube](https://www.youtube.com/@sentgine)!
- Catch my latest tweets and updates on [Twitter](https://twitter.com/sentgine) (formerly X)!
- Let's connect on a more professional note over on [LinkedIn](https://www.linkedin.com/in/adrian-navaja/)!
- For more information about me and my work, visit my website: [sentgine.com](https://www.sentgine.com/).

License
-------

[](#license)

The MIT License (MIT). Please see the [LICENSE](https://github.com/sentgine/ray/blob/main/LICENSE) file for more information.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

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.

###  Release Activity

Cadence

Every ~1 days

Total

10

Last Release

726d ago

PHP version history (3 changes)v1.0.2PHP ^8.1

v1.0.7PHP &gt;=8.2

v1.0.8PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/122154706?v=4)[Sentgine](/maintainers/sentgine)[@sentgine](https://github.com/sentgine)

---

Top Contributors

[![sentgine](https://avatars.githubusercontent.com/u/122154706?v=4)](https://github.com/sentgine "sentgine (17 commits)")

### Embed Badge

![Health badge](/badges/sentgine-ray/health.svg)

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

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M299](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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