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
Barry vd. Heuvel
da677f1ba5
Merge pull request #357 from tnorthcutt/patch-1
...
An --> A
2016-07-04 13:44:48 +02:00
Chris Nanney
928389d7a4
Use FQN for app() methods
2016-06-29 10:21:17 -05:00
Travis Northcutt
dbfcfd66c5
An --> A
2016-06-14 07:23:16 -06:00
Barry vd. Heuvel
3064296216
Use fork of reflection docblock
2016-06-13 21:35:48 +02:00
Barry vd. Heuvel
2d82419167
Test method output
2016-06-08 22:06:05 +02:00
Barry vd. Heuvel
bae462604e
Add test config, CS rules and fix CS
2016-06-08 21:36:25 +02:00
Tommi Finnilä
4f227d5c57
Add hasManyThrough relationship
2016-05-25 09:28:34 +01:00
Chris Nanney
d818b72f82
Look for additional facade aliases in app config array
...
In my Lumen app, I load my providers and aliases from a `config/app.php` file like in Laravel. Maybe that is uncommon, but this simple PR will include those aliases as well if any are present.
2016-03-29 14:56:12 -05:00
Vedmant
606183ea12
Added support for default storage driver shortcuts, eg. Storage::exists('file.jpg');
2016-03-03 16:33:28 +02:00
Stephen Rees-Carter
a72cd81e5f
Allow for camel case model properties.
2016-03-03 21:36:10 +11:00
Barry vd. Heuvel
f1ebd847aa
Check on actual model, not facade
...
Fixes #311
2016-03-03 09:45:00 +01:00
Barry vd. Heuvel
83597196f9
Prevent double mixin tags
2016-03-03 09:43:49 +01:00
Barry vd. Heuvel
f50470ba49
Add morphOne, fix morphTo
...
Fixes #236 thanks to @boxfrommars
2016-03-02 10:54:41 +01:00
Barry vd. Heuvel
7762e07f0a
Use new provider config
...
Fixes #274 , #324
2016-03-02 10:47:25 +01:00
Barry vd. Heuvel
467b5f5b5f
Always add whereColumn
...
Fixes #300 , #325
2016-03-02 10:42:37 +01:00
Barry vd. Heuvel
c213be3d3c
Merge pull request #305 from matiaspub/patch-1
...
Add extend \Eloquent for ide-helper:models command
2016-03-02 10:39:21 +01:00
Barry vd. Heuvel
4b8ba85b34
Merge pull request #315 from icedfish/ignore_exception
...
Ignore abstract class or interface, not throw exception
2016-01-28 09:19:58 +01:00
Yu Bing
3a01e351de
Ignore abstract class or interface, not throw exception
2016-01-28 11:37:08 +08:00
Yu Bing
add34665a8
fix typo
2016-01-28 11:20:48 +08:00
Yu Bing
c77752bb58
recover model's whereXXX() helper function
2016-01-28 11:18:42 +08:00
Vincent Labreche
0c4c55f349
Add support for Lumen 5.0, 5.1 and 5.2+
2016-01-22 08:30:36 -05:00
Barry vd. Heuvel
60e642e881
Revert "Don't use force aliases loading"
2016-01-21 15:55:29 +01:00
Sergius
4069863d0c
Add extend \Eloquent for ide-helper:models command
...
It's help author to close many issues! )
Like: #269 , #259 , #248 , #209 , #191 , #74 ,
and https://github.com/laravel/framework/issues/7558 )))
etc. maybe
2016-01-12 15:33:05 +02:00
Dmytro Kulyk
74bac1a4e9
Don't use force aliases loading
...
Another autoloader throw exception if aliases not exists.
2016-01-11 13:45:41 +02:00
Propaganistas
dee3878566
Fix Auth driver detection in Laravel 5.2
2016-01-06 20:31:08 +01:00
Barry vd. Heuvel
d82e8f191f
Fix meta for 5.2 seeder
...
Fixes #287
2015-12-21 20:48:06 +01:00
Kieran
2f83db311f
Fixes #293
2015-12-14 13:29:24 +00:00
Nikolay Zakharov
2fb1135fc5
Fixed: fails to generate with resources
2015-12-11 17:18:14 +03:00
miraage
5708012a77
fix(models-command): check for default reflectionparameter value to prevent fail in variadic params
2015-12-06 13:49:27 +03:00
Barry vd. Heuvel
e3de462538
Resolve user model at runtime
...
Fixes #274
2015-10-22 14:26:11 +02:00
Barry vd. Heuvel
76f09aaa65
Remove magic where
2015-10-19 09:32:38 +02:00
Barry vd. Heuvel
56f89502e3
Tweak relation object
...
Tweaks #273
2015-10-19 09:31:08 +02:00
Kevin Laude
e48974e545
Add custom collection support
...
Add support for models that override Eloquent's newCollection() with a
custom collection type. Do this by executing the relationship on the
model then executing that relationship's newCollection() method to see
what type of colletion class is returned.
Remove the now-unused
Barryvdh\LaravelIdeHelper\Console\ModelsCommand::getClassName() method.
2015-10-18 20:54:25 -05:00
Barry vd. Heuvel
38a97cf07c
Swap facade/alias
...
See #202
2015-08-18 10:57:06 +02:00
Mahmut Bayri
5d4056fe87
Trim tag text. If tag doesn't have comment or the comment has any space at the end of line, phpcs (with --standard=PSR2) dedects an error.
2015-08-13 13:42:10 +03:00
Barry vd. Heuvel
78d233fea7
Skip validator
2015-08-10 21:01:41 +02:00