PHP code example of bigchicchicken / api-platform-skip-null-bundle
1. Go to this page and download the library: Download bigchicchicken/api-platform-skip-null-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
bigchicchicken / api-platform-skip-null-bundle example snippets
// config/bundles.php
return [
// ...
ApiPlatformSkipNullBundle\ApiPlatformSkipNullBundle::class => ['all' => true],
];
yaml
# config/packages/api_platform_skip_null.yaml
api_platform_skip_null:
enabled: true|false # (Default: true)