PHPackages                             sura/framework - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sura/framework

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sura/framework
==============

System parts, framework

2.0.2(2mo ago)0150[4 PRs](https://github.com/Sura-laboratory/sura-framework/pulls)1MITPHPPHP ^8.4 || ^8.5CI passing

Since Jan 27Pushed 2mo agoCompare

[ Source](https://github.com/Sura-laboratory/sura-framework)[ Packagist](https://packagist.org/packages/sura/framework)[ RSS](/packages/sura-framework/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (10)Versions (29)Used By (1)

sura-framework
==============

[](#sura-framework)

 [ ![Total Downloads](https://camo.githubusercontent.com/e150adea066b7aa36e48b8ecff01640577ab7e339fbce71d2cfed00f54825426/68747470733a2f2f706f7365722e707567782e6f72672f737572612f6672616d65776f726b2f646f776e6c6f616473) ](https://packagist.org/packages/sura/framework) [ ![Latest Stable Version](https://camo.githubusercontent.com/b394339df99196cc016a1d504c671a3ab9ea18c08e38401e83d8343cae0fc92f/68747470733a2f2f706f7365722e707567782e6f72672f737572612f6672616d65776f726b2f762f737461626c65) ](https://packagist.org/packages/sura/framework) [ ![License](https://camo.githubusercontent.com/714f46c8d4765f5410bf1ec233b34161c00e79f656d524fd66a00b62d0e62e98/68747470733a2f2f706f7365722e707567782e6f72672f737572612f6672616d65776f726b2f6c6963656e7365) ](https://packagist.org/packages/sura/framework)

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

[](#installation)

### Server Requirements

[](#server-requirements)

The Sura framework has a few system requirements.

However, if you are not using Homestead, you will need to make sure your server meets the following requirements:

- PHP &gt;= 8.1
- JSON PHP Extension
- ICONV PHP Extension
- GD PHP extension
- MySQLI PHP Extension

### Installing Sura

[](#installing-sura)

It's recommended that you use [Composer](https://getcomposer.org/) to install Sura.

```
$ composer create-project sura/sura:^0.0.1 MYPROJECT --prefer-dist
```

The database configuration is located in config/config.php

To create a migration, use the -migrate

```
$ php craft -migrate
```

To create a user admin, use the -make:add-user

```
$ php craft -make:add-user Ivan Petrov petrov@example.com password
```

### Configuration

[](#configuration)

#### Public Directory

[](#public-directory)

After installing Sura, you should configure your web server's document / web root to be the `public` directory. The `index.php` in this directory serves as the front controller for all HTTP requests entering your application.

#### Configuration Files

[](#configuration-files)

All of the configuration files for the Sura framework are stored in the `config` directory.

### URLs

[](#urls)

#### Apache

[](#apache)

Sura includes a `public/.htaccess` file that is used to provide URLs without the `index.php` front controller in the path. Before serving Sura with Apache, be sure to enable the `mod_rewrite` module so the `.htaccess` file will be honored by the server.

If the `.htaccess` file that ships with Sura does not work with your Apache installation, try this alternative:

```
    Options +FollowSymLinks -Indexes
    RewriteEngine On

    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]

```

#### Nginx

[](#nginx)

If you are using Nginx, the following directive in your site configuration will direct all requests to the `index.php` front controller:

```
    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

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

For enterprise
--------------

[](#for-enterprise)

### Financial Contributors

[](#financial-contributors)

Become a financial contributor and help us sustain our community. ()

License
-------

[](#license)

The Sura Framework is licensed under the MIT license. See [License File](LICENSE.md) for more information.

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance86

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 54.5% 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 ~2 days

Recently: every ~9 days

Total

23

Last Release

70d ago

Major Versions

1.0.19 → 2.02026-02-25

PHP version history (2 changes)1.0.0PHP ^8.5

1.0.1PHP ^8.4 || ^8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/6cdac9e4390ea15486f926c4a89f4c02020954be51c17d5886299b5b83d75ecf?d=identicon)[semyon492](/maintainers/semyon492)

---

Top Contributors

[![SegFaultCharmer](https://avatars.githubusercontent.com/u/247147113?v=4)](https://github.com/SegFaultCharmer "SegFaultCharmer (30 commits)")[![angelaeveryday](https://avatars.githubusercontent.com/u/257863552?v=4)](https://github.com/angelaeveryday "angelaeveryday (11 commits)")[![t0nipit](https://avatars.githubusercontent.com/u/257520440?v=4)](https://github.com/t0nipit "t0nipit (11 commits)")[![semyon492](https://avatars.githubusercontent.com/u/22177963?v=4)](https://github.com/semyon492 "semyon492 (3 commits)")

---

Tags

support

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sura-framework/health.svg)

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

###  Alternatives

[arcanedev/support

ARCANEDEV Support Helpers

1888.2M78](/packages/arcanedev-support)[coderello/laravel-nova-lang

Language support for Laravel Nova.

4251.2M2](/packages/coderello-laravel-nova-lang)[m1/env

Env is a lightweight library bringing .env file parser compatibility to PHP. In short - it enables you to read .env files with PHP.

6412.0M21](/packages/m1-env)[cartalyst/support

Support helpers.

762.8M14](/packages/cartalyst-support)[yansongda/supports

common components

211.4M31](/packages/yansongda-supports)[regex-guard/regex-guard

A wrapper that allows you to validate regular expressions and handle normally uncatchable PCRE compilation warnings

24509.2k8](/packages/regex-guard-regex-guard)

PHPackages © 2026

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