Laravel Blueprint installed

This commit is contained in:
Benjamin Takats
2022-11-29 17:53:53 +01:00
parent 7266aa3c98
commit f08c7331eb
4 changed files with 834 additions and 1 deletions

2
.gitignore vendored
View File

@@ -16,3 +16,5 @@ yarn-error.log
/.fleet /.fleet
/.idea /.idea
/.vscode /.vscode
/draft.yaml
/.blueprint

View File

@@ -15,6 +15,9 @@
}, },
"require-dev": { "require-dev": {
"fakerphp/faker": "^1.9.1", "fakerphp/faker": "^1.9.1",
"fidum/laravel-blueprint-pestphp-addon": "^2.2",
"jasonmccreary/laravel-test-assertions": "^2.1",
"laravel-shift/blueprint": "^2.4",
"laravel/pint": "^1.0", "laravel/pint": "^1.0",
"laravel/sail": "^1.16", "laravel/sail": "^1.16",
"mockery/mockery": "^1.4.4", "mockery/mockery": "^1.4.4",

684
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "9cf23ac9d966cda57c4841b33aeb439e", "content-hash": "b688b365bafc4372895765268dab540c",
"packages": [ "packages": [
{ {
"name": "bacon/bacon-qr-code", "name": "bacon/bacon-qr-code",
@@ -5982,6 +5982,344 @@
} }
], ],
"packages-dev": [ "packages-dev": [
{
"name": "doctrine/cache",
"version": "2.2.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/cache.git",
"reference": "1ca8f21980e770095a31456042471a57bc4c68fb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/cache/zipball/1ca8f21980e770095a31456042471a57bc4c68fb",
"reference": "1ca8f21980e770095a31456042471a57bc4c68fb",
"shasum": ""
},
"require": {
"php": "~7.1 || ^8.0"
},
"conflict": {
"doctrine/common": ">2.2,<2.4"
},
"require-dev": {
"cache/integration-tests": "dev-master",
"doctrine/coding-standard": "^9",
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
"psr/cache": "^1.0 || ^2.0 || ^3.0",
"symfony/cache": "^4.4 || ^5.4 || ^6",
"symfony/var-exporter": "^4.4 || ^5.4 || ^6"
},
"type": "library",
"autoload": {
"psr-4": {
"Doctrine\\Common\\Cache\\": "lib/Doctrine/Common/Cache"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Guilherme Blanco",
"email": "guilhermeblanco@gmail.com"
},
{
"name": "Roman Borschel",
"email": "roman@code-factory.org"
},
{
"name": "Benjamin Eberlei",
"email": "kontakt@beberlei.de"
},
{
"name": "Jonathan Wage",
"email": "jonwage@gmail.com"
},
{
"name": "Johannes Schmitt",
"email": "schmittjoh@gmail.com"
}
],
"description": "PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis, memcache, apc, mongodb and others.",
"homepage": "https://www.doctrine-project.org/projects/cache.html",
"keywords": [
"abstraction",
"apcu",
"cache",
"caching",
"couchdb",
"memcached",
"php",
"redis",
"xcache"
],
"support": {
"issues": "https://github.com/doctrine/cache/issues",
"source": "https://github.com/doctrine/cache/tree/2.2.0"
},
"funding": [
{
"url": "https://www.doctrine-project.org/sponsorship.html",
"type": "custom"
},
{
"url": "https://www.patreon.com/phpdoctrine",
"type": "patreon"
},
{
"url": "https://tidelift.com/funding/github/packagist/doctrine%2Fcache",
"type": "tidelift"
}
],
"time": "2022-05-20T20:07:39+00:00"
},
{
"name": "doctrine/dbal",
"version": "3.5.1",
"source": {
"type": "git",
"url": "https://github.com/doctrine/dbal.git",
"reference": "f38ee8aaca2d58ee88653cb34a6a3880c23f38a5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/f38ee8aaca2d58ee88653cb34a6a3880c23f38a5",
"reference": "f38ee8aaca2d58ee88653cb34a6a3880c23f38a5",
"shasum": ""
},
"require": {
"composer-runtime-api": "^2",
"doctrine/cache": "^1.11|^2.0",
"doctrine/deprecations": "^0.5.3|^1",
"doctrine/event-manager": "^1|^2",
"php": "^7.4 || ^8.0",
"psr/cache": "^1|^2|^3",
"psr/log": "^1|^2|^3"
},
"require-dev": {
"doctrine/coding-standard": "10.0.0",
"jetbrains/phpstorm-stubs": "2022.2",
"phpstan/phpstan": "1.8.10",
"phpstan/phpstan-strict-rules": "^1.4",
"phpunit/phpunit": "9.5.25",
"psalm/plugin-phpunit": "0.17.0",
"squizlabs/php_codesniffer": "3.7.1",
"symfony/cache": "^5.4|^6.0",
"symfony/console": "^4.4|^5.4|^6.0",
"vimeo/psalm": "4.29.0"
},
"suggest": {
"symfony/console": "For helpful console commands such as SQL execution and import of files."
},
"bin": [
"bin/doctrine-dbal"
],
"type": "library",
"autoload": {
"psr-4": {
"Doctrine\\DBAL\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Guilherme Blanco",
"email": "guilhermeblanco@gmail.com"
},
{
"name": "Roman Borschel",
"email": "roman@code-factory.org"
},
{
"name": "Benjamin Eberlei",
"email": "kontakt@beberlei.de"
},
{
"name": "Jonathan Wage",
"email": "jonwage@gmail.com"
}
],
"description": "Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.",
"homepage": "https://www.doctrine-project.org/projects/dbal.html",
"keywords": [
"abstraction",
"database",
"db2",
"dbal",
"mariadb",
"mssql",
"mysql",
"oci8",
"oracle",
"pdo",
"pgsql",
"postgresql",
"queryobject",
"sasql",
"sql",
"sqlite",
"sqlserver",
"sqlsrv"
],
"support": {
"issues": "https://github.com/doctrine/dbal/issues",
"source": "https://github.com/doctrine/dbal/tree/3.5.1"
},
"funding": [
{
"url": "https://www.doctrine-project.org/sponsorship.html",
"type": "custom"
},
{
"url": "https://www.patreon.com/phpdoctrine",
"type": "patreon"
},
{
"url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdbal",
"type": "tidelift"
}
],
"time": "2022-10-24T07:26:18+00:00"
},
{
"name": "doctrine/deprecations",
"version": "v1.0.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/deprecations.git",
"reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/deprecations/zipball/0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de",
"reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de",
"shasum": ""
},
"require": {
"php": "^7.1|^8.0"
},
"require-dev": {
"doctrine/coding-standard": "^9",
"phpunit/phpunit": "^7.5|^8.5|^9.5",
"psr/log": "^1|^2|^3"
},
"suggest": {
"psr/log": "Allows logging deprecations via PSR-3 logger implementation"
},
"type": "library",
"autoload": {
"psr-4": {
"Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.",
"homepage": "https://www.doctrine-project.org/",
"support": {
"issues": "https://github.com/doctrine/deprecations/issues",
"source": "https://github.com/doctrine/deprecations/tree/v1.0.0"
},
"time": "2022-05-02T15:47:09+00:00"
},
{
"name": "doctrine/event-manager",
"version": "2.0.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/event-manager.git",
"reference": "750671534e0241a7c50ea5b43f67e23eb5c96f32"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/event-manager/zipball/750671534e0241a7c50ea5b43f67e23eb5c96f32",
"reference": "750671534e0241a7c50ea5b43f67e23eb5c96f32",
"shasum": ""
},
"require": {
"php": "^8.1"
},
"conflict": {
"doctrine/common": "<2.9"
},
"require-dev": {
"doctrine/coding-standard": "^10",
"phpstan/phpstan": "^1.8.8",
"phpunit/phpunit": "^9.5",
"vimeo/psalm": "^4.28"
},
"type": "library",
"autoload": {
"psr-4": {
"Doctrine\\Common\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Guilherme Blanco",
"email": "guilhermeblanco@gmail.com"
},
{
"name": "Roman Borschel",
"email": "roman@code-factory.org"
},
{
"name": "Benjamin Eberlei",
"email": "kontakt@beberlei.de"
},
{
"name": "Jonathan Wage",
"email": "jonwage@gmail.com"
},
{
"name": "Johannes Schmitt",
"email": "schmittjoh@gmail.com"
},
{
"name": "Marco Pivetta",
"email": "ocramius@gmail.com"
}
],
"description": "The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.",
"homepage": "https://www.doctrine-project.org/projects/event-manager.html",
"keywords": [
"event",
"event dispatcher",
"event manager",
"event system",
"events"
],
"support": {
"issues": "https://github.com/doctrine/event-manager/issues",
"source": "https://github.com/doctrine/event-manager/tree/2.0.0"
},
"funding": [
{
"url": "https://www.doctrine-project.org/sponsorship.html",
"type": "custom"
},
{
"url": "https://www.patreon.com/phpdoctrine",
"type": "patreon"
},
{
"url": "https://tidelift.com/funding/github/packagist/doctrine%2Fevent-manager",
"type": "tidelift"
}
],
"time": "2022-10-12T20:59:15+00:00"
},
{ {
"name": "doctrine/instantiator", "name": "doctrine/instantiator",
"version": "1.4.1", "version": "1.4.1",
@@ -6119,6 +6457,79 @@
}, },
"time": "2022-07-20T13:12:54+00:00" "time": "2022-07-20T13:12:54+00:00"
}, },
{
"name": "fidum/laravel-blueprint-pestphp-addon",
"version": "2.2.3",
"source": {
"type": "git",
"url": "https://github.com/fidum/laravel-blueprint-pestphp-addon.git",
"reference": "b66446846a98aa8bb40c1927c4bd53ba5811a7cd"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fidum/laravel-blueprint-pestphp-addon/zipball/b66446846a98aa8bb40c1927c4bd53ba5811a7cd",
"reference": "b66446846a98aa8bb40c1927c4bd53ba5811a7cd",
"shasum": ""
},
"require": {
"jasonmccreary/laravel-test-assertions": "^2.1",
"laravel-shift/blueprint": "^2.3",
"php": "^8.0"
},
"require-dev": {
"mockery/mockery": "^1.4.4",
"orchestra/testbench": "^7.0",
"pestphp/pest": "^1.21.1",
"phpunit/phpunit": "^9.3",
"vimeo/psalm": "^4.0"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"Fidum\\BlueprintPestAddon\\BlueprintPestAddonServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"Fidum\\BlueprintPestAddon\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Daniel Mason",
"email": "fidum.dev@gmail.com",
"homepage": "https://fidum.uk",
"role": "Developer"
}
],
"description": "Generate pestphp tests from your laravel blueprint!",
"homepage": "https://github.com/fidum/laravel-blueprint-pestphp-addon",
"keywords": [
"blueprint",
"fidum",
"laravel-blueprint-pestphp-addon",
"laravel-shift",
"pest",
"pestphp"
],
"support": {
"issues": "https://github.com/fidum/laravel-blueprint-pestphp-addon/issues",
"source": "https://github.com/fidum/laravel-blueprint-pestphp-addon/tree/2.2.3"
},
"funding": [
{
"url": "https://github.com/dmason30",
"type": "github"
}
],
"time": "2022-02-26T17:49:27+00:00"
},
{ {
"name": "filp/whoops", "name": "filp/whoops",
"version": "2.14.6", "version": "2.14.6",
@@ -6241,6 +6652,154 @@
}, },
"time": "2020-07-09T08:09:16+00:00" "time": "2020-07-09T08:09:16+00:00"
}, },
{
"name": "jasonmccreary/laravel-test-assertions",
"version": "v2.1.1",
"source": {
"type": "git",
"url": "https://github.com/jasonmccreary/laravel-test-assertions.git",
"reference": "2547c0366f1ee9a2d58b031468b26edc63faef4e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/jasonmccreary/laravel-test-assertions/zipball/2547c0366f1ee9a2d58b031468b26edc63faef4e",
"reference": "2547c0366f1ee9a2d58b031468b26edc63faef4e",
"shasum": ""
},
"require": {
"illuminate/testing": "^8.0|^9.0",
"mockery/mockery": "^1.4.2",
"php": ">=7.3|^8.0",
"phpunit/phpunit": "^9.3.3"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"JMac\\Testing\\AdditionalAssertionsServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"JMac\\Testing\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Jason McCreary",
"email": "jason@pureconcepts.net"
}
],
"description": "A set of helpful assertions when testing Laravel applications.",
"support": {
"issues": "https://github.com/jasonmccreary/laravel-test-assertions/issues",
"source": "https://github.com/jasonmccreary/laravel-test-assertions/tree/v2.1.1"
},
"time": "2022-03-08T14:47:39+00:00"
},
{
"name": "laravel-shift/blueprint",
"version": "v2.4.0",
"source": {
"type": "git",
"url": "https://github.com/laravel-shift/blueprint.git",
"reference": "7291204abd56c3d3071f3c1997b57f98fd8358c4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel-shift/blueprint/zipball/7291204abd56c3d3071f3c1997b57f98fd8358c4",
"reference": "7291204abd56c3d3071f3c1997b57f98fd8358c4",
"shasum": ""
},
"require": {
"doctrine/dbal": "^3.3",
"illuminate/console": "^9.0",
"illuminate/filesystem": "^9.0",
"illuminate/support": "^9.0",
"laravel-shift/faker-registry": "^0.2.0",
"symfony/yaml": "^6.0"
},
"require-dev": {
"mockery/mockery": "^1.4.4",
"orchestra/testbench": "^7.0",
"phpunit/phpunit": "^9.5.10"
},
"suggest": {
"jasonmccreary/laravel-test-assertions": "Required to use additional assertions in generated tests (^1.0)."
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"Blueprint\\BlueprintServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"Blueprint\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "An expressive, human readable code generation tool.",
"keywords": [
"framework",
"laravel"
],
"support": {
"issues": "https://github.com/laravel-shift/blueprint/issues",
"source": "https://github.com/laravel-shift/blueprint/tree/v2.4.0"
},
"time": "2022-05-22T20:00:28+00:00"
},
{
"name": "laravel-shift/faker-registry",
"version": "v0.2.0",
"source": {
"type": "git",
"url": "https://github.com/laravel-shift/faker-registry.git",
"reference": "53ffca6b0b7e53f58f5d8999cae0298f7184e247"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel-shift/faker-registry/zipball/53ffca6b0b7e53f58f5d8999cae0298f7184e247",
"reference": "53ffca6b0b7e53f58f5d8999cae0298f7184e247",
"shasum": ""
},
"require-dev": {
"phpunit/phpunit": "^8.0|^9.0"
},
"type": "library",
"autoload": {
"psr-4": {
"Shift\\Faker\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Jason McCreary",
"email": "jason@pureconcepts.net"
}
],
"description": "A registry for generating Faker data from a name or data type.",
"support": {
"issues": "https://github.com/laravel-shift/faker-registry/issues",
"source": "https://github.com/laravel-shift/faker-registry/tree/v0.2.0"
},
"time": "2022-02-19T17:24:49+00:00"
},
{ {
"name": "laravel/pint", "name": "laravel/pint",
"version": "v1.2.0", "version": "v1.2.0",
@@ -7117,6 +7676,55 @@
], ],
"time": "2022-10-28T06:00:21+00:00" "time": "2022-10-28T06:00:21+00:00"
}, },
{
"name": "psr/cache",
"version": "3.0.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/cache.git",
"reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf",
"reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf",
"shasum": ""
},
"require": {
"php": ">=8.0.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"autoload": {
"psr-4": {
"Psr\\Cache\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "PHP-FIG",
"homepage": "https://www.php-fig.org/"
}
],
"description": "Common interface for caching libraries",
"keywords": [
"cache",
"psr",
"psr-6"
],
"support": {
"source": "https://github.com/php-fig/cache/tree/3.0.0"
},
"time": "2021-02-03T23:26:27+00:00"
},
{ {
"name": "sebastian/cli-parser", "name": "sebastian/cli-parser",
"version": "1.0.1", "version": "1.0.1",
@@ -8377,6 +8985,80 @@
], ],
"time": "2022-10-26T17:39:54+00:00" "time": "2022-10-26T17:39:54+00:00"
}, },
{
"name": "symfony/yaml",
"version": "v6.1.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
"reference": "20e9985d3fc6a77289102c47b6a110b6fbd24585"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/20e9985d3fc6a77289102c47b6a110b6fbd24585",
"reference": "20e9985d3fc6a77289102c47b6a110b6fbd24585",
"shasum": ""
},
"require": {
"php": ">=8.1",
"symfony/polyfill-ctype": "^1.8"
},
"conflict": {
"symfony/console": "<5.4"
},
"require-dev": {
"symfony/console": "^5.4|^6.0"
},
"suggest": {
"symfony/console": "For validating YAML files using the lint command"
},
"bin": [
"Resources/bin/yaml-lint"
],
"type": "library",
"autoload": {
"psr-4": {
"Symfony\\Component\\Yaml\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Loads and dumps YAML files",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/yaml/tree/v6.1.8"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2022-11-25T18:59:16+00:00"
},
{ {
"name": "theseer/tokenizer", "name": "theseer/tokenizer",
"version": "1.2.1", "version": "1.2.1",

146
config/blueprint.php Normal file
View File

@@ -0,0 +1,146 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Namespace
|--------------------------------------------------------------------------
|
| Blueprint uses the default Laravel application namespace of 'App'.
| However, you may configure Blueprint to use a custom namespace.
| This value should match a PSR-4 autoload configuration value
| within the composer.json file of your Laravel application.
|
*/
'namespace' => 'App',
/*
|--------------------------------------------------------------------------
| Component Namespaces
|--------------------------------------------------------------------------
|
| Blueprint promotes following Laravel conventions. As such, it generates
| components under the default namespaces. For example, models are under
| the `App` namespace. However, you may configure Blueprint to use
| your own custom namespace when generating these components.
|
*/
'models_namespace' => 'Models',
'controllers_namespace' => 'Http\\Controllers',
/*
|--------------------------------------------------------------------------
| Application Path
|--------------------------------------------------------------------------
|
| By default, Blueprint will save the generated application components
| under the files under the `app` folder. However, you may configure
| Blueprint to save these generated component under a custom path.
|
*/
'app_path' => 'app',
/*
|--------------------------------------------------------------------------
| Generate PHPDocs
|--------------------------------------------------------------------------
|
| Here you may enable generate PHPDocs for classes like Models. This
| not only serves as documentation, but also allows your IDE to
| map to the dynamic properties used by Laravel Models.
|
*/
'generate_phpdocs' => false,
/*
|--------------------------------------------------------------------------
| Foreign Key Constraints
|--------------------------------------------------------------------------
|
| Here you may enable Blueprint to always add foreign key constraints
| within the generated migration. This will relate these records
| together to add structure and integrity to your database.
|
| In addition, you may specify the action to perform `ON DELETE`. By
| default Blueprint will use `cascade`. However, you may set this
| to 'restrict', 'no_action', or 'null' as well as inline
| by defining your `foreign` key column with an `onDelete`.
|
*/
'use_constraints' => true,
'on_delete' => 'cascade',
'on_update' => 'cascade',
/*
|--------------------------------------------------------------------------
| Fake Nullables
|--------------------------------------------------------------------------
|
| By default, Blueprint will set fake data even for nullable columns
| within the generated model factories. However, you may disable
| this behavior if you prefer to only set required columns
| within your model factories.
|
*/
'fake_nullables' => true,
/*
|--------------------------------------------------------------------------
| Method Return Type Declarations
|--------------------------------------------------------------------------
|
| Enable or disable method return typehinting for blueprint generated
| methods. Enabling this will enforce code strictness which increases
| readability of code and will lower maintenance cost. This will only
| Work for projects running PHP v7.0 or higher.
|
*/
'use_return_types' => true,
/*
|--------------------------------------------------------------------------
| Use Guarded
|--------------------------------------------------------------------------
|
| By default, Blueprint will set the `fillable` property within generated
| models with the defined columns. These are set to provide a foundation
| for mass assignment protection provided by Laravel. However, you may
| configure Blueprint to instead set an empty `guarded` property to
| generated "unguarded" models.
|
*/
'use_guarded' => false,
/*
|--------------------------------------------------------------------------
| Generators
|--------------------------------------------------------------------------
|
| Blueprint will automatically register this default array of Generator classes.
| However, you may configure Blueprint to use a custom Generator class to grant
| expanded functionality to Blueprint.
|
| Your custom Generator class MUST implement the 'Blueprint\Contracts\Generator' interface.
|
*/
'generators' => [
'controller' => \Blueprint\Generators\ControllerGenerator::class,
'factory' => \Blueprint\Generators\FactoryGenerator::class,
'migration' => \Blueprint\Generators\MigrationGenerator::class,
'model' => \Blueprint\Generators\ModelGenerator::class,
'route' => \Blueprint\Generators\RouteGenerator::class,
'seeder' => \Blueprint\Generators\SeederGenerator::class,
'test' => \Blueprint\Generators\TestGenerator::class,
'event' => \Blueprint\Generators\Statements\EventGenerator::class,
'form_request' => \Blueprint\Generators\Statements\FormRequestGenerator::class,
'job' => \Blueprint\Generators\Statements\JobGenerator::class,
'mail' => \Blueprint\Generators\Statements\MailGenerator::class,
'notification' => \Blueprint\Generators\Statements\NotificationGenerator::class,
'resource' => \Blueprint\Generators\Statements\ResourceGenerator::class,
'view' => \Blueprint\Generators\Statements\ViewGenerator::class,
],
];