Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 15, 2024 via composer

nelmio/api-doc-bundle v4.19.3

Generates documentation for your REST API from annotations
Package summary
Share
0
issues
2
licenses
40
MIT
1
Apache-2.0
Package created
13 Apr 2012
Version published
7 Feb 2024
Maintainers
1
Total deps
41
Direct deps
16
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
40 Packages, Including:
doctrine/deprecations@1.1.3
nelmio/api-doc-bundle@v4.19.3
phpdocumentor/reflection-common@2.2.0
phpdocumentor/reflection-docblock@5.4.0
phpdocumentor/type-resolver@1.8.2
phpstan/phpdoc-parser@1.29.0
psr/cache@3.0.0
psr/container@2.0.2
psr/event-dispatcher@1.0.0
psr/log@3.0.0
symfony/cache@v7.0.7
symfony/cache-contracts@v3.5.0
symfony/config@v7.0.7
symfony/console@v7.0.7
symfony/dependency-injection@v7.0.7
symfony/deprecation-contracts@v3.5.0
symfony/error-handler@v7.0.7
symfony/event-dispatcher@v7.0.7
symfony/event-dispatcher-contracts@v3.5.0
symfony/filesystem@v7.0.7
symfony/finder@v7.0.7
symfony/framework-bundle@v7.0.7
symfony/http-foundation@v7.0.7
symfony/http-kernel@v7.0.7
symfony/options-resolver@v7.0.7
symfony/polyfill-ctype@v1.29.0
symfony/polyfill-intl-grapheme@v1.29.0
symfony/polyfill-intl-normalizer@v1.29.0
symfony/polyfill-mbstring@v1.29.0
symfony/polyfill-php80@v1.29.0
symfony/polyfill-php83@v1.29.0
symfony/process@v7.0.7
symfony/property-info@v7.0.7
symfony/routing@v7.0.7
symfony/service-contracts@v3.5.0
symfony/string@v7.0.7
symfony/var-dumper@v7.0.7
symfony/var-exporter@v7.0.7
symfony/yaml@v7.0.7
webmozart/assert@1.11.0

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
1 Packages, Including:
zircote/swagger-php@4.9.2
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

16
All Dependencies CSV
β“˜ This is a list of nelmio/api-doc-bundle 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
phpdocumentor/reflection-docblock5.4.0-MIT
prod dev
psr/cache3.0.06.01 kBMIT
prod dev
psr/container2.0.23.55 kBMIT
prod dev
psr/log3.0.06.77 kBMIT
prod dev
symfony/cachev7.0.7-MIT
prod dev
symfony/configv7.0.7-MIT
prod dev
symfony/consolev7.0.7-MIT
prod dev
symfony/dependency-injectionv7.0.7-MIT
prod dev
symfony/deprecation-contractsv3.5.0-MIT
prod dev
symfony/framework-bundlev7.0.7-MIT
prod
symfony/http-foundationv7.0.7-MIT
prod dev
symfony/http-kernelv7.0.7-MIT
prod dev
symfony/options-resolverv7.0.7-MIT
prod
symfony/property-infov7.0.7-MIT
prod dev
symfony/routingv7.0.7-MIT
prod dev
zircote/swagger-php4.9.2-Apache-2.0
prod

Visualizations

Frequently Asked Questions

What does nelmio/api-doc-bundle do?

The NelmioApiDocBundle package is an incredible tool that empowers you to generate comprehensive documentation for your APIs. The bundle creates API documentation from annotations seamlessly, making it an invaluable asset for developers seeking to offer clear, easy-to-understand API guidelines.

How do you use nelmio/api-doc-bundle?

Getting the NelmioApiDocBundle up and running is easy. To install, open a command console and navigate to your project's directory. Then, execute this command to download the latest version of the bundle: composer require nelmio/api-doc-bundle. That's it!

Remember, NelmioApiDocBundle's Version 4.0 offers OpenAPI 3.0 support, so if you wish to stay with Swagger 2.0, you should use Version 3 of this bundle.

Here is a basic example of its usage in your PHP code:

use Nelmio\ApiDocBundle\Annotation as Doc;

/**
 * @Doc\ApiDoc(
 *  description="Returns a collection of Object",
 *  output= {
 *    "class"=Object::class,
 *    "collection"=true
 *  },
 *  statusCodes={
 *    200="Returned when successful"
 *  }
 * )
 */
 public function cgetAction(){ /* ... */ }

It's as simple as that! This example illustrates how you can leverage annotations to generate API documentation effectively.

Where are the nelmio/api-doc-bundle docs?

You can find the NelmioApiDocBundle's extensive documentation at Symfony's official site. The guide provides a thorough walk-through on how to utilize the bundle's features and functionalities effectively, ensuring you're able to create stunning API documentation without a hitch. Follow this link to access the official documentation for NelmioApiDocBundle.