bildvitta / navpi-php
Installs: 17 467
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 19
Forks: 0
Open Issues: 0
Requires
- php: ^7.4|^8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
- dev-master
- v1.x-dev
- v0.0.33
- v0.0.32
- v0.0.31
- v0.0.30
- v0.0.29
- v0.0.28
- v0.0.27
- v0.0.26
- v0.0.25
- v0.0.24
- v0.0.23
- v0.0.22
- v0.0.21
- v0.0.20
- v0.0.19
- v0.0.18
- v0.0.17
- v0.0.16
- v0.0.15
- v0.0.14
- v0.0.13
- v0.0.12
- v0.0.11
- v0.0.10
- v0.0.9
- v0.0.8
- v0.0.7
- v0.0.6
- v0.0.5
- v0.0.4
- v0.0.3
- v0.0.2
- v0.0.1
- dev-feature/children-single-relationship-fix
- dev-feature/function-field-option
- dev-feature/one-relationships
- dev-feature/password-field
- dev-feature/remove-function-calls
- dev-feature/refactoring
- dev-feature/add-lazy-loading
- dev-feature/fix-method-name
- dev-feature/nested-options
- dev-feature/support_belongs-to_and_has-one
- dev-feature/attributes
- dev-feature/field_function_in__attributes
- dev-feature/function_field
- dev-feature/email-field-type-fix
- dev-feature/pivot-table
- dev-feature/fix-field-type
- dev-feature/create-fields-method
- dev-feature/multiple_collection
- dev-feature/updating-fields
- dev-feature/parsed-options
This package is auto-updated.
Last update: 2024-12-04 22:57:24 UTC
README
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.