PHPackages                             artdevue/phalcon-scelet - 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. artdevue/phalcon-scelet

ActiveProject

artdevue/phalcon-scelet
=======================

Scelet of Phalcon.

0111PHP

Since Apr 22Pushed 6y ago1 watchersCompare

[ Source](https://github.com/artdevue/phalcon-scelet)[ Packagist](https://packagist.org/packages/artdevue/phalcon-scelet)[ RSS](/packages/artdevue-phalcon-scelet/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Scelet of Phalcon (Current version of v0.5-beta)
================================================

[](#scelet-of-phalcon-current-version-of-v05-beta)

========= [![Phalconist](https://camo.githubusercontent.com/960f79d0803af8c9c88d2d330bc374e76ec469115eb55d4d24f210428b13a106/68747470733a2f2f7068616c636f6e6973742e7068616c636f6e7068702e636f6d2f61727464657675652f7068616c636f6e2d7363656c65742f64656661756c742e737667)](https://phalconist.phalconphp.com/artdevue/phalcon-scelet)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

*This is a Scelet of Phalcon application written on Phalcon framework for the performance boost. This project created to develop applications in an easy way.*

###### Includes

[](#includes)

- ENV
- Multimodality
- Multilanguage
- Translation
- Debug Widget (PDW) ([this code was taken as the basis](https://github.com/jymboche/phalcon-debug-widget))

Have fun :)

How to install
--------------

[](#how-to-install)

#### Using Composer (*recommended*)

[](#using-composer-recommended)

Best way to install Scelet of Phalcon would be Composer, if you didn't install it

Run code in the terminal:

```
composer create-project artdevue/phalcon-scelet -s dev
composer update
bower update
```

#### Using Git

[](#using-git)

First you need to clone the project, update vendors:

```
git clone https://github.com/artdevue/phalcon-scelet.git ./project
cd project
composer update
bower update
```

#### Requirements

[](#requirements)

- > = PHP 7.0.x development resources
- > = Phalcon **3.0.2**

Features
--------

[](#features)

After setup you’ll have multimodule apps.

- API RESTful module - responds all JSON-like requests.
- BACKEND and FRONTEND - A multi-module application uses the same document root for more than one module.

### ENV

[](#env)

It is often helpful to have different configuration values based on the environment where the application is running. For example, you may wish to use a different cache driver locally than you do on your production server. The main file for the project is in the project root `.env`. If you need to add a configuration for a different IP of Server, you just need to add the configuration file [config\_local.php](config/config_local.php) IP and the name of the file that will be used for this IP. For example:

```
return [
        '192.168.100.2' => '.env_local'
    ];
```

The system automatically creates a copy of file [.env.example](.env.example)

> Any variable in your `.env` file can be overridden by external environment variables such as server-level or system-level environment variables.

##### Environment Variable Types

[](#environment-variable-types)

All variables in your `.env` files are parsed as strings, so some reserved values have been created to allow you to return a wider range of types from the `env()` function:

`.env` Value`env()` Valuetrue(bool) true(true)(bool) truefalse(bool) false(false)(bool) falseempty(string) ''(empty)(string) ''null(null) null(null)(null) nullIf you need to define an environment variable with a value that contains spaces, you may do so by enclosing the value in double quotes.

```
APP_NAME="My Application"
```

##### Retrieving Environment Configuration

[](#retrieving-environment-configuration)

All of the variables listed in this file will be loaded into the `$_ENV` PHP super-global when your application receives a request. However, you may use the env helper to retrieve values from these variables in your configuration files. In fact, if you review the Phalcon configuration files, you will notice several of the options already using this helper:

```
'debug' => env('APP_DEBUG', false),
```

The second value passed to the env function is the "default value". This value will be used if no environment variable exists for the given key.

### Installing the module

[](#installing-the-module)

If you want to install a new module, you need using the terminal run the following command

```
$ php apps/cli.php modules create modulename
```

**modulename** - replace it with the name of the module

For example, after executing the commands below in a terminal

```
$ php apps/cli.php modules create catalog
```

In the terminal, we see the report module installation

```
$ php apps/cli.php modules create catalog
Do you really want to install the module catalog?  Type 'yes' to continue: yes

Thank you, continuing...
Reading configuration file...
Creating a backup of the configuration file...
Record changes in the configuration file...
Create directories and files for this new module...
Installing the module is complete!
Use with pleasure!
```

After installing new module will be immediately available at

The syntax of this command:

```
$ php apps/cli.php modules create $nameModule $prefixRouter $hostName
```

- **$nameModule** - (*String - Required value!*) Your module name
- **$prefixRouter** - (*String*) If the router prefix different from the module name, then enter here. If If you select - **null** - then there will be no prefix.
- **$hostName** - (*String*) Host Name, if you want to have your module on another host. For example:

### Using Multilanguage

[](#using-multilanguage)

- You must activate the "**multilang =&gt; true**" option in the configuration file.
- Parameter "**default\_lang =&gt; 'en'**" is assigned the default language (*now is en*)
- Add an array of used languages in the project to the "languages" parameter of the configuration file

1. The default language is displayed in URL address without prefixes. For example:

```
site.com, site.com/page
```

2. If another language is used, then the prefix should be added at the beginning of the URL address. For example:

```
site.com/ua, site.com/ua/page
```

3. Active language is called via config: In Controller **$this-&gt;config-&gt;lang\_active** and in Volt **config.lang\_active**

### Using Translation (Source is taken from the [official documentation](https://docs.phalconphp.com/en/3.0.0/reference/translate.html))

[](#using-translation-source-is-taken-from-the-official-documentation)

All files for translation are located in the directory specified in the configuration file with the parameter: **name\_lang\_folder** (default is the folder ***lang***) and in the subfolder of the default language in the configuration file with the parameter: **default\_lang** (default lang ***en***)

The variable name consists of the file names and array keys in the file section.

The example of use in the controller:

```
$accepted = $this->trans->_("validation.accepted", ['attribute' => 'test']);
```

or

```
__("validation.accepted", ['attribute' => 'test'])
```

The example of use in the template volt:

```
{{ trans._("validation.accepted", ['attribute': 'test']) }}
```

Get current active language

```
$this->config->get('lang_active');
```

or

```
{{ config.lang_active }}
```

### Using Debug Widget

[](#using-debug-widget)

You just need to activate `debug` in the config file or `APP_DEBUG` in the [.env](.env) file. If you want the debug bar to be shown only to individual users, simply add the user’s IP [configuration file](config/config.php) to the `debugbar_api` array.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

Authors
-------

[](#authors)

  [![](https://camo.githubusercontent.com/6d586084e5117eeef08a159697e86686d8f0eab265656795a8ebcd11e7ae50f9/687474703a2f2f7777772e67726176617461722e636f6d2f6176617461722f33396566316337343064656666373062303534633164396165386638366430323f733d3630)](https://camo.githubusercontent.com/6d586084e5117eeef08a159697e86686d8f0eab265656795a8ebcd11e7ae50f9/687474703a2f2f7777772e67726176617461722e636f6d2f6176617461722f33396566316337343064656666373062303534633164396165386638366430323f733d3630)Valentyn Rasulov
artdevue

###  Health Score

19

—

LowBetter than 11% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity37

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

---

Top Contributors

[![artdevue](https://avatars.githubusercontent.com/u/1194985?v=4)](https://github.com/artdevue "artdevue (15 commits)")

### Embed Badge

![Health badge](/badges/artdevue-phalcon-scelet/health.svg)

```
[![Health](https://phpackages.com/badges/artdevue-phalcon-scelet/health.svg)](https://phpackages.com/packages/artdevue-phalcon-scelet)
```

PHPackages © 2026

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