PHPackages                             cirelramos/raw-query - 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. [Database &amp; ORM](/categories/database)
4. /
5. cirelramos/raw-query

ActiveLibrary[Database &amp; ORM](/categories/database)

cirelramos/raw-query
====================

The Response is a package to run raw query .

1.0.1(3y ago)08MITPHPPHP ^7.4|^8.0

Since Jan 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/cirelramos/raw-query)[ Packagist](https://packagist.org/packages/cirelramos/raw-query)[ RSS](/packages/cirelramos-raw-query/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (8)Versions (2)Used By (0)

Raw Query
=========

[](#raw-query)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

About
-----

[](#about)

The `Raw Query` is a package to run raw query as php for first step to migrate old codes from php pure .

##### [Tutorial how create composer package](https://cirelramos.blogspot.com/2022/04/how-create-composer-package.html)

[](#tutorial-how-create-composer-package)

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

[](#installation)

Require the `cirelramos/raw-query` package in your `composer.json` and update your dependencies:

```
composer require cirelramos/raw-query
```

Configuration
-------------

[](#configuration)

set provider and alias in app.php

```
'providers' => [
    // ...
    Cirelramos\RawQuery\Providers\ServiceProvider::class,
],

'aliases' => [
    'RawQuery' => Cirelramos\RawQuery\Facades\RawQuery::class
]
```

The defaults are set in `config/raw-query.php`. Publish the config to copy the file to your own config:

```
php artisan vendor:publish --provider="Cirelramos\RawQuery\Providers\ServiceProvider"
```

> **Note:** this is necessary to you can change default config

Usage
-----

[](#usage)

```
use Cirelramos\RawQuery\Facades\RawQuery;

$product = RawQuery::to('mysql')->getRow("select * from products where id_product=".$idProduct);
```

License
-------

[](#license)

Released under the MIT License, see [LICENSE](LICENSE).

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

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

1276d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8946ad934686a343e76ab45b0284610330fef041208a0cbb47092afbc902e6b9?d=identicon)[cirelramos](/maintainers/cirelramos)

---

Top Contributors

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

---

Tags

loglaraveldatabase

### Embed Badge

![Health badge](/badges/cirelramos-raw-query/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M129](/packages/roots-acorn)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M129](/packages/laravel-pulse)[api-platform/laravel

API Platform support for Laravel

58170.4k13](/packages/api-platform-laravel)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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