Groovy template to use together with IntelliJ, PHPStorm and other supporting applications to copy tabular data as an associative PHP array.
The template was created to easily copy data from database to fixture for unit testing.
Use it as is. Reach out on https://twitter.com/SebbeSelvig for comments!
Download file Tabular-to-PHPArray.groovy and put it in config\extensions\com.intellij.database\data\extractors easiest way to find the folder is to:
- open the database tool window in PHPStorm/IntelliJ.