Barry vd. Heuvel
26e02d295f
Update readme.md
2014-06-25 19:29:03 +02:00
Barry vd. Heuvel
bfe955ce1f
Add laracasts link
2014-06-25 19:25:35 +02:00
Barry vd. Heuvel
50e760bac1
Merge pull request #85 from ismailbaskin/master
...
Allowing to this package installed by rtablada/package-installer
2014-06-06 08:56:41 +02:00
Ismail BASKIN
e882cdf84d
Allowing to this package installed by rtablada/package-installer
2014-06-05 20:19:22 +03:00
Barry vd. Heuvel
c1286d5a9e
Skip traits
...
See #83
2014-06-05 09:44:37 +02:00
Barry vd. Heuvel
b92d24429d
Enable
...
Might be useful after all ;)
2014-05-20 10:41:24 +02:00
Barry vd. Heuvel
f77f5ae770
Disable where field
...
Maybe make it optional? Feels kind of bloated..
v1.9.2
2014-04-25 13:47:00 +02:00
Barry vd. Heuvel
82ffa52d79
Merge pull request #77 from ukautz/feature-polymorphic
...
Added property methods for polymorphic relations
2014-04-22 14:29:06 +02:00
Ulrich Kautz
d8ed55be7a
Added property methods for polymorphic relations
2014-04-22 14:25:44 +02:00
Barry vd. Heuvel
16f77638f1
Move helpers to root
...
To get them in the namespace.
v1.9.1
2014-03-20 16:20:31 +01:00
Barry vd. Heuvel
348ecb361c
Fix helper files.
...
Fixes #72
2014-03-20 16:15:55 +01:00
Barry vd. Heuvel
df8852e8dd
Use FQN for extending/root
...
Otherwise it doesn't work in namespaces.
v1.9.0
2014-03-18 14:22:52 +01:00
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