PHPackages                             akalod/zehir - 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. akalod/zehir

ActiveLibrary[Framework](/categories/framework)

akalod/zehir
============

Zehir NewGen MVC Core

0302PHP

Since Jun 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/akalod/zehir)[ Packagist](https://packagist.org/packages/akalod/zehir)[ RSS](/packages/akalod-zehir/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

### example index.php (or someone else)

[](#example-indexphp-or-someone-else)

```
use  Zehir\Settings\Setup as setup;
use  Zehir\System\App;

include "vendor/autoload.php";

/**
'url-path'=>'MVC/bundle-path'
**/
setup::$bundles=[
    'api'=>'API',
    'stok'=>'STOK',
    'zehir'=>'PANEL'
];

setup::$target = 'dev'; //for select target database configuration
setup::$webUrl = 'http://localhost/';

App::run();
```

### webconfig rule

[](#webconfig-rule)

```

```

### .htaccess rule

[](#htaccess-rule)

```

    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{URL} !-d
    RewriteRule ^(.*)$ {{filaname}}.php/$1 [L]

```

### you can use "no-database"

[](#you-can-use-no-database)

```
Setup::$noSQL = true;
```

### you can disable routing from database

[](#you-can-disable-routing-from-database)

```
Setup::$routeDB = false;
```

### Databases settings

[](#databases-settings)

```
Setup::configure([
    'local' => Array(
        'host' => 'localhost',
        'name' => 'databasename',
        'user' => 'username',
        'pass' => 'sifre',
        'port' => 3306,
        'adapter' => 'mysql',
        'redis_server' => 'localhost',
        'redis_port' => 6379,
    ),
    'test' => Array(
        'host' => '91.121.***.***',
        'name' => 'dp_tests',
        'user' => 'dp_tests',
        'pass' => '*****',
        'port' => 3306,
        'adapter' => 'mysql'
    )]);
```

### Enable Multi Languages

[](#enable-multi-languages)

```
Setup::$multiLang = true;
Setup::$enableLanguages[] = ['id' => 1, 'lang' => 'TR'];
Setup::$enableLanguages[] = ['id' => 2, 'lang' => 'EN'];
```

### Install pre set modules

[](#install-pre-set-modules)

```
Setup::$installParameters = ['news', 'banners', 'pages'];
// if you need install modules send to 'install' param to App::run
// App::run('install');
```

### injection Twig Filter

[](#injection-twig-filter)

```
Setup::$TwigFilters = [
    [
        "name" => 'tracker',
        'fn' => function ($string) {
            return $string . '?' . $_SERVER["QUERY_STRING"];
        }
    ]
];
```

### database search routing name by seo column

[](#database-search-routing-name-by-seo-column)

```
Setup::$search_extend['dabase_table_name'] = 'controller_name';
```

### Add costum value

[](#add-costum-value)

```
Setup::addCustom('JWT_SECRET', 'T3-5T~=!@\'/W3Eh:[Gb4@~{}_v{?e8}%7HDp');
```

### Get custom value

[](#get-custom-value)

```
Setup::custom('JWT_SECRET')
```

### Assign value to template engine

[](#assign-value-to-template-engine)

```
App::assign('pageTitle',$data->name);
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

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/f52f41fae30e90118d16e94b6bd6a00337b83a57a005df086c347cc2df4c3af6?d=identicon)[akalod](/maintainers/akalod)

---

Top Contributors

[![akalod](https://avatars.githubusercontent.com/u/6347677?v=4)](https://github.com/akalod "akalod (23 commits)")

### Embed Badge

![Health badge](/badges/akalod-zehir/health.svg)

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

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

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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