dev-master
9999999-dev
MIT
The Requires
by Wu Weixin
laravel view
v1.6.0
1.6.0.0
MIT
The Requires
by Wu Weixin
laravel view
v1.5.7
1.5.7.0
MIT
The Requires
by Wu Weixin
laravel view
v1.5.6
1.5.6.0
MIT
The Requires
by Wu Weixin
laravel view
Wallogit.com
2017 © Pedro Peláez
To install through composer, simply run the following command:, (*2)
``` bash composer require wuwx/laravel-plus-view, (*3)
#### Add Service Provider Next add the following service provider in `config/app.php`. ``` php 'providers' => [ Wuwx\LaravelPlusView\LaravelPlusViewServiceProvider::class, ],
index.html.blade.php
``` blade
, (*4)
`index.json.blade.php` ``` blade {!! json_encode($dataTypeContent) !!}
bash
curl http://localhost:8000/users
curl http://localhost:8000/users?_format=json
curl http://localhost:8000/users -H "Accept: application/json", (*5)
MIT
laravel view
MIT
laravel view
MIT
laravel view
MIT
laravel view