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

https://github.com/ovr/ppp


https://github.com/ovr/ppp

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

        

PPP (3P) PHP PreProcessor
=========================

> Current status: prototyping

Remove unneeded code for production builds

```
/**
* @dev
*/
if ($env == Application::ENV_PRODUCTION) {
// Code....
}
```

```
function getMyRouterConfigs() {
return [
'cache' => ($env == Application::ENV_PRODUCTION) // @production(true)
]
}
```