PHPackages                             recca0120/laravel-bridge - 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. [CLI &amp; Console](/categories/cli)
4. /
5. recca0120/laravel-bridge

ActiveLibrary[CLI &amp; Console](/categories/cli)

recca0120/laravel-bridge
========================

use laravel eloquent, view, pagination anywhere

v1.1.0(7y ago)314667[1 PRs](https://github.com/recca0120/laravel-bridge/pulls)1MITPHPPHP &gt;=5.5.9

Since Jul 31Pushed 6y ago4 watchersCompare

[ Source](https://github.com/recca0120/laravel-bridge)[ Packagist](https://packagist.org/packages/recca0120/laravel-bridge)[ RSS](/packages/recca0120-laravel-bridge/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (17)Versions (5)Used By (1)

[![](docs/logo.svg)](docs/logo.svg)

[![Build Status](https://camo.githubusercontent.com/aa6f836dca6d5b7e73b564cf27fbb183e7dea32730f3ebbcdcb8a1272d3b66fa/68747470733a2f2f7472617669732d63692e6f72672f7265636361303132302f6c61726176656c2d6272696467652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/recca0120/laravel-bridge)[![Coverage Status](https://camo.githubusercontent.com/7ed6cb9f51b8faedcc75e501fbe2be412d05ead61fbce7eb00febdefec8172b2/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7265636361303132302f6c61726176656c2d6272696467652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/recca0120/laravel-bridge)[![Latest Stable Version](https://camo.githubusercontent.com/cd3feed62ceb41ba34bffbf76e8f8f0b5a44e9c68462f5a5ff691c8a3cf9d721/68747470733a2f2f706f7365722e707567782e6f72672f7265636361303132302f6c61726176656c2d6272696467652f762f737461626c65)](https://packagist.org/packages/recca0120/laravel-bridge)[![Total Downloads](https://camo.githubusercontent.com/c054b6901fc1a3f1defa985ca1d120abc0372956559e8c8225bf1c4aef1da353/68747470733a2f2f706f7365722e707567782e6f72672f7265636361303132302f6c61726176656c2d6272696467652f646f776e6c6f616473)](https://packagist.org/packages/recca0120/laravel-bridge)[![Latest Unstable Version](https://camo.githubusercontent.com/353b0d2f614068c8b6870c300943d9377521f228453190ef1f04cbe3608f8e5a/68747470733a2f2f706f7365722e707567782e6f72672f7265636361303132302f6c61726176656c2d6272696467652f762f756e737461626c65)](https://packagist.org/packages/recca0120/laravel-bridge)[![License](https://camo.githubusercontent.com/a81fb2a0d65408abdcf08d8f68958052efe29b33aec26932b7bd992610f2a692/68747470733a2f2f706f7365722e707567782e6f72672f7265636361303132302f6c61726176656c2d6272696467652f6c6963656e7365)](https://packagist.org/packages/recca0120/laravel-bridge)[![Monthly Downloads](https://camo.githubusercontent.com/d3629da9ccdb479226fce49e1a229e896674ca63c19b8a01822cb33d4c829709/68747470733a2f2f706f7365722e707567782e6f72672f7265636361303132302f6c61726176656c2d6272696467652f642f6d6f6e74686c79)](https://packagist.org/packages/recca0120/laravel-bridge)[![Daily Downloads](https://camo.githubusercontent.com/751c4fcdbecf98b877abbdef08e1da40aa79632c9fe7476364435cb446ce2584/68747470733a2f2f706f7365722e707567782e6f72672f7265636361303132302f6c61726176656c2d6272696467652f642f6461696c79)](https://packagist.org/packages/recca0120/laravel-bridge)

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

[](#installation)

Add Presenter to your composer.json file:

```
"require": {
    "recca0120/laravel-bridge": "^1.0.0"
}
```

> Require `illuminate/translation` when using Pagination.

Now, run a composer update on the command line from the root of your project:

```
composer update

```

> **NOTICE**: NOT support Laravel 5.4.\*

How to use
----------

[](#how-to-use)

setup

```
use Recca0120\LaravelBridge\Laravel;

require __DIR__.'/vendor/autoload.php';

$connections = [
    'default' => [
        'driver'    => 'mysql',
        'host'      => 'localhost',
        'port'      => 3306,
        'database'  => 'forge',
        'username'  => 'forge',
        'password'  => '',
        'charset'   => 'utf8',
        'collation' => 'utf8_unicode_ci',
        'prefix'    => '',
        'strict'    => false,
        'engine'    => null,
    ],
];

Laravel::instance()
    ->setupView(__DIR__.'/views/', __DIR__.'/views/cache/compiled/')
    ->setupDatabase($connections)
    ->setupPagination()
    ->setupTracy([
        'showBar' => true
    ]);
```

eloquent

```
class User extends \Illuminate\Database\Eloquent\Model
{
    protected $fillable = [
       'name',
       'email',
       'password',
   ];
}

var_dump(User::all());
```

view

view.blade.php

```
@foreach ($rows as $row)
    {{ $row }};
@endforeach
```

view

```
echo View::make('view', ['rows' => [1, 2, 3]]);
```

### Example

[](#example)

[Laraigniter](https://github.com/recca0120/laraigniter)

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 68.3% 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

Every ~523 days

Total

3

Last Release

2574d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1390554?v=4)[Recca Tsai](/maintainers/recca0120)[@recca0120](https://github.com/recca0120)

---

Top Contributors

[![MilesChou](https://avatars.githubusercontent.com/u/1258752?v=4)](https://github.com/MilesChou "MilesChou (28 commits)")[![recca0120](https://avatars.githubusercontent.com/u/1390554?v=4)](https://github.com/recca0120 "recca0120 (10 commits)")[![onecentlin](https://avatars.githubusercontent.com/u/7122270?v=4)](https://github.com/onecentlin "onecentlin (2 commits)")[![ycs77](https://avatars.githubusercontent.com/u/38133356?v=4)](https://github.com/ycs77 "ycs77 (1 commits)")

---

Tags

consoleterminalweblaravelartisanweb artisan

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/recca0120-laravel-bridge/health.svg)

```
[![Health](https://phpackages.com/badges/recca0120-laravel-bridge/health.svg)](https://phpackages.com/packages/recca0120-laravel-bridge)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9772.3M122](/packages/roots-acorn)[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k51.0M7.7k](/packages/larastan-larastan)[moonshine/moonshine

Laravel administration panel

1.3k239.9k76](/packages/moonshine-moonshine)[laravel/ai

The official AI SDK for Laravel.

1.0k2.1M163](/packages/laravel-ai)

PHPackages © 2026

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