Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

DB Query Builder

alex93x ☆☆☆☆☆ 0 reviews 18 завантажень 1,199 05/14/2025
1.0.0 Ioncube Loader: Ні
Безкоштовно
OpenCart4.1, 4.0, 3.0, 2.3, 2.2, 2.1
ocStore3.0, 2.3.0.2.4, 2.3, 2.2, 2.1
License typeДоменів не обмежено
Activation methodБез активації
Ioncube LoaderНі
Get request to server of developerНі
Downloads18
Submitted05/14/2025
File Size4.04 MB

User Feedback

Description

Allows OpenCart code to use Eloquent/Query Builder methods to work with database tables instead of ‘raw’ SQL queries.

Version support

OpenCart 2/3: OCMOD modifier corrects catalog/controller/startup/startup.php and admin/controller/startup/startup.php.

OpenCart 4: register startup in module install() method, without core edits.

Requirements

PDO extension for MySQL (pdo_mysql)

Usage

In the file system/library/eloquent.php, the QB class

class QB extends \Illuminate\Database\Capsule\Manager {}

The QB class is available immediately:

// via the facade
$users = QB::table('user')->get();

The capsule instance is also stored in the registry:

$this->registry->set('eloquent', EloquentDB::getCapsule());
// and in controllers
$qb = $this->eloquent;
$orders = $qb->table('order')->where('status',1)->get();

More information can be found in the official laravel documentation https://laravel.com/docs/12.x/queries

Характеристики

License typeДоменів не обмежено
Activation methodБез активації
Ioncube LoaderНі
В продажеДа
OpenCart4.1, 4.0, 3.0, 2.3, 2.2, 2.1
ocStore3.0, 2.3.0.2.4, 2.3, 2.2, 2.1
Get request to server of developerНі
If the developer server is unavailableДополнение работает
СкидкаNo
Template compatibleall templates
AdaptationПлатна
LocalisationУкраїнська, Англійська, Російська, інша
Версія1.0.0
File Size4.04 MB
Submitted05/14/2025

  • Recently Browsing   0 members

    • No registered users viewing this page.
Guest
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.