Gijs Blanken 65df3c22b9
Rewrite the PHP Laravel generator (#20526)
* remove legacy laravel generator

* initial setup of my vision for the laravel generator

* update the php laravel samples

* update php laravel docs

* moved api validation into controller and handle edge cases presented by sample generation

* updated samples

* added php-laravel to github workflow php8 and removed php7 workflow as it only contained old laravel

* preemptive work to support union types as soon as php serde supports them

* updated samples

* update templates in accordance to samples output

* fix pipelines and update samples

* correct serde version

* fixed phpunit execution and updated samples

* added named routes

* remove

* readd samples

---------

Co-authored-by: gijs.blanken@futureof.finance <gijs.blanken@finly.nl>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2025-02-17 21:50:13 +08:00

89 lines
2.4 KiB
Plaintext

.gitignore
Api/AnotherFakeApiInterface.php
Api/DefaultApiInterface.php
Api/FakeApiInterface.php
Api/FakeClassnameTags123ApiInterface.php
Api/PetApiInterface.php
Api/StoreApiInterface.php
Api/UserApiInterface.php
Http/Controllers/AnotherFakeController.php
Http/Controllers/DefaultController.php
Http/Controllers/FakeClassnameTags123Controller.php
Http/Controllers/FakeController.php
Http/Controllers/PetController.php
Http/Controllers/StoreController.php
Http/Controllers/UserController.php
Model/AdditionalPropertiesClass.php
Model/AllOfWithSingleRef.php
Model/Animal.php
Model/ApiResponse.php
Model/ArrayOfArrayOfNumberOnly.php
Model/ArrayOfNumberOnly.php
Model/ArrayTest.php
Model/Capitalization.php
Model/Cat.php
Model/Category.php
Model/ChildWithNullable.php
Model/ClassModel.php
Model/Client.php
Model/DeprecatedObject.php
Model/Dog.php
Model/EnumArrays.php
Model/EnumArraysArrayEnumInner.php
Model/EnumArraysJustSymbol.php
Model/EnumClass.php
Model/EnumTest.php
Model/EnumTestEnumInteger.php
Model/EnumTestEnumString.php
Model/FakeBigDecimalMap200Response.php
Model/File.php
Model/FileSchemaTestClass.php
Model/FindPetsByStatusStatusParameterInner.php
Model/Foo.php
Model/FooGetDefaultResponse.php
Model/FormatTest.php
Model/HasOnlyReadOnly.php
Model/HealthCheckResult.php
Model/MapTest.php
Model/MapTestMapOfEnumStringValue.php
Model/MixedPropertiesAndAdditionalPropertiesClass.php
Model/Model200Response.php
Model/ModelList.php
Model/ModelReturn.php
Model/Name.php
Model/NoContent200.php
Model/NoContent400.php
Model/NoContent404.php
Model/NoContent405.php
Model/NoContentDefault.php
Model/NullableClass.php
Model/NumberOnly.php
Model/ObjectWithDeprecatedFields.php
Model/Order.php
Model/OrderStatus.php
Model/OuterComposite.php
Model/OuterEnum.php
Model/OuterEnumDefaultValue.php
Model/OuterEnumInteger.php
Model/OuterEnumIntegerDefaultValue.php
Model/OuterObjectWithEnumProperty.php
Model/ParentWithNullable.php
Model/ParentWithNullableType.php
Model/Pet.php
Model/PetStatus.php
Model/ReadOnlyFirst.php
Model/SingleRefType.php
Model/SpecialModelName.php
Model/Tag.php
Model/TestEnumParametersEnumHeaderStringParameter.php
Model/TestEnumParametersEnumQueryDoubleParameter.php
Model/TestEnumParametersEnumQueryIntegerParameter.php
Model/TestEnumParametersRequestEnumFormString.php
Model/TestEnumParametersRequestEnumFormStringArrayInner.php
Model/TestInlineFreeformAdditionalPropertiesRequest.php
Model/User.php
README.md
composer.json
phpunit.xml.dist
routes.php