bildvitta/navpi-php


README

Latest Version on Packagist Total Downloads PHP Tests License

This package was created to assist in the development of API's for the standard used in asteroid.

Installation

You can install the package via composer:

composer require bildvitta/navpi-php

Usage

use Bildvitta\Navpi\Fields;
use Bildvitta\Navpi\NavpiResource;

class CustomResource extends NavpiResource
{
    protected function fieldsMap()
    {
        return [
            'name' => (new Fields\TextField('name'))
                ->label('Nome completo')
                ->exceptActions(['filters']),
        ];
    }
}

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email backend@bild.com.br instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.