Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions config/ide-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
| `.phpstorm.meta.php/laravel_ide_Helper.php'.
|
*/

'meta_filename' => '.phpstorm.meta.php',

/*
Expand Down Expand Up @@ -225,6 +226,7 @@
| Note, it is currently an all-or-nothing option.
|
*/

'model_camel_case_properties' => false,

/*
Expand All @@ -235,6 +237,7 @@
| Cast the given "real type" to the given "type".
|
*/

'type_overrides' => [
'integer' => 'int',
'boolean' => 'bool',
Expand All @@ -249,6 +252,7 @@
| magic methods and properties.
|
*/

'include_class_docblocks' => false,

/*
Expand All @@ -261,6 +265,7 @@
| or there is an import (use className) of the class.
|
*/

'force_fqn' => false,

/*
Expand All @@ -272,6 +277,7 @@
| e.g. `Collection<User>` instead of `Collection|User[]`.
|
*/

'use_generics_annotations' => true,

/*
Expand All @@ -284,6 +290,7 @@
| class name of the relationship, e.g. `'relationName' => RelationShipClass::class`.
|
*/

'additional_relation_types' => [],

/*
Expand All @@ -298,6 +305,7 @@
| e.g. `'relationName' => 'many'`.
|
*/

'additional_relation_return_types' => [],

/*
Expand Down Expand Up @@ -331,6 +339,7 @@
| The specified commands should run after migrations are finished running.
|
*/

'post_migrate' => [
// 'ide-helper:models --nowrite',
],
Expand All @@ -344,6 +353,7 @@
| You can add any custom trait that behaves like the original Laravel one.
|
*/

'macroable_traits' => [
Filament\Support\Concerns\Macroable::class,
Spatie\Macroable\Macroable::class,
Expand Down