PHPackages                             zain/laravel-doctrine-jetpack - 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. zain/laravel-doctrine-jetpack

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

zain/laravel-doctrine-jetpack
=============================

Helpful generators for Doctrine in Laravel

v0.6(6y ago)02.2kMITPHPPHP &gt;=7.4

Since Jan 27Pushed 6y ago1 watchersCompare

[ Source](https://github.com/szainmehdi/laravel-doctrine-jetpack)[ Packagist](https://packagist.org/packages/zain/laravel-doctrine-jetpack)[ RSS](/packages/zain-laravel-doctrine-jetpack/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (5)Versions (10)Used By (0)

Laravel Doctrine Jetpack
========================

[](#laravel-doctrine-jetpack)

A set of productivity boosting helpers to make life with Laravel Doctrine simpler and faster.

[![Build Status](https://github.com/szainmehdi/laravel-doctrine-jetpack/workflows/Tests/badge.svg)](https://github.com/szainmehdi/laravel-doctrine-jetpack/actions?query=workflow%3ATests)[![Latest Stable Version](https://camo.githubusercontent.com/d755cdc264c5095eaca961e4b5e40d28416ac5a4d6b3b27559eb77a3fbf17df3/68747470733a2f2f706f7365722e707567782e6f72672f7a61696e2f6c61726176656c2d646f637472696e652d6a65747061636b2f762f737461626c65)](https://packagist.org/packages/zain/laravel-doctrine-jetpack)[![License](https://camo.githubusercontent.com/b98afb2c9855ecc36c2449425d7d3979431a24498b41ca662104f324cf668ee0/68747470733a2f2f706f7365722e707567782e6f72672f7a61696e2f6c61726176656c2d646f637472696e652d6a65747061636b2f6c6963656e7365)](https://packagist.org/packages/zain/laravel-doctrine-jetpack)[![Total Downloads](https://camo.githubusercontent.com/126f75ae1b237a6fd38d6ebfe28237c623a071f1ac220db7d57b0dc48624b08a/68747470733a2f2f706f7365722e707567782e6f72672f7a61696e2f6c61726176656c2d646f637472696e652d6a65747061636b2f646f776e6c6f616473)](https://packagist.org/packages/zain/laravel-doctrine-jetpack)

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

[](#installation)

This package strictly requires `php >= 7.4`.

**Require** the package using Composer.

```
composer require szainmehdi/laravel-doctrine-jetpack
```

Laravel automatically discovers the package. No additional steps are necessary.

Usage
-----

[](#usage)

### Generators

[](#generators)

This package includes a few generators that allow you to speed up your workflow when it comes to writing entities and mapping classes using Laravel Doctrine.

#### Entity Generator

[](#entity-generator)

Generate a new Doctrine entity using the included stub by running the following `artisan` command:

```
php artisan make:entity MyEntity
```

By default, this will create a new file in `app/Entities` called `MyEntity.php`, like so:

```
