An open API service indexing awesome lists of open source software.

https://github.com/lulco/phpstorm-meta-generator

Simple application for generating meta files for PHPStorm
https://github.com/lulco/phpstorm-meta-generator

nette-database phpstorm phpstorm-meta

Last synced: 9 months ago
JSON representation

Simple application for generating meta files for PHPStorm

Awesome Lists containing this project

README

          

# PhpStorm meta generator
Simple application for generating meta files for PhpStorm

## Description
This application generates PhpStorm meta files for [nette/database](https://github.com/nette/database) ActiveRows based on database structure.

## Installation
`git clone git@github.com:lulco/phpstorm-meta-generator.git`
or
`git clone https://github.com/lulco/phpstorm-meta-generator.git`

`composer install`

## Usage
```
php bin/phpstorm-meta-generator nette:database [--bootstrap BOOTSTRAP] [--]

Arguments:
app-root Application root path

Options:
--bootstrap=BOOTSTRAP Path to bootstrap [default: "app/bootstrap.php"]`
```

Close and reopen project where PhpStorm meta have been generated. Now you can use autocompletion suggestions for ActiveRows

Before:
![Autocompletion without PhpStorm meta](assets/before.png)

After:
![Autocompletion with PhpStorm meta](assets/after.png)