PHPackages                             crojasaragonez/utn-db - 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. crojasaragonez/utn-db

ActiveLibrary

crojasaragonez/utn-db
=====================

Simple database access package for UTN students

1.0.0(6y ago)031MITPHPPHP &gt;=7.0.10

Since Feb 5Pushed 6y agoCompare

[ Source](https://github.com/crojasaragonez/utn-db)[ Packagist](https://packagist.org/packages/crojasaragonez/utn-db)[ Docs](https://github.com/crojasaragonez/utn-db)[ RSS](/packages/crojasaragonez-utn-db/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

utn-db
======

[](#utn-db)

[![Latest Version on Packagist](https://camo.githubusercontent.com/331916b5362ed0b607e4eb351228032b89bf591c1b14dff56b315354d84e59b9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63726f6a6173617261676f6e657a2f75746e2d64622e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/crojasaragonez/utn-db)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/34a8c56eacca2add8cb528124eca989bf5fbfa1b36a426066ec2fee6d91079e8/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f63726f6a6173617261676f6e657a2f75746e2d64622f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/crojasaragonez/utn-db)[![Coverage Status](https://camo.githubusercontent.com/744db7524a43bfd045607b06d547fb4dd491681351ac8fd1f74794e341cea09c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f63726f6a6173617261676f6e657a2f75746e2d64622e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/crojasaragonez/utn-db/code-structure)[![Quality Score](https://camo.githubusercontent.com/ea0673ab440c0de6c1be825c8cc8920ebdac8e6764658ead8014c938239e1547/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f63726f6a6173617261676f6e657a2f75746e2d64622e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/crojasaragonez/utn-db)[![Total Downloads](https://camo.githubusercontent.com/581e443747d95f92c887cb3709b430f9cabd7dd803f49c6fd2b3efe4f2ff481c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63726f6a6173617261676f6e657a2f75746e2d64622e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/crojasaragonez/utn-db)

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

Structure
---------

[](#structure)

If any of the following are applicable to your project, then the directory structure should follow industry best practices by being named the following.

```
bin/
build/
docs/
config/
src/
tests/
vendor/

```

Install
-------

[](#install)

Via Composer

```
$ composer require crojasaragonez/utn-db
```

Usage
-----

[](#usage)

```
require_once 'vendor/autoload.php';

use crojasaragonez\UtnDb\PgConnection;

$con = new PgConnection('postgres', '12345', 'pmo', 5432, 'localhost');
$con->connect();
$sql = "INSERT INTO projects(name, description, start_date, end_date) VALUES ($1, $2, $3, $4)";
$con->runStatement($sql, ['Project 1', 'project description', '2020-01-01', '2020-01-02']);

$results = $con->runQuery('SELECT * FROM projects WHERE id >= $1', [1]);

var_dump($results);

$con->disconnect();
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Carlos Luis Rojas Aragonés](https://github.com/crojasaragonez)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

2287d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2b99274714cf92de1afa615f38fb9695c5131826fffb3df45cb5b5f8767ff925?d=identicon)[crojasaragonez](/maintainers/crojasaragonez)

---

Top Contributors

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

---

Tags

crojasaragonezUtnDb

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/crojasaragonez-utn-db/health.svg)

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

PHPackages © 2026

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