PHPackages                             drago-ex/project-settings - 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. drago-ex/project-settings

ActiveDrago-tools-resource[Utility &amp; Helpers](/categories/utility)

drago-ex/project-settings
=========================

Individual settings for the application.

v1.2.0(1mo ago)0113↓88.9%2MITPHPPHP &gt;=8.3 &lt;9CI passing

Since May 30Pushed 3w agoCompare

[ Source](https://github.com/drago-ex/project-settings)[ Packagist](https://packagist.org/packages/drago-ex/project-settings)[ RSS](/packages/drago-ex-project-settings/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (14)Versions (13)Used By (2)

Drago Project settings
======================

[](#drago-project-settings)

Individual settings for the application.

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://github.com/drago-ex/project-settings/blob/main/license)[![PHP version](https://camo.githubusercontent.com/bf19765eeb99f0cde8de65b9f43a0f4814bb11473295761b2c57af5fd1b729d8/68747470733a2f2f62616467652e667572792e696f2f70682f647261676f2d657825324670726f6a6563742d73657474696e67732e737667)](https://badge.fury.io/ph/drago-ex%2Fproject-settings)[![Coding Style](https://github.com/drago-ex/project-settings/actions/workflows/coding-style.yml/badge.svg)](https://github.com/drago-ex/project-settings/actions/workflows/coding-style.yml)

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

[](#requirements)

- PHP &gt;= 8.3
- Nette Framework
- Composer
- Drago Project core packages

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

[](#installation)

```
composer require drago-ex/project-settings
```

Project files
-------------

[](#project-files)

File copying is handled automatically by [drago-ex/project-tools](https://github.com/drago-ex/project-tools), which must be installed in your project. Without it, copy the files manually according to the `copy` section in this package's `composer.json`. To skip this package, set `"skip": true` under `extra.drago-tools.packages.` in your root `composer.json`.

Use in the presenter
--------------------

[](#use-in-the-presenter)

Add the trait to a base presenter whose templates need application settings:

```
use App\Core\Settings\SettingsRequire;
use Nette\Application\UI\Presenter;

abstract class BasePresenter extends Presenter
{
	use SettingsRequire;
}
```

Use in Latte template
---------------------

[](#use-in-latte-template)

```
{varType App\Core\Settings\Settings $settings}

{* website name *}
{$settings->get('website')}

{* website description *}
{$settings->get('description')}

{if $settings->has('website')}
	{$settings->get('website')}
{/if}
```

Generate permission provider
----------------------------

[](#generate-permission-provider)

If you use project ACL (drago-ex/permission), you can generate a module permission class:

```
php vendor/bin/create-settings-permission
```

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance94

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

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 ~2 days

Total

12

Last Release

34d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5998929?v=4)[Zdeněk Papučík](/maintainers/accgit)[@accgit](https://github.com/accgit)

---

Top Contributors

[![accgit](https://avatars.githubusercontent.com/u/5998929?v=4)](https://github.com/accgit "accgit (36 commits)")

### Embed Badge

![Health badge](/badges/drago-ex-project-settings/health.svg)

```
[![Health](https://phpackages.com/badges/drago-ex-project-settings/health.svg)](https://phpackages.com/packages/drago-ex-project-settings)
```

PHPackages © 2026

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