-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f64f346
commit 5b86cc9
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Laravel 5 Snippets for Sublime Text | ||
https://github.com/Lykegenes/laravel-5-snippets | ||
|
||
|
||
Version 1.3.0 | ||
******************************************************************************** | ||
|
||
#### ANNOUNCEMENT | ||
|
||
This release focuses on supporting new features introduced with Laravel 5.5, | ||
but also a few that were missing since 5.4 earlier this year. | ||
|
||
I do not personally use all of these snippets on a day-to-day basis, so if you notice | ||
any bugs, or feel like some snippets could be improved, please open an issue on Github! | ||
|
||
https://github.com/Lykegenes/laravel-5-snippets | ||
|
||
|
||
#### NEW SNIPPETS | ||
|
||
- Auth : id(), login(), loginUsingId, once() | ||
- Command : argument() | ||
- Helpers-misc : abort_if(), abort_unless(), app(), resolve(), config(), and many more! | ||
|
||
|
||
### Facades Vs. Helpers | ||
|
||
One of the most notable changes for this package in this version is the addition of new helper methods | ||
that duplicate the functionnality of existing snippets. | ||
For example, to retrieve a configuration value, you have two options : | ||
1. The "old" way, `Config::get`, which will insert the facade: `Config::get('key', 'default')` | ||
2. The "new" way, `Helper::misc-config`, which will insert the helper: `config('key', 'default')` | ||
|
||
|
||
Happy coding! | ||
|
||
Improvements or suggestions? Contribute on GitHub! | ||
https://github.com/Lykegenes/laravel-5-snippets |