Barry vd. Heuvel
95ab3676dc
Merge pull request #71 from szkuwa/master
...
Wrapping everything with namespaces to allow namespaced aliases
2014-03-18 14:14:18 +01:00
Michał Bieda
bf6ca64a08
Wrapping everything with namespaces to allow namespaced aliases
2014-03-18 13:59:57 +01:00
Barry vd. Heuvel
4e36c08168
Update readme
2014-03-05 18:35:42 +01:00
Barry vd. Heuvel
0577429e4e
Merge pull request #67 from SebSept/master
...
"An Eloquent Model:" is not necessary, removed it.
2014-03-04 08:49:25 +01:00
Sébastien Monterisi
77fbef112d
"An Eloquent Model:" is not necessary, removed it.
...
Not needind it since that information is gathered by IDE* with class definition.
```class Party extends Eloquent {```
*:(almost all ide will, I guess)
2014-03-04 02:25:02 +01:00
Barry vd. Heuvel
bb92081dde
Merge pull request #65 from hailwood/patch-1
...
Update ModelsCommand.php
2014-02-25 10:03:02 +01:00
Matthew Hailwood
23b41db33d
Update ModelsCommand.php
...
Fix for #61 - also returns query builder instance
2014-02-23 18:05:03 +13:00
Barry vd. Heuvel
7b47af171d
Use getDates() for type check
...
Fixes #63
2014-02-21 12:00:54 +01:00
Barry vd. Heuvel
512574de9a
Add dynamic whereField()
...
Fixes #61
Also added backslash to method return types and use full Str facade, not
an alias.
2014-02-21 11:51:39 +01:00
Barry vd. Heuvel
46558e9060
Typo in method name check
...
Fixes #62
2014-02-21 11:28:59 +01:00
Barry vd. Heuvel
f79776d06f
Merge pull request #60 from briankiewel/patch-1
...
Update readme.md
2014-02-19 14:40:47 +01:00
Brian Kiewel
6a1f7d61cf
Update readme.md
...
Escaped underscores in model file name and spelling correction
2014-02-19 08:35:43 -05:00
Barry vd. Heuvel
14cd044103
Catch exception for normalizing
...
Mainly for catching exceptions in inheritdoc etc. Should fix #59
2014-02-14 11:48:19 +01:00
Barry vd. Heuvel
b6a9d8e4f9
Update readme
2014-02-07 10:36:05 +01:00
Barry vd. Heuvel
e6493fd9e8
Tweak multiple models
...
Use array instead of comma seperated
2014-02-07 10:05:51 +01:00
Barry vd. Heuvel
caeb0227b6
Check if the class is a model before instantiating
2014-02-07 09:51:09 +01:00
Barry vd. Heuvel
948eb369a6
Add additional directories
...
For #57 (and #58 ), tweak a bit.
Make the input option an array, so commandline can also add multiple
dirs. Add app/models to the config, prepend the base_path() to every
dir.
2014-02-07 09:50:07 +01:00
Matthew Hailwood
107fda3c20
Add support for model_locations
2014-02-07 12:11:17 +13:00
Matthew Hailwood
0166a1bc9b
Update config.php
...
Add model_locations key
2014-02-07 12:09:31 +13:00
Barry vd. Heuvel
cae77c279d
Allow multi-line relations
...
Fixes #56
Searches for $this->hasMany( etc.
Also allows both " and ' quotes.
2014-02-06 10:45:31 +01:00
Barry vd. Heuvel
2c3c1e96d5
Add CacheStore
2014-02-03 13:10:09 +01:00
Barry vd. Heuvel
874cd4c1a2
Add prefix to table
...
Fixes #54
v1.8.1
2014-01-29 16:24:09 +01:00
Barry vd. Heuvel
0dc098a7ba
Merge pull request #47 from AoSiX/patch-1
...
Test if model class is instanciable
2013-12-17 03:04:30 -08:00
TANT Julien
7ee52d7e61
restore the try { statement
2013-12-17 11:53:02 +01:00
TANT Julien
430c5d7db4
Test if model class is instanciable
...
to handle abstract classes, interfaces...
2013-12-16 22:38:06 +01:00
Barry vd. Heuvel
facba3a5e6
Merge pull request #45 from bryceray1121/master
...
Removing \r from generator in order to prevent ^M from being inserted in...
v1.8.0
2013-12-06 08:51:01 -08:00
bryce.ray
7d09f324fa
Removing \r from generator in order to prevent ^M from being inserted into line endings after generation
2013-12-06 10:24:13 -06:00
Barry vd. Heuvel
af34b1cca2
Add extra class for Artisan
...
Adds the call() command. Fixes #42
2013-11-13 11:55:25 +01:00
Barry vd. Heuvel
463bfdd70a
Add doctrine dependancy for L4.1
...
Fixes #38
2013-10-18 11:16:02 +02:00
Barry vd. Heuvel
ff7d2a33b0
Update readme
2013-10-18 10:29:48 +02:00
Barry vd. Heuvel
3ebfcd1c6c
Make facade for interface possible
...
Fixes #36
v1.7.1
2013-10-18 10:17:11 +02:00
Barry vd. Heuvel
c3afd5f63c
Add ignore option
...
To ignore models, use the --ignore (-I) argument:
php artisan ide-helper:models --ignore="Admin\Model"
php artisan ide-helper:models -I Post,User
Fixes #35
2013-10-18 10:04:46 +02:00
Barry vd. Heuvel
92abb112e9
Force No answer for writing to files
...
To write to single file instead, use --nowrite or -N (as mentioned in
#35 )
2013-10-18 09:52:41 +02:00
Barry vd. Heuvel
7e1c64fb95
Add SessionStore to Session Facade
...
Because of changes to the session facade. Fixes #37
2013-10-18 09:35:33 +02:00
Barry vd. Heuvel
5e5cfce28c
Refactor a bit
v1.7.0
2013-08-25 17:56:29 +02:00
Barry vd. Heuvel
098090ed36
Merge pull request #32 from claar/patch-1
...
Use camel case for model scope generation
2013-08-25 06:31:59 -07:00
Barry vd. Heuvel
7f055cec7e
Merge pull request #33 from claar/patch-2
...
Include return value when generating scope methods
2013-08-25 06:30:45 -07:00
Ben Claar
5a0f8f1b64
Include return value when generating scope methods
...
It's handy to specify return values in phpDoc comments. This patch sets the return value to the containing class.
2013-08-23 16:25:03 -05:00
Ben Claar
92ec89bf87
Use camel case for model scope generation
...
In L4, scope functions only work with camel case (http://four.laravel.com/docs/eloquent#query-scopes )
2013-08-23 14:47:14 -05:00
Barry vd. Heuvel
afeaf2f28b
Add arguments for query scopes
...
Should fix #31
2013-08-23 13:47:25 +02:00
Barry vd. Heuvel
865bd8d32b
Update readme
2013-08-23 13:31:10 +02:00
Barry vd. Heuvel
e368338ba7
Make writing to files more default behaviour
...
But ask before overwriting. You can still force with -W
2013-08-23 13:29:44 +02:00
Barry vd. Heuvel
7bd3e1cc0a
Update docblock
2013-08-23 13:19:57 +02:00
Barry vd. Heuvel
28ce1492ad
Update namespace for ReflectionDocblock
v1.6.1
v1.7.2
2013-08-08 19:09:24 +02:00
Barry vd. Heuvel
d9516325f0
Add magic methods
...
Adds the magic calls to Log::error() etc. Perhaps more to come.
Fixes #27
v1.6.0
2013-08-08 18:20:43 +02:00
Barry vd. Heuvel
d1e396f658
Move back to original phpdocumentor/reflection-docblock
...
Because it is stable now.
2013-08-08 17:58:31 +02:00
Barry vd. Heuvel
a916da0ce4
Make deferred
2013-08-05 13:52:44 +02:00
Barry vd. Heuvel
fc887b4431
Clarify readme
2013-07-31 10:35:22 +02:00
Barry vd. Heuvel
7b08db2682
Catch PDO errors when getting drivers/connections
2013-07-31 10:33:32 +02:00
Barry vd. Heuvel
742aeb2f56
Add --dir option to readme
...
As described in #18
2013-07-29 16:32:40 +02:00