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
d9516325f0
Add magic methods
...
Adds the magic calls to Log::error() etc. Perhaps more to come.
Fixes #27
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
e9cbd7e732
Allow 4.1 (and future version)
2013-07-04 14:30:33 +02:00
Barry vd. Heuvel
ac6740f59f
Change aliasing way back
...
Not really nice in NetBeans.
Also reference the calling class and show the implementing class in
comments (phpStorm will understand it anyways)
2013-07-04 14:26:17 +02:00
Barry vd. Heuvel
60ec740b15
Update CodeIntel link
2013-07-02 22:22:56 +02:00
Barry vd. Heuvel
aedd2ee127
Get classes from managers
2013-07-02 22:13:47 +02:00
Barry vd. Heuvel
007a96ef3f
Update way of creating aliases
...
Again.. Sublime didn't really understand it. Passing null as parameters
to avoid errors.
2013-07-02 21:10:55 +02:00
Barry vd. Heuvel
63b1026fc3
Update phpDocs
2013-06-28 14:29:11 +02:00
Barry vd. Heuvel
d042c6ea8e
Only scan public methods
...
__call magic kicks in if the function is protected.
2013-06-28 13:24:24 +02:00
Barry vd. Heuvel
ae0dce2abd
Remove static overrides, because Laravel fixed this.
2013-06-28 13:22:28 +02:00
Barry vd. Heuvel
7f17da57b2
Update readme
2013-06-24 14:51:08 +02:00
Barry vd. Heuvel
0f22941e51
Update readme
2013-06-24 14:48:16 +02:00
Barry vd. Heuvel
f7f0e025f3
Add reset option for Model command
2013-06-24 14:48:10 +02:00
Barry vd. Heuvel
4790413752
Add poser badges
2013-06-23 14:11:13 +02:00
Barry vd. Heuvel
4f31e98467
Remove non-static
2013-06-22 13:07:27 +02:00
Barry vd. Heuvel
17ae13ce56
Update default text
2013-06-22 12:59:33 +02:00
Barry vd. Heuvel
fedae6542b
Change die (no more namespace)
2013-06-22 12:58:23 +02:00
Barry vd. Heuvel
e8b1c367d0
Remove namespaces
...
As they aren't used.
If anyone does use them, let me know!
2013-06-22 12:56:00 +02:00
Barry vd. Heuvel
66feb564e1
Refactor
2013-06-22 12:54:45 +02:00
Barry vd. Heuvel
15bf867658
Extend instead of redefining functions
...
For methods that are not a facade (like Eloquent/Controller), avoids
duplicate code and better autocomplete (also variables etc).
No more need for extra config settings, only the magic calls still.
2013-06-21 11:01:13 +02:00
Barry vd. Heuvel
c4de6e80c9
Remove nohelpers option
2013-06-18 15:45:10 +02:00
Barry vd. Heuvel
6f03c4c5ff
Move some logic to ReflectionDocblock
2013-06-09 14:17:24 +02:00
Barry vd. Heuvel
8db4443879
Use fork of ReflectionDocblock
...
So I can use a stable version.. Fixes #21
2013-06-08 13:02:28 +02:00
Barry vd. Heuvel
1d01f5b278
Update Eloquent Builder
2013-06-07 12:26:54 +02:00
Barry vd. Heuvel
2466f5a5a4
Update readme
2013-06-07 11:33:12 +02:00
Barry vd. Heuvel
bbbdd02708
Refactor and add comments
2013-06-07 11:26:57 +02:00
Barry vd. Heuvel
d8a6bfbf21
Update readme
2013-06-06 15:13:02 +02:00
Barry vd. Heuvel
ce4e9804ef
Use full namespace
2013-06-06 13:48:53 +02:00
Barry vd. Heuvel
12845b38f0
Use declaring class
...
When function is inherited, link to the original class.
2013-06-06 13:45:32 +02:00
Barry vd. Heuvel
0b3b8b95cd
Merge sublime and netbeans/phpstorm
...
Gives some warnings for phpStorm, but only in the helper file, so
doesn't affect the autocomplete / warnings in application code.
2013-06-06 13:45:05 +02:00
Barry vd. Heuvel
2ee05260d5
Simplify sublime output
2013-06-06 13:19:15 +02:00
Barry vd. Heuvel
ec302acc3f
Make __construct return @self
2013-06-05 17:45:24 +02:00
Barry vd. Heuvel
e0b47835f4
roll back static for relations
2013-06-04 15:36:39 +02:00
Barry vd. Heuvel
a0f6a370e1
Tweak return values
2013-06-04 15:34:56 +02:00
Barry vd. Heuvel
77c8bfa05a
Fix default model path
2013-06-04 14:46:18 +02:00
Barry vd. Heuvel
62deba4171
Make builder work for relations
...
Fixes #22
2013-06-04 14:12:47 +02:00
Barry vd. Heuvel
32918908fc
Add delete to non-static methods
2013-06-04 14:12:23 +02:00
Barry vd. Heuvel
cca1b5896e
Only allow relative path
2013-05-30 21:26:02 +02:00
Barry vd. Heuvel
3afc4a3ade
Add dir option and fix namespace for models
2013-05-30 21:22:00 +02:00
Barry vd. Heuvel
a4ab0a5969
Allow writing directly to models
2013-05-30 12:45:26 +02:00
Barry vd. Heuvel
b0b324b8cc
Use reflection and reflectiondocblock
...
Load the original docblock and append the changes. This way, you can
just copy the new comments in whole (next step, replace in file..)
2013-05-30 11:54:45 +02:00
Barry vd. Heuvel
dab594804b
Map enum to string
...
Fixes #19
2013-05-30 10:15:56 +02:00
Barry vd. Heuvel
a5c16b0751
update readme
2013-05-29 10:28:23 +02:00
Barry vd. Heuvel
16b3b872a3
Update license (MIT)
...
To source/readme
2013-05-29 10:24:30 +02:00
Barry vd. Heuvel
507775fda6
Update version in readme
2013-05-28 20:48:07 +02:00
Barry vd. Heuvel
83ab04be40
Update composer
2013-05-28 17:00:09 +02:00
Barry vd. Heuvel
8e0eace591
Specify version for new beta2
2013-05-27 22:22:23 +02:00
Barry vd. Heuvel
9dbcaa15b1
More fixes
2013-05-27 21:23:52 +02:00
Barry vd. Heuvel
edf418f9ac
Refactor variables and better namespace support
2013-05-27 21:02:46 +02:00
Barry vd. Heuvel
eb3c3a7fe3
Add namespace DocBlock context
...
So they can be expanded correctly
2013-05-27 20:45:04 +02:00
Barry vd. Heuvel
fde71b0ee8
Use DocBlock Serializer
...
Instead of doing it here.
2013-05-26 23:10:09 +02:00
Barry vd. Heuvel
427295f993
Set phpdocumentor version
2013-05-23 21:49:37 +02:00
Barry vd. Heuvel
22dfb9fdb4
Get {@inheritdoc} from parent/interface
...
Better fix for #17
Should find the actual description and add the parameters to the helper
class.
2013-05-23 21:26:13 +02:00
Barry vd. Heuvel
0cc7f98516
Refactor and use phpDocumentor
...
Use the standard reflection methods for getting the methods, and use the
Reflection Docblock library from phpDocumentor (which seems more active
and more used)
2013-05-22 00:08:22 +02:00
Barry vd. Heuvel
e20412534c
Don't default return type to void
...
Should fix #17
2013-05-21 18:40:07 +02:00
Barry vd. Heuvel
12db549bd8
Add scope methods
...
Fixes #12
2013-05-20 22:49:21 +02:00
Barry vd. Heuvel
73aaf16127
Fix alignment
2013-05-09 23:07:55 +02:00
Barry vd. Heuvel
4e6458cb34
Absolute namespace in properties
...
Again for #9 ;)
2013-05-09 23:01:43 +02:00
Barry vd. Heuvel
11ac602667
Fix namespaces for Models
...
Also described in #9
2013-05-09 22:42:05 +02:00
Barry vd. Heuvel
37d146cd6d
Make non-static instead of skipping
...
So the parent functions are still accessible, without errors.
2013-05-09 22:09:29 +02:00
Barry vd. Heuvel
8f775f3a72
Fix sublime root
...
Fixed the new roots for Sublime.
2013-05-09 21:34:00 +02:00
Barry vd. Heuvel
101cf480b1
Refactor
...
Allow to include multiple classes instead of extending, so it is easier
to maintain.
Also added option to skip methods that don't belong in the facade helper
(fixes #9 )
2013-05-09 21:30:13 +02:00
Barry vd. Heuvel
b9a58e9d08
Determine relation type
...
Using reflection and parsing the sourcecode.
2013-05-07 10:34:29 +02:00
Barry vd. Heuvel
9d73371349
Extend Manager class for Auth and Cache
...
Probably not the best solution, but will do for now. Fixes #8
2013-05-07 10:05:34 +02:00
Barry vd. Heuvel
295b2adefa
Work on static references
...
Reference the child class (your actual model), instead of the base
model, using static (same behaviour as $this).
2013-05-03 11:32:41 +02:00
Barry vd. Heuvel
47f60456f4
Change return values
...
Use Carbon by default, and allow Eloquent array (but should be changed
to the real models)
2013-05-03 11:31:56 +02:00
Barry vd. Heuvel
9410f00cb5
Use return $this for some Eloquent
...
So autocomplete uses the real model, not just the base Model. (Doesn't
seem to work on Sublime)
2013-04-29 16:21:57 +02:00
Barry vd. Heuvel
e47f15c9fa
Hide onlyExtend for sublime
...
Since the way Sublime files are created has changed, this is not needed
anymore.
2013-04-29 13:19:25 +02:00
Barry vd. Heuvel
ceb47125f3
Update readme
2013-04-29 13:12:49 +02:00
Barry vd. Heuvel
3207a2f2cf
Use Symfony classloader
...
Instead of copying it. (Same as the Composer autoloader)
2013-04-29 10:27:27 +02:00
Barry vd. Heuvel
6aa1225f32
Change default filename
...
Just lowercase
2013-04-29 10:17:58 +02:00
Barry vd. Heuvel
7160a37e49
Work on Model Docs
...
Use classmapper from composer and add some checks to make sure the class
exist.
Also, tweak argument/options and filename.
2013-04-29 10:16:33 +02:00
Barry vd. Heuvel
1d26dfe58c
Add initial version for model docs
2013-04-27 22:12:35 +02:00
Barry vd. Heuvel
bde0f47db5
Add message about CodeIntel
2013-04-27 20:35:18 +02:00
Barry vd. Heuvel
8c8a92a8c7
Add author information
2013-04-27 20:29:21 +02:00
Barry vd. Heuvel
843fbc04c4
Extend eloquent from Query Builder
...
Fixes #6
Eloquent doesn't have the where() methods, and other query methods, but
resolves them with __call(). Extending the Builder class seems the most
appropriate solution.
2013-04-27 20:17:29 +02:00
Barry vd. Heuvel
e1dac36be8
Change Sublime behaviour
...
More similar to the phpStorm approach
2013-04-27 20:05:44 +02:00
Barry
3d2934b62d
small tweak
2013-04-09 13:27:26 +02:00
Barry
19be4666d1
Typo
2013-04-09 12:56:10 +02:00
Barry
80ec70ae9a
Use Aliasloader instead of config
...
Use the AliasLoader from Laravel.
2013-04-09 12:55:58 +02:00
Barry
78af37be9a
Tweak behavior for some classes
...
Just extend the Seeder class, because it isn't called static (Fixes
Issue #3 )
2013-04-07 19:14:08 +02:00
Barry
c9ae3c8f70
Actually replace $root from config replaces
...
Fixes Issue #2
2013-04-03 12:59:16 +02:00
Barry
063e59895c
Extend the facade class
...
Fixes Issue #1
Only extended when it is not the same as the root class (because of
overriding static methods)
2013-04-01 19:15:48 +02:00
Barry
ec18f19777
Replace facades instead of aliases
...
More logical, because aliases are auto-detected. This way, the original
facade is also kept.
2013-04-01 19:03:57 +02:00
Barry
4b8597aa75
Use full namespaces
...
More inline with the rest of the phpdocs (and correct when in namespace)
2013-03-29 14:39:05 +01:00
Barry
14813b77b1
Catch errors, use default database driver
...
Catch errors from not working PDO connections etc.
Added the memory driver as option.
2013-03-26 10:20:39 +01:00
Barry
5ccb7ce9bc
Update Cache Facade
2013-03-24 16:00:29 +01:00
Barry
9a079e236d
Check if class/interface exists
...
Display error, but continue if not.
2013-03-24 15:59:41 +01:00
Barry
51a40659d6
Add sublime option to the config file
2013-03-23 15:32:15 +01:00
Barry
b15e19a301
Fix links
2013-03-23 15:11:25 +01:00
Barry
bcde5334ba
Seperated generated file from package. Added --sublime option
...
This way the package will be updated less, and you don't have double IDE
helpers (in you vendor dir, and the generated version).
Also added a Sublimetext version, with different way of calling the root
class.
2013-03-23 15:07:57 +01:00
Barry
beed27073a
Fix IDE errors
...
Ahead of the master, but should be in sync when taylor merges the phpdoc
fixes.
2013-03-22 10:44:53 +01:00
Barry
3d6af79bf7
Small tweaks
2013-03-21 12:41:39 +01:00