PHPackages                             velocity/webv2 - 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. velocity/webv2

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

velocity/webv2
==============

Web tookit v2

061PHP

Since Jul 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/oangia/webv2)[ Packagist](https://packagist.org/packages/velocity/webv2)[ RSS](/packages/velocity-webv2/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (1)

CUrl
====

[](#curl)

CUrl class for http request

### Get Requests

[](#get-requests)

```
use oangia\CUrl;

$curl = new CUrl();
$response = $curl->connect('GET', 'http://example.com');

echo $response;

```

### Post Request

[](#post-request)

```
use oangia\CUrl;

$curl = new CUrl();
$curl->json_data();
$curl->json();
$curl->setHeader('Authorization: aa123acfbd5efc');
$data = [
    'name' => 'Nhat'
];
$response = $curl->connect('POST', 'http://nhathuynh.com/api/v1/test', $data);
echo $response;

```

### NCrypt

[](#ncrypt)

```
use oangia\NCrypt;

$encryptTxt = NCrypt::encrypt('hello world', 'secret_key_a1c32efbc');
echo NCrypt::decrypt($encryptTxt, 'secret_key_a1c32efbc');

```

Firebase
========

[](#firebase)

```
use oangia\firebase\Firebase;
use oangia\firebase\FireStore;

$fb = new Firebase(['apiKey' => 'AIzaSyDBLyiGjroIhQndhe0T3iac39GalX-z9Lo', 'projectId' => 'myecom-f0a26']);
$firestore = new FireStore($fb);
$response = $firestore->getCollection('users', '123'));

```

### Current version

[](#current-version)

- v1.1.0

### Push tags

[](#push-tags)

```
git tag -a v1.0.0 -m "v1.0.0"
git push --tags

```

Larva
=====

[](#larva)

### Description

[](#description)

A MVC PHP web development

### Response

[](#response)

```
use oangia\web\Response;

Response::json(['data' => '', 'message' => 'Success'], 200);

```

### Request

[](#request)

```
use oangia\web\Request;

$data = Request::json($required = ['id']);
$id = Request::get('id');

```

Imgpluz
-------

[](#imgpluz)

### Up ảnh

[](#up-ảnh)

Up ảnh vào thư mục {ROOT\_DOCUMENT}/uploads/{path}

File ảnh lớn hơn 300px sẽ generate vào {ROOT\_DOCUMENT}/uploads/generate/{generatePath}

File ảnh nhỏ hơn hoặc bằng 300px sẽ generate vào {PUBLIC\_DOCUMENT}/uploads/img/{generatePath}

### Push tags

[](#push-tags-1)

```
git tag -a v1.0.0 -m "v1.0.0"
git push --tags

```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity22

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/9dd651b90c3b8323aacb684e5f46e5f75ada4b56ba902c03018bd0a92de11851?d=identicon)[velocityphp](/maintainers/velocityphp)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[spatie/unit-conversions

Perform unit conversions in PHP

343.5k](/packages/spatie-unit-conversions)

PHPackages © 2026

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