PHPackages                             vourto/vourto - 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. vourto/vourto

ActiveLibrary

vourto/vourto
=============

PHPLib for code optimization and clean.

26PHP

Since Apr 2Pushed 9y ago1 watchersCompare

[ Source](https://github.com/developerdevice/Vourto)[ Packagist](https://packagist.org/packages/vourto/vourto)[ RSS](/packages/vourto-vourto/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

DOCUMENTATION V1.0.0
--------------------

[](#documentation-v100)

Vourto is a PHP library that allows agility and usability on the code. The best solution currently.

### Installing

[](#installing)

You can download the library using Composer (recommended) or simply download it directly from GitHub repository.

### Composer

[](#composer)

Download the composer file (composer.json) from our repository to you local/public server or copy the below code

```
{
    "name": "vourto/vourto",
    "description": "PHPLib for code optimization and clean.",
    "type": "library",
    "keywords": ["Vourto", "lib"],
    "license": "MIT",
    "authors": [
        {
            "name": "Mauro Alexandre",
            "email": "profissionalweb04@gmail.com",
            "role": "Development"
        }
    ],
    "require": {
        "php": "^5.6.2 || ^7.0"
    }
}

```

```
composer require vourto/vourto

```

### Direct download

[](#direct-download)

Clone the repository

```
git clone https://github.com/developerdevice/Vourto.git

```

or [download directly](https://github.com/developerdevice/Vourto/archive/master.zip)

Integrating
-----------

[](#integrating)

To use the library you must include autoload.php in your application

```
require_once "Vourto/autoload.php";

```

See below the syntax for better learning

```
$app = Prop::exec(method [POST | GET], data [array], callback [function]);

```

NOTE: if isn’t defined the callback returns true case onsuccess event be acioned.

the first example verifies if `$_GET['id']` exists and returns a notice error.

```
require_once "Vourto/autoload.php";

$app = Prop::exec(
	$_GET,
	array("profile" => array(
		"id" => array(
		"callback" => "ID cannot be empty"
		)
	))
);
echo $app->getStd();
$app->close();

//output (onfail)
//ID cannot be empty

//output (onsuccess)
//true

```

You can use a callback in the event onsuccess

```
$app = Prop::exec(
	$_GET,
	array("profile" => array(
		"id" => array(
		"callback" => "ID cannot be empty"
		)
	)),
    function(){
        //code here
});

//output (onfail)
//ID cannot be empty

//output (onsuccess)
//[generated the code]

```

The next examples verifies if id exists and if it's length is &lt; 4 or &gt; 11

```
require_once "Vourto/autoload.php";

$app = Prop::exec(
	$_GET,
	array("profile" => array(
		"id" => array(
		"minlegth" => array("value" => 4, "callback" => "ID must be at least 4 characters"),
		"maxlegth" => array("value" => 11, "callback" => "ID must be a maximum of 11 characters"),
		"callback" => "ID cannot be empty"
		)
	)),
    function(){
        header("location: page.php?id=${_GET["id"]}");
});
echo $app->getStd();
$app->close();

```

The code above is equivalent to the below code

```
if(isset($_GET["id"] === false)){
echo "ID cannot be empty";
}elseif(strlen($_GET["id"]) < 4){
echo "ID must be at least 4 characteres";
}elseif(strlen($_GET["id"]) > 11){
echo "ID must be a maximum of 11 characters";
}else{
header("location: page.php?id=${_GET["id"]}");
}

```

Now try verifying 2 elements using a lot of if statement's and compare it to using Vourto LIB.

There are yet another functions:

- type \[numeric, double…\]
- pattern \[regex\]

To see more examples: search the path named /bin/ and open the examples files.

Support or Contact
------------------

[](#support-or-contact)

Having trouble with lib ? Contact me and I'll help you sort it out.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% 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/8567b66d4e5a64ec21252f45c7150e2dd7951e6868c5a739d1d32000500df4b5?d=identicon)[developerdevice](/maintainers/developerdevice)

---

Top Contributors

[![developerdevice](https://avatars.githubusercontent.com/u/24875140?v=4)](https://github.com/developerdevice "developerdevice (12 commits)")[![valterlima](https://avatars.githubusercontent.com/u/4130664?v=4)](https://github.com/valterlima "valterlima (1 commits)")

---

Tags

libraryphpvourto

### Embed Badge

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

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

PHPackages © 2026

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