PHPackages                             ad3n/client-platform - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. ad3n/client-platform

ActiveLibrary[API Development](/categories/api)

ad3n/client-platform
====================

The Web Api Client Framework

1.8.0(8y ago)71781MITPHPPHP &gt;=5.5.9

Since Apr 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ad3n/ClientPlatform)[ Packagist](https://packagist.org/packages/ad3n/client-platform)[ Docs](https://github.com/ad3n/ClientPlatform)[ RSS](/packages/ad3n-client-platform/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)Dependencies (12)Versions (83)Used By (0)

Client Platform
===============

[](#client-platform)

### What

[](#what)

Client platform is simple framework that aim to simplify Frontend Developer that working with [API Platform](https://api-platform.com)

### Installation

[](#installation)

Add `composer.json`

```
{
    "require": {
        "ad3n/client-platform": "~1.0"
    },
    "autoload": {
        "psr-4": {
            "App\\": "src/"
        }
    }
}
```

Create configuration file `config.yml`

```
app:
    base_url: 'abc'
    routes:
        - { path: '/{a}/{b}', controller: 'App:HomeController@index', methods: ['GET'] }
    template:
        path: '/var/views'
        cache_dir: '/var/cache'
# Aktifkan jika ingin mencoba kerja event listenernya
#    event_listeners:
#        - { event: 'kernel.request', class: 'App\EventListener\FilterRequestListener', method: 'filter' }
```

Create application class `Application.php`

```
