Barry vd. Heuvel
bbd96d3616
Merge pull request #609 from lx1036/patch
...
Sort keys for generating stable .phpstorm.meta.php
2018-05-07 11:17:33 +02:00
Barry vd. Heuvel
8d913089db
Merge pull request #614 from WickedSik/master
...
Allow command to find and use pivot models
2018-05-07 11:17:07 +02:00
Barry vd. Heuvel
9a2588cb3a
Merge pull request #612 from westphalen/master
...
Added Validator and Gate facades for Lumen
2018-05-07 11:16:47 +02:00
Barry vd. Heuvel
e7fa36bdc3
Merge pull request #629 from bedezign/smart-reset
...
"smart-reset": Reset properties/methods, but keep the text
2018-05-07 11:15:59 +02:00
Barry vd. Heuvel
203d60dc8c
Merge branch 'master' into feature/fix-callable-macros
2018-05-07 11:15:43 +02:00
Barry vd. Heuvel
f5275b700a
Merge pull request #632 from JeppeKnockaert/feature/add-morphedByMany-relation
...
Add morphedByMany relationship
2018-05-07 11:13:27 +02:00
Barry vd. Heuvel
046a9bcc77
Merge pull request #647 from eidng8/eidng8-suppress-formatter
...
suppress PHPStorm formatter
2018-05-07 11:10:25 +02:00
Tom Rochette
b1b05b694b
Remove dependecy to Symfony\Component\ClassLoader\ClassMapGenerator and replace it with Composer\Autoload\ClassMapGenerator.
2018-05-03 16:02:16 -04:00
Jackey Cheung
c7b7ebf1b5
suppress PHPStorm formatter
2018-03-21 11:36:02 +08:00
Jeppe Knockaert
17982029f0
Move long one-line array to multiple lines
2018-02-14 12:15:38 +01:00
Jeppe Knockaert
bda5120e9a
Add morphedByMany relationship
2018-02-14 12:06:45 +01:00
Steve Guns
d961482d22
Fixed PHPCS PSR2 issues
2018-02-14 08:59:19 +01:00
Steve Guns
8852b1ca9d
Added "smart-reset": Reset properties/methods, but keep the docBlock text, if any
2018-02-11 19:09:33 +01:00
Ezra Pool
8ab907f219
Support php's array callable format for macro's.
...
This allows you to define methods like this as well: Str::macro('name', [$this, 'method']);
2018-02-03 21:10:48 +01:00
Jonas De Smet
e29e035135
Add DocBlocks for classes too
2018-02-01 15:53:32 +01:00
Jurrien Dokter
7b2786ac2b
Fixing issue #253
2018-01-27 13:01:07 +01:00
Sune Westphalen
76bd86dbaf
Added Validator and Gate facades for Lumen.
2018-01-23 13:56:22 +07:00
Xiang Liu
7b067198a6
Sort keys for generating stable .phpstorm.meta.php
2018-01-15 12:44:44 +08:00
Subodh Dahal
01320a48e3
Bugfix: Undefined property: Barryvdh\LaravelIdeHelper\Console\MetaCommand::$config ( #562 )
2017-08-28 15:16:15 +02:00
Charles Peterson
fedcb57295
Add an eloquent command ( #544 )
...
* Add an eloquent command for adding the `@mixin \Eloquent` to the Illuminate\Database\Eloquent\Model
* spacing updates...
* multi-line function call syntax
* Write helper mixin to Eloquent/Model after helper created
* Cleanup into helper - similar to Generator
* syntax cleanup
2017-08-28 15:12:54 +02:00
Chris Morrell
55c9bfc33b
Allow for configurable meta filename ( #553 )
2017-08-28 13:37:22 +02:00
Jan.Weskamp
2b1273c45e
Fix for Laravel 5.5 ( #540 )
...
Command fire method is now handle
2017-07-16 02:24:12 +02:00
Stidges
dca7fa7b10
Use new PhpStorm advanced metadata format ( #523 )
2017-06-14 20:49:19 +02:00
leo
46901d2c80
set include_fluent default to true ( #512 )
2017-06-08 12:19:59 +02:00
Max Matiukhin
25b5576f57
generate methods for the SoftDeletes trait ( #518 )
2017-06-08 12:19:38 +02:00
Michael Tsang
d6d99994c3
return eloquent builder instead of plain database builder from model methods ( #521 )
2017-06-08 12:19:27 +02:00
Matthew Erwin
b76156b24c
Adds support for macros ( #500 )
...
* Adds support for macros
* Fixes formatting
2017-05-05 11:22:12 +02:00
Neil Farrington
3814fe86ca
Resolve displaying @return types with descriptions ( #491 )
2017-04-14 08:56:19 +02:00
JC Lee
3ab73555d9
Add support for pgsql for boolean types. ( #489 )
2017-04-11 07:31:58 +02:00
Antoine Aflalo
ff3844e4e1
Implements Nullable ( #487 )
...
* Add nullable support
Fixes #407
* Add nullable to setProperty
Better do it like this to still be able to override the base type if wanted
* Cleanup nullableColumns between models iterations
Also rename it to nullableColumns since it contains multiple columns
* Fix formatting
2017-04-08 10:19:23 +02:00
JC Lee
d11bf58084
Fix #480 where tinyint is casts as bool ( #481 )
...
* Fix #480 where tinyint is casts as bool
`tinyint` is classified by bool as doctrine/dbal, but it should not be so in our use case. `tinyint` is better PHPDoc'ed as int. If the user wants bool, he should use Eloquent's `$casts` property to do that.
* Pass PSR-2 check
* Remove comment as requested
2017-04-05 09:45:19 +02:00
theMadness
75e1f22ec6
Decoupled from main app View Factory ( #475 )
2017-03-31 11:14:28 +02:00
Ivan Boldyrev
144a50e8ee
Add disable write magic methods on models ( #466 )
...
* Add desable write magic methods on models
* Fix property name
* Opps commit
* Fix
* Change default parameter of property
2017-03-16 11:46:50 +01:00
Florian Lefèvre
b611cb5eff
Add namespaced aliases ( #456 )
...
* Add namespaced aliases
* Move aliases regouping logic in Generator
* Fix getValidAliases return type
2017-03-05 20:04:42 +01:00
arasharg
456853be46
ignore intermediate table models ( #454 )
2017-02-22 08:59:06 +01:00
Florian Lefèvre
8c306035aa
Fix facades fullpath autocomplete ( #441 )
...
* Add method to retrieve namespace of extended class
* Regroup classes by namespace of the class they extends
* Restore facades shortnames
* Fix classnames used for methods declaration
2017-02-13 12:52:36 +01:00
Florian Lefèvre
525733122e
Add facades fullpath autocomplete ( #437 )
...
* Add method to retrieve namespace of extended class
* Regroup classes by namespace of the class they extends
* Restore facades shortnames
2017-02-01 07:21:31 +01:00
Django Eijgensteijn
a7fc2ec489
Sorting model docs ( #424 )
2017-01-05 22:20:42 +01:00
Barry vd. Heuvel
8caca941b3
Update IdeHelperServiceProvider.php
2017-01-05 10:02:31 +01:00
Barry vd. Heuvel
e96943fe6f
Use singleton instead of share
2017-01-05 09:58:45 +01:00
Jackey Cheung
105f14a50d
Add Fluent helpers (using config option) ( #404 )
...
* add fluent option to Generator
* add fluent to helper output
* add fluent option to config
* typo
2016-11-15 09:21:23 +01:00
ockle
13e65d3885
if model scope method parameters have typehints, add them to the docblock
2016-10-12 21:53:42 +01:00
Bogdan Padalko
71cb03ca6a
Use accessor docblock return type to guess property type
2016-09-06 12:24:42 +03:00
Barry vd. Heuvel
884eaeeb1a
Check if getCasts() exists
...
Fixes #382
2016-08-26 13:37:21 +02:00
Andrew Ellis
6f9b90c204
hotfix for type overrides
...
Oops, looks like I forgot to commit one call to the new method. This is related to #377 .
2016-08-25 18:53:51 -06:00
Andrew Ellis
ad800d197f
and one more blank line fix for travis-ci
2016-08-19 12:39:16 -06:00
Andrew Ellis
f3a3533b2d
fixed blank line errors for travis-ci build
2016-08-19 12:37:17 -06:00
Andrew Ellis
f8c6ec95f6
allow a user to define the type overrides
2016-08-19 12:20:34 -06:00
leo108
4b47c0b61c
add support for $casts
2016-08-19 07:35:07 +08:00
Barry vd. Heuvel
8f004f5d6b
Merge pull request #326 from valorin/master
...
Allow for camel case model properties.
2016-07-04 13:45:34 +02:00