PHPackages                             ignasbernotas/laravel-model-generator - 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. ignasbernotas/laravel-model-generator

Abandoned → [reliese/laravel](/?search=reliese%2Flaravel)Library[Database &amp; ORM](/categories/database)

ignasbernotas/laravel-model-generator
=====================================

Laravel 5 model generator from existing schema

1.2.3(9y ago)270206.3k↓33.3%75[2 issues](https://github.com/ignasbernotas/laravel-model-generator/issues)[3 PRs](https://github.com/ignasbernotas/laravel-model-generator/pulls)MITPHPPHP &gt;=5.4.0

Since Oct 8Pushed 8y ago16 watchersCompare

[ Source](https://github.com/ignasbernotas/laravel-model-generator)[ Packagist](https://packagist.org/packages/ignasbernotas/laravel-model-generator)[ RSS](/packages/ignasbernotas-laravel-model-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (16)Used By (0)

Project abandoned
=================

[](#project-abandoned)

I'm very sorry to announce that I no longer have time to maintain this package. This project was originally created over a couple of days when I needed to migrate an existing project onto Laravel. Even though it's being actively used (over 50k installs!), I can't find the time to keep track of the PRs and what changes might break things in new/old Laravel versions, nor have I had the need to use it after the initial release. The codebase is a mess and it desperately cries for a rewrite.

**Please use [reliese/laravel](https://github.com/reliese/laravel) package instead.**

---

Model Generator
===============

[](#model-generator)

> [Laravel 5](https://laravel.com/docs/5.3/) model generator for an existing schema.

It plugs into your existing database and generates model class files based on the existing tables.

Installation
============

[](#installation)

```
composer require ignasbernotas/laravel-model-generator --dev
```

You'll only want to use these generators for local development, so you don't want to update the production providers array in `config/app.php`. Instead, add the provider in `app/Providers/AppServiceProvider.php`, like so:

```
