PHPackages                             exfriend/laracart - 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. exfriend/laracart

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

exfriend/laracart
=================

Eloquent Models for Opencart entities

0.1.1(9y ago)17413[1 issues](https://github.com/exfriend/laracart/issues)MITPHP

Since Sep 2Pushed 9y ago3 watchersCompare

[ Source](https://github.com/exfriend/laracart)[ Packagist](https://packagist.org/packages/exfriend/laracart)[ RSS](/packages/exfriend-laracart/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (3)Used By (0)

Laracart
========

[](#laracart)

This package provides a set of Eloquent ORM models for OpenCart entities. Using this package you can access your OpenCart database tables inside Laravel.

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

[](#installation)

```
composer require exfriend/laracart

```

Update your .env file (affects only Laracart):

```
DB_PREFIX=oc_

```

Usage
-----

[](#usage)

```
use \Exfriend\Laracart\Models\Manufacturer;

$manufacturer = Manufacturer::create([
   'name' => 'Canon',
   'image' => 'catalog/demo/canon.jpg',
   'sort_order' => 0
]);

$manufacturer->description()->create([
   'name' => 'Canon',
   'description' => 'Better than Nikon.'
   'language_id' => 1
]);

$manufacturer->stores()->attach(0);

```

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

[](#contributing)

This package is work in progress. Please submit your pull requests with new models.

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

Every ~0 days

Total

2

Last Release

3633d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a4a4e8f18c31f19aa14548a2df08d92b9157bead9fc08a62efbd42575b226338?d=identicon)[exfriend](/maintainers/exfriend)

### Embed Badge

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

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.8k117.8M121](/packages/jdorn-sql-formatter)[backup-manager/backup-manager

A framework agnostic database backup manager with user-definable procedures and support for S3, Dropbox, FTP, SFTP, and more with drivers for popular frameworks.

1.7k1.6M11](/packages/backup-manager-backup-manager)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M88](/packages/propel-propel1)[insolita/yii2-migration-generator

Set of gii tools for generating files for migration by schema of table , phpdoc or table data

108508.0k5](/packages/insolita-yii2-migration-generator)[xpdo/xpdo

A PDO-based Object/Relational Bridge Library

7088.4k4](/packages/xpdo-xpdo)[voku/session2db

A PHP library acting as a wrapper for PHP's default session handling functions which stores data in a MySQL database, providing both better performance and better security and protection against session fixation and session hijacking.

3220.0k](/packages/voku-session2db)

PHPackages © 2026

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