PHPackages                             laramore/laramore - 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. laramore/laramore

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

laramore/laramore
=================

Describe your table fields in the model and let Laravel the rest

v0.32.0(3y ago)91.2k1[1 PRs](https://github.com/laramore/laramore/pulls)11MITPHPPHP ^7.3|^8.0

Since May 19Pushed 3y ago2 watchersCompare

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

READMEChangelog (10)Dependencies (6)Versions (56)Used By (11)

Laramore
========

[](#laramore)

Describe your table fields in the model and let Laravel do the rest.

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

[](#installation)

Simple installation
-------------------

[](#simple-installation)

Laramore is available with Composer.

```
composer require laramore/laramore
```

Usage
=====

[](#usage)

Laramore allows you to automate multiple Laravel features:

- Describe perfectly all fields and relations for and from your model
- Manage with the right type all your model attributes
- Do not loose your mind with relation definitions
- Generate for you all your migrations (depending on your model description)
- Create all scopes and helpers for building queries
- Smartly add validations to your controller
- Generate automatically your factories
- Build simply your API with Laramore

Model description
-----------------

[](#model-description)

In a regular `User` model, it is hard to detect all the fields, the relations, without reading deeply the code or the migration files.

### Before, with Laravel

[](#before-with-laravel)

```
