Coder Social home page Coder Social logo

doctrine-generator's Introduction

Generator to Doctrine ORM 2

A PHP package customized to generate entity and repository classes of a project that uses Doctrine ORM in a command-line interface.

Installation

composer require globtec/doctrine-generator --dev

Usage

Before, you need create a PHP file named generator.php with the following code:

require_once 'vendor/autoload.php';

// TODO: Add an instance of the EntityManager and assigns in a variable named $em 

Generator\Application::run($em);

To view a list of all available commands, you may use the list command:

php generator.php list

To view all arguments and options, you may use the help command:

php generator.php doctrine:generate --help

doctrine-generator's People

Contributors

globtec avatar

Watchers

 avatar

Forkers

mensagemsei

doctrine-generator's Issues

Incompatible with doctrine/orm v2.6.3:

Incompatible with doctrine/orm v2.6.3:

Deprecation warning: require-dev.mikey179/vfsStream is invalid, it should not contain uppercase characters. Please use mikey179/vfsstream instead. Make sure you fix this as Composer 2.0 will error.
./composer.json has been updated
Deprecation warning: require-dev.mikey179/vfsStream is invalid, it should not contain uppercase characters. Please use mikey179/vfsstream instead. Make sure you fix this as Composer 2.0 will error.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for globtec/doctrine-generator dev-master -> satisfiable by globtec/doctrine-generator[dev-master].
    - globtec/doctrine-generator dev-master requires doctrine/orm 2.5.4 -> satisfiable by doctrine/orm[v2.5.4] but these conflict with your requirements or minimum-stability.


Installation failed, reverting ./composer.json to its original content.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.