PHPackages                             aozisik/outport - 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. aozisik/outport

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

aozisik/outport
===============

Exports Laravel Collections to a single SQLite database

1.1.0(9y ago)323MITPHPPHP &gt;=5.5.9

Since Nov 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/aozisik/outport)[ Packagist](https://packagist.org/packages/aozisik/outport)[ RSS](/packages/aozisik-outport/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)Dependencies (4)Versions (4)Used By (0)

⚓️ Outport [![Build Status](https://camo.githubusercontent.com/16260a50fc29e7edd45b89d3269e35612696964f7ce1ef2556479512bf1bbab5/68747470733a2f2f6170692e7472617669732d63692e6f72672f616f7a6973696b2f6f7574706f72742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/aozisik/outport)
===============================================================================================================================================================================================================================================================================================

[](#️-outport-)

Just pass in Laravel collections and Outport will put them all in a SQLite database.

\##How do I use it?

You should first require this package through composer:

```
composer require aozisik/outport

```

**Note:** For Laravel 4.2, see [L4 branch](https://github.com/aozisik/outport/tree/L4).

Then simply:

```
use Aozisik\Outport\Outport;

$books = collect([
	[
		'title' => 'Pride and Prejudice',
		'author' => 'Jane Austen'
	],
	[
		'title' => 'Oliver Twist',
		'author' => 'Charles Dickens'
   ],
   [
		'title' => 'The Fault in Our Stars',
		'author' => 'John Green'
   ]
]);

$sqliteFile = (new Outport())
    ->table('books', $books, ['author']) // table name, collection, indexes
    ->go();

echo $sqliteFile; // Path to your sqlite database

```

\##I want details!

Outport is a Laravel package that helps you create SQLite databases from arbitrary Laravel collections. Just pass in your collections and set your table names.

Outport will:

- Decide the best way to create tables for your collections
- Create a SQLite database and migrate those tables
- Insert data from your collection in chunks
- Create indexes if asked

A simple *go()* call will wrap it all together and spit out the path to your SQLite file, complete with the tables and indexes you want.

\##Why would you want to output SQLite?

SQLite is a very compact format, therefore it is widely used inside mobile applications.

I have created this package to help facilitate data transportation between my Laravel back-end and SQLite enabled mobile app. So if you need to pre-populate fresh copies of your app and/or push updates to existing copies through your Laravel back-end, this package will help you do that.

Suggestions and pull requests are welcome!

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~0 days

Total

2

Last Release

3521d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/735011?v=4)[Ahmet Özışık](/maintainers/aozisik)[@aozisik](https://github.com/aozisik)

---

Top Contributors

[![aozisik](https://avatars.githubusercontent.com/u/735011?v=4)](https://github.com/aozisik "aozisik (25 commits)")

---

Tags

laravelexportsqlitecollections

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aozisik-outport/health.svg)

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

###  Alternatives

[tpetry/laravel-postgresql-enhanced

Support for many missing PostgreSQL specific features

1.0k2.3M27](/packages/tpetry-laravel-postgresql-enhanced)[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11222.5M33](/packages/anourvalar-eloquent-serialize)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135212.4k7](/packages/statamic-rad-pack-runway)[ramadan/easy-model

A Laravel package for enjoyably managing database queries.

111.6k](/packages/ramadan-easy-model)

PHPackages © 2026

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