PHP code example of doublemcz / nette-generator

1. Go to this page and download the library: Download doublemcz/nette-generator library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

doublemcz / nette-generator example snippets


php www/index.php generate:doctrine-form

  app
    Components <-- Newly created (If not exists)
      UserForm <-- Newly created
        UserForm.php <-- Newly created
        IUserFormFactory.php <-- Newly created
        UserForm.latte <-- Newly created
    model
    config
    Presenters
      templates
  www
  temp
  vendor
  ...

php www/index.php generate:doctrine-form [ComponentName] [EntityName]

php www/index.php generate:doctrine-form UserForm User