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

https://github.com/wbars/phpfoldings

Some foldings for PHP
https://github.com/wbars/phpfoldings

folding formatting php phpstorm plugin usability

Last synced: 10 months ago
JSON representation

Some foldings for PHP

Awesome Lists containing this project

README

          

# PHPFoldings
Some foldings for PHP.

Any of these foldings can be turned off in *Settings | Editor | General | Code Folding*, so you can tune this for your preferences.

## Examples
Ommiting '$this->' prefix for methods and fields
![img](https://makescreen.ru/i/32e8b2731c85dbd42a8e40e60c384f.png)

Replacing getters and setters with fieldname's
![img](https://makescreen.ru/i/828ee6075292e29f793b33d730a1c5.png)

Collapsing basic data classes (only trivial getters and setters presented):
![img](https://makescreen.ru/i/fa01e9f636616b41620a26d4bfcfa9.png)

Collapsing lambdas (works partially for now):
![img](https://makescreen.ru/i/1147dc474fb46ed887ce836129ebbe.png)

Replacing some function based expressions with high-level syntax:
![img](https://makescreen.ru/i/61aafa6c04bb7bafc774e6b280538b.png)