|24 days ago||7 days ago|
|MIT License||Apache License 2.0|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Need help to find an coding documentation software
3 projects | reddit.com/r/selfhosted | 7 Jun 2021
You can get yours: https://github.com/chevere/docs-deploy (I know, it has some bits on Spanish. I made it for my team but I can translate it if people need to consume this).
Creating API documentation from php files?
Here's the deploy repo https://github.com/chevere/docs-deploy
OpenAPI Specification: The Complete Guide
19 projects | dev.to | 18 May 2022
wagger-php is a php swagger annotation and parsing library which generates interactive OpenAPI documentation for your RESTful API using doctrine annotations. - GitHub - zircote/swagger-php
Validate your PHP API tests against OpenAPI definitions – a Laravel example
10 projects | dev.to | 22 Mar 2022
The second one is L5 Swagger, a popular package bringing Swagger PHP and Swagger UI to Laravel. We actually don't need Swagger PHP here, as it uses Doctrine annotations to generate OpenAPI definitions and we're going to manually write our own instead. We do need Swagger UI, however, and the package conveniently adapts it to work with Laravel (the -W option is simply here to also update related dependencies, to avoid conflicts).
Need to create OpenAPI documentation with Zend Framework 2
1 project | reddit.com/r/OpenAPI | 25 Nov 2021
I need to create REST API documentation for a legacy Zend Framework 2 project. I tried to use zircote/swagger-php . It works with the new zf2 skeleton project but it fails when I use it in the legacy zf2 project. It adds Symfony/polyfill-php80 and it generates to issue. Anybody could help me on this issue. If you can suggest another package for API documentation also be a great help. Thanks.
Dynamic class property with phpdoc included
3 projects | reddit.com/r/PHPhelp | 31 Jul 2021
It is possible that there is a library doing this already. I am not PHP coder so would like to avoid complex frameworks and stick with barebone solution doing only this Swagger/JSON stuff. For swagger, I decided to go with zircote/swagger-php. I would like my schema and model classes to have nice Swagger doc and at the same time I can use them to prepare objects to interact with the DB by loading/dumping from JSON.
Creating API documentation from php files?
Ah right, so you're building a (presumably REST) API and you want to generate docs for the endpoints from your code. Slightly different scenario to what I assumed. There are a couple of libraries to generate OpenAPI specs from source files, I think this is the main one https://github.com/zircote/swagger-php though FWIW I prefer to maintain my API specs separately from the code and use those to guide what I'm building, rather than 'tother way round.
I'm using this library to generate an open api 3 (swagger) yaml file. You add @OA markup to your doc blocks and then can have this generate a file or produce it on the fly. It's a bit sparse on documentation but is working really well with my MVC set up for a REST API I'm developing. https://github.com/zircote/swagger-php
Json schema out of an entity or DTO
1 project | reddit.com/r/symfony | 12 Jan 2021
I like the swagger way of generating schema's by annotating classes.. Swagger/OpenApi 3.0 uses a slightly modified subset of json schema, would that be of use to you?
What are some alternatives?
laminas-code - Extensions to the PHP Reflection API, static code scanning, and code generation
apiDoc - RESTful web API Documentation Generator.
mkdocs-material - Documentation that simply works
Deployer - A deployment tool written in PHP with support for popular frameworks out of the box
dynamicobjects - Create PHP objects having dynamic classes and/or properties.
BookStack - A platform to create documentation/wiki content built with PHP & Laravel
git-deploy - Php Script for Auto-Pull in server (Using WebHook from GitLab, GitHub and Bitbucket)
rustpad - Efficient and minimal collaborative code editor, self-hosted, no database required