bin/configs
php-laravel.yaml +4 -0
modules/openapi-generator/src/main
java/org/openapitools/codegen/languages
PhpLaravelServerCodegen.java +26 -10
resources/php-laravel
app
Console
Kernel.php +1 -2
Exceptions
Handler.php +10 -6
Http
Controllers
Controller.php +0 -13
Middleware
Authenticate.php +21 -0
CheckForMaintenanceMode.php +17 -0
RedirectIfAuthenticated.php +2 -1
TrustProxies.php +2 -2
Kernel.php +7 -4
Providers
AppServiceProvider.php +4 -4
AuthServiceProvider.php +2 -2
BroadcastServiceProvider.php +1 -1
EventServiceProvider.php +5 -3
RouteServiceProvider.php +14 -6
User.php +39 -0
bootstrap
cache
gitignore +1 -0
app.php +1 -1
testingAutoload.php +0 -6
config
app.php +20 -2
auth.php +15 -0
broadcasting.php +1 -1
cache.php +17 -7
cors.php +34 -0
database.php +31 -4
filesystems.php +17 -1
hashing.php +1 -1
logging.php +24 -1
mail.php +52 -65
queue.php +8 -5
services.php +10 -15
session.php +13 -11
view.php +4 -1
database
factories
UserFactory.php +8 -3
migrations
2014_10_12_000000_create_users_table.php +4 -3
2019_08_19_000000_create_failed_jobs_table.php +35 -0
seeds
DatabaseSeeder.php +1 -1
gitignore +1 -0
public
css
app.css +0 -6
js
app.js +0 -1
.htaccess +1 -1
web.config +5 -0
resources
assets
js
components
ExampleComponent.vue +0 -23
app.js +0 -22
sass
_variables.scss +0 -8
app.scss +0 -14
js
app.js +1 -0
bootstrap.js +28 -0
lang/en
passwords.php +3 -3
validation.php +90 -85
sass
app.scss +1 -0
views
welcome.blade.php +14 -9
routes
api.mustache +7 -0
channels.mustache +2 -0
console.mustache +3 -0
web.mustache +5 -1
storage/framework/cache/data
gitignore +2 -0
tests
Feature
ExampleTest.php +1 -1
Unit
ExampleTest.php +1 -2
README.md +1 -1
composer.mustache +48 -51
editorconfig +15 -0
env.example +12 -5
gitattributes +5 -0
gitignore +13 -16
licenseInfo.mustache +1 -1
package.json +8 -9
phpunit.xml +15 -18
styleci.yml +13 -0
webpack.mix.js +3 -3
samples/server/petstore/php-laravel
.openapi-generator
FILES +25 -19
lib
app
Console
Kernel.php +1 -2
Exceptions
Handler.php +10 -6
Http
Controllers
AnotherFakeController.php +4 -4
Controller.php +0 -13
DefaultController.php +53 -0
FakeClassnameTags123Controller.php +4 -4
FakeController.php +45 -22
PetController.php +7 -7
StoreController.php +4 -4
UserController.php +10 -10
Middleware
Authenticate.php +21 -0
CheckForMaintenanceMode.php +17 -0
RedirectIfAuthenticated.php +2 -1
TrustProxies.php +2 -2
Kernel.php +7 -4
Models
AdditionalPropertiesAnyType.php +0 -15
AdditionalPropertiesArray.php +0 -15
AdditionalPropertiesBoolean.php +0 -15
AdditionalPropertiesClass.php +4 -31
AdditionalPropertiesInteger.php +0 -15
AdditionalPropertiesNumber.php +0 -15
AdditionalPropertiesObject.php +0 -15
AdditionalPropertiesString.php +0 -15
BigCat.php +0 -24
EnumTest.php +9 -0
Foo.php +15 -0
FormatTest.php +5 -2
HealthCheckResult.php +15 -0
InlineObject.php +18 -0
InlineObject1.php +18 -0
InlineObject2.php +18 -0
InlineObject3.php +54 -0
InlineObject4.php +18 -0
InlineObject5.php +18 -0
InlineResponseDefault.php +15 -0
NullableClass.php +48 -0
OuterEnumDefaultValue.php +12 -0
OuterEnumInteger.php +12 -0
OuterEnumIntegerDefaultValue.php +12 -0
TypeHolderDefault.php +0 -27
TypeHolderExample.php +0 -30
XmlItem.php +0 -99
Providers
AppServiceProvider.php +4 -4
AuthServiceProvider.php +2 -2
BroadcastServiceProvider.php +1 -1
EventServiceProvider.php +5 -3
RouteServiceProvider.php +14 -6
RouteServiceProvider.php +39 -0
bootstrap
cache
.gitignore +1 -0
app.php +1 -1
testingAutoload.php +0 -6
config
app.php +20 -2
auth.php +15 -0
broadcasting.php +1 -1
cache.php +17 -7
cors.php +34 -0
database.php +31 -4
filesystems.php +17 -1
hashing.php +1 -1
logging.php +24 -1
mail.php +52 -65
queue.php +8 -5
services.php +10 -15
session.php +13 -11
view.php +4 -1
database
factories
UserFactory.php +8 -3
migrations
2014_10_12_000000_create_users_table.php +4 -3
2019_08_19_000000_create_failed_jobs_table.php +35 -0
seeds
DatabaseSeeder.php +1 -1
.gitignore +1 -0
public
css
app.css +0 -6
js
app.js +0 -1
.htaccess +1 -1
web.config +5 -0
resources
assets
js
components
ExampleComponent.vue +0 -23
app.js +0 -21
bootstrap.js +2 -30
sass
_variables.scss +0 -8
app.scss +1 -14
lang/en
passwords.php +3 -3
validation.php +90 -85
views
welcome.blade.php +13 -8
routes
api.php +28 -7
channels.php +3 -1
console.php +4 -1
web.php +6 -2
tests
Feature
ExampleTest.php +1 -1
Unit
ExampleTest.php +1 -2
.editorconfig +15 -0
.env +0 -39
.env.example +12 -5
.gitattributes +5 -0
.gitignore +16 -0
.styleci.yml +13 -0
README.md +1 -1
composer.json +48 -51
package.json +8 -9
phpunit.xml +15 -18
webpack.mix.js +3 -3
.gitignore +0 -19
pom.xml +88 -0
pom.xml +1 -0
bin/configs/php-laravel.yaml
0 → 100644
+ 4
- 0
bin/configs/php-laravel.yaml
0 → 100644
+ 4
- 0
@@ -122,16 +122,17 @@ public class PhpLaravelServerCodegen extends AbstractPhpCodegen {
@@ -147,6 +148,8 @@ public class PhpLaravelServerCodegen extends AbstractPhpCodegen {
@@ -163,11 +166,13 @@ public class PhpLaravelServerCodegen extends AbstractPhpCodegen {
@@ -176,6 +181,7 @@ public class PhpLaravelServerCodegen extends AbstractPhpCodegen {
@@ -186,12 +192,13 @@ public class PhpLaravelServerCodegen extends AbstractPhpCodegen {
@@ -203,6 +210,7 @@ public class PhpLaravelServerCodegen extends AbstractPhpCodegen {
@@ -215,6 +223,14 @@ public class PhpLaravelServerCodegen extends AbstractPhpCodegen {
@@ -2,8 +2,8 @@
@@ -29,10 +29,12 @@ class Handler extends ExceptionHandler
@@ -41,10 +43,12 @@ class Handler extends ExceptionHandler
+ 0
- 13
@@ -7,20 +7,7 @@ use Illuminate\Foundation\Bus\DispatchesJobs;
+ 17
- 0
@@ -2,6 +2,7 @@
@@ -18,7 +19,7 @@ class RedirectIfAuthenticated
+ 2
- 2
@@ -2,15 +2,15 @@
@@ -14,11 +14,12 @@ class Kernel extends HttpKernel
@@ -39,7 +40,7 @@ class Kernel extends HttpKernel
@@ -51,13 +52,15 @@ class Kernel extends HttpKernel
+ 4
- 4
@@ -7,21 +7,21 @@ use Illuminate\Support\ServiceProvider;
+ 2
- 2
@@ -2,8 +2,8 @@
@@ -13,7 +13,7 @@ class AuthServiceProvider extends ServiceProvider