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 3w 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 47% 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

3588d 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.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

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

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198628.3k10](/packages/pgvector-pgvector)

PHPackages © 2026

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