Scaffolding tool for Drupal8 based on Symfony Console component.

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
jmolivas's picture

I want to introduce you to a code generation tool we have been working on, it's a code generator scaffolding tool for Drupal8 based on Symfony Console component.

The idea of this project is to provide similar functionality as the Symfony console, providing a CLI scaffolding tool to automate the creation of modules using the terminal to automatically generate the directory structure for controllers, forms, services and required files.

Github repository
https://github.com/hechoendrupal/DrupalAppConsole

Watch a video here
http://www.youtube.com/watch?v=NkHT2KctR-Y

So. Give it a try and don't be hesitate and post your feedback, feel free to fork & contribute

We are currently planning generate & edit twig files directly from Drupal 8 UI and generate Unit Test for Controllers.

Comments

is snmp.so a requirement?

fndtn357's picture

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/200090626/snmp.so' - /usr/lib/php5/snmp.so: cannot open shared object file: No such file or directory in Unknown on line 0.

it does report that ./composer.json was updated, symfony/console installed and hechoendrupal/drupal-app-console installed, wrote lock files nad generated autoload files.

We are currently using this

jmolivas's picture

Let me double-check & confirm that, yo may try this Drupal 8 ready Vagrant box, we are been using this one for all of our D8 projects & demos

https://github.com/hechoendrupal/drupal8.dev

--
http://jmolivas.com/
@jmolivas

thanks

fndtn357's picture

I will try it.

added php5-snmp just in case

fndtn357's picture

[Symfony\Component\DependencyInjection\Exception\RuntimeException]
You have requested a synthetic service ("request"). The DIC does not know how to construct this service.

Is this a Windows application?

Have not tried on Windows but

jmolivas's picture

Have not tried on Windows but if you try using the Vagrant Box I mentioned you since is a Virtual Machine where this will be running it must run over any OS platform that Vagrant + Virtual box supports

--
http://jmolivas.com/
@jmolivas

cannot delete this

fndtn357's picture

a comment

Let me clone a new VM and

jmolivas's picture

Let me clone a new VM and test it, maybe an update on D8 cause almost every update break stuff since still alpha

--
http://jmolivas.com/
@jmolivas

np - no rush

fndtn357's picture

playing with it for the upcoming release and will enjoy using this tool.

@fndtn357 The Console it's

jmolivas's picture

@fndtn357 The Console it's now fully functional with #Drupal 8.0-alpha6

--
http://jmolivas.com/
@jmolivas

This is great

bakais's picture

Thanks for this project, it is needed as I found the console in symfony to be one of the coolest.