-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Proposal] De-couple mail component a bit more #5032
[Proposal] De-couple mail component a bit more #5032
Conversation
My opinion: I think this is a cool idea, but worry about the use of laravel components "out of the box" is a bit tricky (Maybe is not the Goal of the project). Anyway, you do a nice job! Congrats. |
Initial thought is instead of a WriterInterface just use the PSR Logging interface. |
@KennedyTedesco my opinion is that if you can de-couple more you should. This way we allow developers to easily use each component individually if they want to without having to require to use the entire framework. @taylorotwell done, I've rebased my commits. It's true, that makes more sense. |
} | ||
|
||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Files should end in a single new line character.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🍻
I've removed the config repository from the Transport class as well. This way people don't need to use the Laravel config component to use the Transport class. Just pass in the array of config options. The support package is required anyway so we can use the |
While in theory this doesn't introduce any breaking BC for out of the box user, will there be issue if for example someone override MailServiceProvider to introduce other 3rd party transport? Amazon SESs for example? |
@crynobone yes of course, they'll have to extend the Transport class and override the Perhaps it's best that this should be kept to the master branch then for the 4.3 release. |
Nice work. Is there any change you could send the other fixes you made here to 4.2 (like the constructor docblock fixes)? |
@driesvints Yes, you're right. Looks realy good. |
Also would be nice if we can have a service location for |
Or convert |
@GrahamCampbell I'll send in the docblock fixes and namespace imports as a separate PR to 4.2. @crynobone I've included the MacroableTrait in the Transport class. Let me know if I can improve this. It's the first time I've used it. I didn't opt for the Manager class because that would make the Transport class too tightly coupled to Laravel, something I really want to avoid if we want to give people the opportunity to utilise the component outside Laravel. It's still easy to extend it imo. |
*/ | ||
public function register($driver, $logger = null) | ||
{ | ||
switch ($driver) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need at least before using switch
.
if (static::hasMacro($driver)) {
return call_user_func(static::$macros[$driver], array_get($this->config, 'mail'));
}
After consulting with @crynobone I've refactored the Transport class to extend the Manager class. This again tightly couples the mail component to Laravel but perhaps we should look at refactoring the Manager class to a trait like crynobone suggested to me. This will more easily allow us to use classes like the transport class outside of Laravel. |
We could also consider providing a capsule manager for this, where the "config" service location will utilize |
I don't think extending the manager is that bad, since we require |
👍 For using a manager class. I think I requested that a long time ago. |
Technically it should still need |
We're contemplating on refactoring the Manager class to make the classes which it extends easier to use outside Laravel. Edit: Crynobone beat me to it :) |
But anyway, for now this PR is as good as finished so @taylorotwell you can review this if you want. |
@driesvints Did you ever make that other pull with the non-related fixes? I see you've made the fixes on a branch, but have not actually made a pull. |
@GrahamCampbell not yet, I have some other stuff on my list that I want to fix and send along. Will do that once I find time for it. |
I've sent quite a few related fixes in pulls recently, I don't know if that takes anything off your list. |
…he requirement to produce new CapsuleManager for other component in the future (e.g: laravel#5032) Signed-off-by: crynobone <[email protected]>
…he requirement to produce new CapsuleManager for other component in the future (e.g: laravel#5032) Also remove duplicate "require-dev" component (when already explicitly declare in "require"). Signed-off-by: crynobone <[email protected]>
…he requirement to produce new CapsuleManager for other component in the future (e.g: laravel#5032) Also remove duplicate "require-dev" component (when already explicitly declare in "require"). Signed-off-by: crynobone <[email protected]>
This looks pretty good. Will try to merge soon. 😄 |
Rebased :) |
Just FYI, I've removed the |
I don't think we should totally based on code on Scrutinizer report, as it seem to be Scrutinizer limitation (same when we use |
Recent changes to the master branch mean rebasing is required yet again. :( |
Done. Well, it seems the PSR logger interface got implemented in another commit. This PR now mostly contains the TransportManager class. |
This way we can allow developers to use their own logging classes and provide an easy way for them to use them with the mail component.
By moving this functionality outside of the service provider and into a class that extends the Manager class, we offer an easier way to user to register their own mail drivers.
…he requirement to produce new CapsuleManager for other component in the future (e.g: laravel/framework#5032) Also remove duplicate "require-dev" component (when already explicitly declare in "require"). Signed-off-by: crynobone <[email protected]>
…he requirement to produce new CapsuleManager for other component in the future (e.g: laravel/framework#5032) Also remove duplicate "require-dev" component (when already explicitly declare in "require"). Signed-off-by: crynobone <[email protected]>
…he requirement to produce new CapsuleManager for other component in the future (e.g: laravel/framework#5032) Also remove duplicate "require-dev" component (when already explicitly declare in "require"). Signed-off-by: crynobone <[email protected]>
…he requirement to produce new CapsuleManager for other component in the future (e.g: laravel/framework#5032) Also remove duplicate "require-dev" component (when already explicitly declare in "require"). Signed-off-by: crynobone <[email protected]>
…he requirement to produce new CapsuleManager for other component in the future (e.g: laravel/framework#5032) Also remove duplicate "require-dev" component (when already explicitly declare in "require"). Signed-off-by: crynobone <[email protected]>
…he requirement to produce new CapsuleManager for other component in the future (e.g: laravel/framework#5032) Also remove duplicate "require-dev" component (when already explicitly declare in "require"). Signed-off-by: crynobone <[email protected]>
e140437 Avoid using getArrayableItems a610e57 Have Collection@map preserve keys 0fb76d5 Merge pull request #8780 from JosephSilber/transform-key-preserve 9757942 Rename lists to pluck. Keeping an alias for BC 3373ee5 Add keys to transfrom aa9c514 Revert "[5.1] Add keys to transform" d94a509 Merge pull request #8762 from JosephSilber/collection-sort-scalars de259fd Allow a collection of scalars to be easily sorted 7d2dfbd Merge pull request #8763 from JosephSilber/collection-sortby-new ba2b3bb Merge pull request #8766 from JosephSilber/take-required 6fec9a6 Make the limit mandatory 9725368 Add keys to transform fcd04da Don't pass 0 length to splice 8fd0865 Return a new instance from sortBy and sortByDesc 72493a6 Return a new collection from sort 35fd1f4 Return a new collection from shuffle fc3a8b9 Merge pull request #8752 from JosephSilber/collection-prepend c57ce76 Merge pull request #8756 from lucasmichot/fix/phpstorm-typo-warning e4b4522 Tweak Collection@random 422946f Get rid of PHPStorm warning 6687d15 Make collection more fluent 0b9da60 Merge pull request #8602 from btpoe/master 0ce3826 Use self and static a0d8e91 Remove duplicate linebreks 157341e Remove unused use 89ce147 Improve Str::limit() 9f9eadc Updated symfony suggest 9a1dc43 Merge remote-tracking branch 'origin/5.0' 5bb17da Added missing suggest e31c686 Use php 7 random_bytes if available 0aeb971 Added exit status 1 to helper function dd d450dba Working on test application trait. 7b63f29 added preserveKeys to Collection groupBy method f462b4b Merge branch '5.0' aa05cf6 Merge pull request #8543 from phanan/faster_array_except 015aab3 Removed redundant foreach in Arr::except() 1fd286c Merge pull request #8512 from JosephSilber/pluck-data-get-array f2f1a01 Merge pull request #8498 from slavo2/master 06343a3 Merge pull request #8528 from JosephSilber/lists-collection d756fe7 Return a collection from lists() 8dccca5 fix merge conflicts. 67a9fed Allows arrays to be passed to array_pluck and data_get dcc3610 Update ServiceProvider.php d7a88f9 Bugfix for Support: ServiceProvider - method publish() - merging tagged (marked with group) paths with already registered ones - method pathsToPublish() - added support for selecting by both provider and group e75754d Return false to break out of the loop 736f8ce Allow collection@unique to be passed a key cb01414 Merge pull request #8411 from JosephSilber/collection-callable 93e54b2 Merge pull request #8254 from JosephSilber/collection-search-callback 864ce65 Add zip function to Collection 135d037 Allow collection@search to be passed a callable b19bf76 Call useAsCallable from valueRetriever 1e80d40 Extract the collection's collapse method into an array_collapse helper e7ffd6a fix conflicts. 0d6b6bc Remove assigment d8a8c06 Variables set only if and when necessary 52ec83d Ensure return is on a new line 2ccb6fd Use the slice method c51cb02 change be4f46e Fix broken PR. 6c5b585 fix conflicts. 79cf66b Ensure array_except handles dotted keys 2eceb66 Spacing. 0035aca Merge pull request #7892 from aimeos/5.0 ec3da1e Merge pull request #7998 from martiros/trans-make-replacement 28ea181 Merge branch '5.0' 852ee98 Normalize all the line endings e2110f3 fix conflicts. e063331 Grammar fix 28f9f06 Fixed some phpdoc short descriptions e766423 CS fixes 6c44173 Fixed wrong routes with optional parameters 6723b37 Fix conflicts. 4a36bcd Use useAsCallable instead of is_callable e956eb0 Fix bug in Translator::sortReplacements function. d20c34e Merge branch '5.0' ee4d1c6 Add some more infos in composer.json files e8cd8d2 fix conflicts. 291e581 Phpdoc fixes 73142bc fix conflicts. f2d4b4b correct Response's underlying class in comment 982484a fix conflicts. 86f0632 Remove useless brackets 0d9a6a6 fix conflicts. 1a55cf5 Process closures properly in Eloquent Collection::contains() ab12c8c Merge branch '5.0' 70881a9 fix conflicts. 4f47013 Merge pull request #7290 from JosephSilber/implode-primitives 792cba6 Small optimization 9f73179 Merge branch '5.0' c42a8db Add callable support to helpers and collection 1202de9 Fix constant. 9627b4a fix conflicts. 1730d78 Update the Passwords Facade Constants fa04c1b Return nested collection from groupBy 32e7360 Changed @var type hint in Facade class 8009f97 Allow primitive collections to be imploded 223a0ac Merge branch '5.0' 7b8eaf3 Another CSS fix for "dd()" 1e55c1d Merge branch '5.0' ad9c141 Key by Closure. abadf8e Merge pull request #7110 from lucasmichot/5.0-collection-keyby-closure 57d43da Return empty array when provider/group doesn't match 172f8eb Update versions for 5.1 a85c520 Merge pull request #7166 from JosephSilber/collect-helper 42bcb0b Allow publish groups to be tagged for more specific publishing. 5ab7984 Move collect helper from foundation to support 1e67586 fix conflicts. 5d0af77 Merge branch 'master' of github.com:laravel/framework ab2eeb7 commit loose f3e6375 Merge pull request #7170 from JosephSilber/remove-config-merge ca210dd allow specific service providers to be published. add force command to overwrite. 10d12a0 Allows collection to be keyed by a closure eeec8bc Remove unnecessary config_merge helper 2d39e80 Swap arguments of resource loading methods. 1317411 CS fixes 57c5695 Updated classpreloader and superclosure 190fa2a Use array_merge instead of config_merge ab74584 cleaning up a few thigns. a617887 Use config_merge instead of array_merge e359422 Add loadConfigFrom SP helper 6884e10 Storage reads better in majority of cases. 5523ae5 Add disk facade. b93acc9 fixing conflicts. 310cf8c Merge pull request #7124 from GrahamForks/5.0-composer 4c1cd4a long string support fix in dd() 8749c95 Massive improvements to composer files b99d43f Write a simple publisher. b9a8046 Fix Str caching. 65a0d61 Bus facade. 6143617 pushOn and laterOn. 9232cd5 Made the patchwork/utf8 version constraint more permissive eb3dc1e Add some package helpers to service provider. 14900bf Return new collection on values. d281a72 Make Collection::keys() return an instance of Collection 14f6781 [5.0] DRYs up some methods of Paginator and Collection 50f89d7 Require ext-mbstring 33c852c Migrate to stringy 415158b Merge pull request #6762 from GrahamForks/5.0-inflector 56bba20 fix conflicts and tests. c76a7a8 Move env() to Foundation helper efe0ccd Use array_sum instead of default callback 259c0fc Collection::sum() just sums values with no parameter 5db9c3b Rename MacroableTrait to Macroable 69f42ed Removed yoda comparison a1b1728 Use doctrine inflector 1f76750 Merge pull request #6795 from overtrue/master 57abcd8 strictly check for false 17a8af7 Bind closures when using macros to allow access to $this and static. bfe6dda env() support default value. 1a9e224 Merge pull request #6701 from james2037/patch-collection-lists a1061a0 working on formatting. 22cc315 Graham fixes. aa08f55 Implement styled dumper based on Symfony dumper. 48232e3 Use var-dumper in dd. 3e0ab76 Check FQN 1556ee4 fix conflicts. 3cc465c Remove useless check on $glue argument d2245e6 fix conflicts. e4ce3ee Revert "[4.2] Allows Arr::only To Handle Dotted Keys" 7561847 fix conflicts. 27cccef Add a cache of snake, camel, and studly cased words. 7ef6ba1 Adding __isset to TestAccessorEloquentTestStub and using data_get in Arr::pluck f713cd0 Merging. 1ab43f0 Fixed some docblocks 34dd498 Merge branch '4.2' 43a7306 Merge pull request #6151 from websanova/4.2 af54f93 Merge branch '4.2' 31a4afe Merge pull request #6085 from khayyam90/4.2 9cb691b Merge pull request #6097 from barryvdh/patch-4 26d3ad2 Merge pull request #6100 from panlatent/master 39ea2d7 Merge branch '4.2' c2414a1 Merge pull request #6075 from egeriis/4.2 1665ceb Fix casing and conflicts. 8dce5d1 Fix casing. 7d22df0 Merge branch '4.2' 439fdec Merge pull request #5765 from lucasmichot/4.2-support-helpers-array-has d12ea11 Merge branch '4.2' 4dc504c Merge pull request #5746 from lucasmichot/4.2-array-only-dotted 22378fb Merge branch '4.2' 94d3c8d Merge pull request #6571 from JosephSilber/data-get-array-access 67b5e76 Fixing a few formatting things. 8645809 Merge pull request #6667 from antonioribeiro/envCaseInsensitive 8bc73b0 Return instead of break 859efc5 Merge pull request #6566 from GrahamCampbell/5.0-support 2c03a97 Make it case insensitive fd02ec6 Merge pull request #6654 from pespantelis/master 89e84a8 Change method order. 0d632d9 Add env() helper function 271d917 Added str_slug helper function. df48cad CS fixes 515bfa5 Moved patchwork/utf8 to require 267a9ee Ensure we can fetch an array with non existing keys 10c801a useless previous instanciation of $dotted variable 393cb68 Allows array_only to handle dotted keys c7cc5ae Working on re-doing package handling. d209323 Add ArrayAccess support to data_get 014b898 Add $key $value support to contains and where methods 3588332 Merge pull request #6087 from GrahamCampbell/5.0-random 82eedfa Merge branch '4.2' e0d6682 Reset indentation and sort words 1dbc4bb Revert "Added two uncountable words to the Pluralizer class." 48d355b Added two uncountable words to the Pluralizer class. d00cf08 CS fix f75d102 Made openssl required for secure random generation 8850963 Fix docblocks bd4b1ef general code cleanup c4ec3a5 Merge pull request #6239 from brightmachine/view-error-message-bag-contract 4b27847 Add required description to all composer.json files ef55c6a Use contract for MessageBag a49fa4d Merge pull request #6227 from lucasmichot/5.0-return-null 5b77223 Standardize return null; 2b2e1b9 CS fixes da0e897 Change artisan facade accessor. c864d9e [5.0] Reintroduce ServiceProvider::when(), which allow registering/loading service provider only when events is fired. 0e4609d Huge refactor of HTTP stack. 1bcfe5f Corrected Function Comment 1777e92 Updated to be able to access all bags. 5744780 Improved The Str::snake Function #6100 d25343e Fixed authentication reminders/passwords 5541ab5 Fix a Str::snake Function a120658 Remove % from filenameFallback in Response::download 6c886ef Bugfix for long random strings and more randomness acf94ed Fix a bug which caused irregular plural words to have an S appended when passed to Pluralizer::plural f9d970b Compiling more things. Smarter configuration merging. decc387 First pass at simpler Eloquent pagination. 55068b2 Add a paginate function to collection to assist in slicing arrays. 1ee1623 normalizing line ending apparently. bafbec1 fix conflicts. 735d5f3 Merge pull request #5850 from lucasmichot/4.2-suppor-facade-jsonp b470de3 Merge pull request #5851 from GrahamCampbell/4.2-dependencies 9183e8c Made dependencies stricter f39f659 Add JSONP function to reponse facade 03c44a0 Merge pull request #5792 from GrahamCampbell/cs 9d2594a DRY up response facade. f0b310c Added missing new lines at eof 28b0e4b Remaining useless else 6be845a merging and fixing conflicts. 7bfe213 Merge pull request #5779 from lucasmichot/4.2-useless-else 43bc60a Global formatting fix 4ba04ac Remove useless else...return 67b849e Define contract for message bag. 6f0577b Add array_has function b5266ac Merging. 12af7be Fixed the *ix plural regular expression replacing the pattern in the middle of a word db1f466 Merge pull request #5727 from franzliedke/patch-3 434dd52 use only one condition in words bcd4f2a $replace does not need to be set that early 97d4451 Remove unused loop variable. 989a7bc Merge branch '4.2' 16456bb Merge pull request #4886 from JosephSilber/reject-use-filter f2e29ba Merge branch '4.2' b6d749a Cleaning up code. 425b097 Merge pull request #5061 from KennedyTedesco/4.2-groupBy baef85e Merge pull request #5712 from EloProf/master f77e276 Add keys method to MessageBag. 6dd2bb7 Prevent array_forget() from mixing up references 7309488 [5.0] Bump the master to 5.0 04df65a Fixed the *ix plural regular expression replacing the pattern in the middle of a word b65c645 Merge branch '4.2' afe24c4 [4.2] Collection - DDRYs up the code a little more 8f830fe Fix conflicts. 3935dfe Merge pull request #5079 from GrahamCampbell/4.2-names 745ffba Fixing conflicts. Cleaning up CapsuleManagerTrait dependency. 66b3ffd Cleaning up a few things. Merging. 1cd8329 Fixed incorrect path to package views. 2be4c3d Merge pull request #5485 from crynobone/feature/split-helpers 3cf3585 Rename some interfaces for consistency. 6a4eb8b Merge branch '4.2' bef0272 Merge pull request #5331 from lucasmichot/4.2-support-serializableclosure 0182da0 Avoid using fully qualified names within the code b9a7c74 Merge branch '4.2' 772ace8 Merge pull request #5449 from crynobone/patch/revert-fluent 7afe24a Merge pull request #5462 from JosephSilber/collapse-nested-collection 544fc21 Add missing space 9754ec1 Change a doc block. bd715cd Clean up collection constructor. efd68f6 add space ba00d18 Let Collection constructor handles arrayableinterface and collection 5cc9240 Added eof new lines b24bbac Work on aggregate service providers. 032124f Make boot method more free form. ac529ba Implement contracts for many major components of the framework. 9f24181 Split Laravel related helpers into separate file, replace #3819 7445db0 Merge branch '4.2' 6149a40 Merge pull request #5470 from RyanNielson/patch-1 1a740c8 Working on auth generation. 31ba1e2 Working on reminder controller stub. 75fe1f4 Information function. 94a189d Make the HTML component opt-in. b9c420a Set container on controller. dcf952c Add the class loader to support for backwards compat. 28c9521 fine, a one liner then. fea3ed9 Change syntax of empty check in Collection->random() 9c6cfa1 Working on some new structure things. 05d5c29 Fix an error in Collection->random() d81800c Update route helper to match URL::route 07a3c43 Add support for nested collections when using collapse 08e0ea4 Completely revert "remove useless contructor" changes on Illuminate\Support\Fluent where it doesn't respect object that implements IteratorAggregate and ArrayIterator. c139ffb Merging. conflicts. fba2640 [Bugfix] Illuminate\Support\Fluent should allow to use stdClass/object instead of just array. 59dcbff Fix a few formatting issues. 56b4632 Add method hasBag to ViewErrorBag 8379296 Use FQN in phpdocs cf02b04 Replace 'dynamic' keyword with 'mixed' 1bf9666 Merge pull request #5330 from lucasmichot/4.2-support-namespaceditemresolver ef743be Useless foreach constructor 9c3f80c Move segments processing 6fe2f4f Merge branch '4.2' f59c7e0 Adding a few more simple helpers. cd9323b Fix Str::endsWith() with needles that start with space and numbers. 46e11c4 Merge branch '4.2' d65bbe1 Replace more static return types 10def6d Update phpdocs for better chaining 691071d Working on framework structure. 2e803f9 Rename to RoutDependencyResolverTrait. d6eda85 Working on dependency injection. a31da9a Working on resolver trait. 5a148b6 Missing docblock param 171898d Loosened patchwork utf8 version feebfd4 Fix conflicts. b658e4c Simplify ClassLoader 206adab Move common method for a CapsuleManager to trait, this would reduce the requirement to produce new CapsuleManager for other component in the future (e.g: laravel/framework#5032) 887148b Merge pull request #5181 from GrahamCampbell/4.2-helpers 3b36714 Fixed the function definition to match the docblock 8d389be Merge branch '4.2' 56272d8 update copied-in docblock to make more sense 25edfb3 Added method visibility to the array class 1e2d761 Array fixes c2843fd Merge. dcf2931 Add default function. 08830ec Move array_* helpers function to Arr class 6d4a265 Fixed various docblocks 02f2508 [4.2] Fix groupBy() bug 94b31c0 Fixed support docblocks 7016f8d Remove object_fetch 773e3cc Added an object fetch method. 94fc128 Fix method order. 0770a6c Merge pull request #5016 from ephraimb/4.2 07152c3 Added some typehints and minor docblock fixes 3ef1f2e Remove unneeded calls to with 1452387 Added shuffle() method to Collection 36d2c32 Fix conflicts. Merge. 30865b8 Fix order of methods. 017a689 Add contains method to base collection af05ed1 Fixed collection docblocks 2fb309a Use negated filter for reject 6dcf3ca Cleaning up code. Fixing stuff. Tests. 5bcaf13 A fix for #4498 and #4684. Eloquent model now boots all used traits, not only those declared in current class only. b907feb Fix return type. 782649f Merge pull request #4723 from lucasmichot/array-forget-many 0bc2a0d Add keyBy method to Collection 7cc1764 Typo in Collection doc 357283e Enable array_forget to unset one or many keys 1b2339a Merge branch '4.2' 55eddc0 Work on comment. 9f85a80 Merge pull request #4615 from lucasmichot/4.2-flip 6500079 Merge branch '4.2' 82f6905 Move method. 8783788 Fix punctuation. 34df7d9 Added abstract method getDefaultDriver() d25fa81 Merge pull request #4635 from lucasmichot/4.2-string-helper a287890 Let keys() function returns the keys of the Collection items a316bd8 Change code alignment for str_limit function e03f8f1 Add use ...\Str to helpers.php 04ca6f4 [4.2] Add flip to Collection 8ba416d Merge pull request #4520 from GrahamCampbell/4.3-autoloading ed5026d Merge branch '4.2' fff2f85 Added reject method to collection. 11149d2 Forward thinking for composer 39cc85d Merge branch '4.2' cd365a9 Merge branch '4.1' into 4.2 2fb4a2d Merge pull request #4061 from JosephSilber/data-get-mixed 6d10c5b Merge branch '4.2' 2a786ac Removing unnecessary facade methods. 39f6708 Fix conflicts and merge. d8975bb Merge pull request #4477 from GrahamCampbell/4.2-testing cac3fc8 Improve Collection extensibility 2eb3035 Cleaning up comment. 572d148 Testing improvements f08da34 Add array_search to Support\Collection a1cb7bc Fixing conflicts and merging. 7d39a2d Merge branch '4.1' into 4.2 7473615 Update Pluralizer.php 4ddd650 Pull makes now use of array_pull beb27b1 Added default parameter 7cc8648 Added pull method to Collection class 4f2ec54 Fixed master branch alias 1523006 Fixing conflicts and merge. 4ed62a5 Merge pull request #4222 from GrahamCampbell/4.1-stuff 5866018 Fix conflicts. 70790c5 Merge pull request #4256 from Marwelln/master 5eb663d Use is_null. 74a449b Merge pull request #4280 from Anahkiasen/dot-callback 43d1183 Enable dot notation for array_add 9f243ca Dry up Facade very slightly cde1a23 Use data_get in Collection::valueRetriever ed0c1df Fix typo in Manager.php 8c1377b Fixed indentation 92a902f Improvements c9d3e6d Fixed a few typos. bc5eb13 Merge branch '4.1' b827560 Updated the return values (comments/docs) of a couple of methods. 7010086 Added irregular word syllabus a370a73 Support mixed target data in data_get e88ba3a Fixes #2768: singular for criteria is criterion (in laravel/laravel) 5f6e9eb Fixes #2768: singular for criteria is criterion 64dfe18 Added some irregular Plural 72b35ee Whitespace fixes 701ca06 Merge branch '4.1' 69b248f Fixed docblocks a299d47 Fixed dependencies ea0c468 Merge branch '4.1' f235867 Shorten variable name. 853bfb4 Merge pull request #3910 from barryvdh/patch-1 f63cf50 More minor cs fixes fa1f546 Merge 4.1. 5750a70 [Proposal] Add contentDisposition to Response::download ff32e70 Merge pull request #3852 from JosephSilber/collection-chunk 13c30b1 Add a chunk method to Collection 57777f7 Fix for MessageBag::count() 850a680 Merge pull request #3818 from GrahamCampbell/4.1-phpunit e22504b add 'taxes' in irregular 6645ebe Add default to array_pull to match array_get. 42ad812 Cleaning up code. 0c13a96 Updated for phpunit 4.0 634c011 Fix code style 0bed3a6 Eased merging of two MessageBag instances 24182f8 Merging and fixing conflicts. 3134beb Added json encoding options to json response f21a56d Adds hasMacro method and changes back to macroCall 940bdb0 Covers non static macro calls with Cache Repository 13fa972 Merging. Fix conflicts. 847c2ce Change import order. 9e37c2a Merge pull request #3542 from nicholasruunu/feature/macro-trait 390a3bc Merge pull request #3624 from thejhnz/workbench 149e856 Revert "Use PHP's abstract features" f4b275f Fixed groupBy bug with objects. Added data_get helper. 190257b Use PHP's abstract features 7b75bbe Added getBag method to ViewErrorBag. c5dcf0a More composer fixes c922aba Ascii in file name fix 6fd11b9 Changes name of MacroTrait to MacroableTrait 157e8df Changes name from MacroTrait to MacroableTrait e5a9074 Fix conflicts. Merge. 229ad54 Fixed and updated some dependencies 9de6be2 Changes spaces to tabs and orders class uses. Orders class uses by vendor then length. 6618cff Orders namespaces after vendor 794a7fc Moves common macro functionality in MacroTrait. Also unifies macro tests and space correction 11adc2a Fix conflicts. 702fab4 Fixed potential logical issues 97d5d51 Add $path param for docblock dcccd16 Merge branch '4.1' f6df9a5 Add "coreopsis" to uncountable array f1b7dbe Convert view $errors to ViewErrorBag allowing for multiple form error bags per view. 2240c57 Merge branch '4.1' 07822be Added sum method to collection. f0244f3 Update change log and code. 4d7069d Merge pull request #3284 from Anahkiasen/collection-sortby ff5d4bb Fix comments. 15fcbfe Merge pull request #3228 from anlutro-pull-requests/jsonserialize cda8b9c Missed closing bracket. c4874b9 Move Config::append to helper instead. e9f1351 Added Config::append method. 62bd7c2 Merge branch '4.1' 6e6302b Tweak behavior of has on Cookie facade. 2ef9059 Add has method to cookie facade. e2ce057 Allow Collection::sortBy and sortByDesc to accept a string 4e32ecc Fix conflicts and merge. 339f0bb Fix order of helpers. 975c4f8 str_limit helper added d54b881 Allow service providers to list events that cause them to load. b67703f use JsonSerializable c7dfd1b Bump all components to min PHP 5.4 b95128d Rename view and pagination environments to "factory". 0d54e6f Merge and fix conflicts. ccc9a5d Revert "Rename View and Pagination Environments to Factory." c70546f Merge and fix conflicts. 734a5a0 Rename View and Pagination Environments to Factory. 94205d3 Fix conflicts. Merge. 414fb65 Merge pull request #3201 from s1owjke/docs-fix 248b856 Fix calls to sortBy revealed by HHVM tests. 12853a0 Fix doc blocks. 955816a Tweaking some code. 74e5f6d Allow Illuminate\Support\Fluent to implement ArrayableInterface and JsonableInterface. d8850ab Collection::random() not actually random feb6fe3 Put collection methods in alpha order. ee75af0 Merging. e9316a7 added groupBy improvements. 235bebf Merge pull request #3117 from Anahkiasen/collection-group 0157c46 code cleanup. 5075b19 Merge pull request #3137 from phpmycoder/add_descending_sort_to_collections 114647b Removed unused use statements 10ae064 Added descending sort option to Collection::sortBy() 71dfffa Fix spacing. cfa9e5d Added a method to retrieve random element(s) from the collection's internal array. Work done by @daylerees in pull request #3002 which Taylor requested be sent to the 4.1 branch. 46c8361 Use array_get to fetch attribute 7d9b9c8 Add Collection::groupBy 48db89a Update components branch alias for dev-master. 5625c8d Add array_where helper. 6abf849 Fix a WSOD issue if application isn't ready for repsonses. 226a0e7 Merge branch '4.0' 11ae214 Corrected docblock formatting, and renamed $sort_flags to $options ec3d178 Added sort flags 411fef4 Merge pull request #2857 from BlueHayes/master 5508243 Merge branch 'refs/heads/master' into bugfix/routes-hierarchy dd59eb6 array_first functionality in Collection a5faea4 Update Str.php b777e9e Add helper method to retrieve the last item from an array (the opposite to array_first() in a sense). cf46471 Fix variable typo in Collection 924303b Response macro call $parameters instead of func_get_args() 1d81e9b Added @see docblocks to facades 88d810a Added freshman to irregular pluralizers. ca90ac6 Use getDictionary to determine unique collection models 9b15ca7 Add unique method to Support\Collection to return unique items afab51e Added merge, diff, and intersect to the Collection class. 80a7cc7 Merge branch 'master' of https://github.com/dwightwatson/framework into dwightwatson-master 0c8a533 correct action $parameters comment to array c07254d Refactor reused code into private function e7e9d7e Implement diff and intersect on Support\Collection 967de4d Merge pull request #2769 from semalead/throws bcfe780 Merge branch '4.0' d3d2aa6 Add @throws fo dock block function signature 24ac560 Check for empty string. 75118e0 Make Collection splice return new static. f5f47dd Fix keys. 305e190 Continuing work on password reminder refactor. 838977e Work on reminder system. f510b04 Merge branch '4.0' 6bed4bb Docblock and code uniformization in Str class 1efb1ff Optimize Str::endsWith() 1d5767d Fix Str::contains(), startsWith() and endsWith() with empty needles. 0e6d657 Add space. b2484e0 rename method: process() -> transform() 3e6bbed Collection->process() method 269d066 Fix conflicts and merge. cd95b25 Make extend() return manager instance. dcd1ede Merge branch 'str_is' of https://github.com/vlakoff/framework into str-is f5ec4ab Simplify Str::is() by removing useless special handling of '/' 2621624 Fix issue in Str::finish() with multicharacter cap. e772340 Change visiblity of properties on pluralizer. a2ae93f Fix Pluralizer: Human => Humans, not HuMen 65433f7 Simplify the package path guessing. 4e986a7 Many "use" statements are useless and can then be safely removed a467a89 Shorter syntax use && for and use || for or f0201bd Add get method to cookie facade. 33df9bd Merge branch '4.0' bec895e Add getCachingIterator method to collection. eace58e Merge branch '4.0' e4049a6 Add getCode and getVariables methods back into SerializableClosure ab9941d fix conflicts. 266a3cd Re-arrange some dependencies for conventions 72494ba Revert back to static::make in Response facade 83a6b96 Merge branch 'refs/heads/4.0' into dv/fix-cleanup 2ec26a5 Merge branch '4.0' 61ba4e8 use @jeremeamia's super closure lib for closure serialization. 960b017 fix route and action helpers. 1992dc0 Merge branch '4.0' d954b80 fix typos. bbf8a53 pass keys to the map method on the Collection. c57e8c9 fix conflicts. 56a02a0 tweak push method on collection. 76adb29 added reduce, min, max to collections. 1e5058f Merge branch '4.0' eec101e dont use namespace when calculating view path. 5cea3b6 fix conflicts. 580d114 Merge pull request #2295 from JosephSilber/feature/array_pluck-key-value ff46f3b backport title function. 6d5e888 Merge branch '4.0' 0a01514 allow facades to be mocked without application. 2cd1629 Call array_pluck in lists method instead of using its own implementation 4961ced Add key=>value support to array_pluck 9e61ed7 Work on live debugger. 4104d2c Merge branch '4.0' 5ba934d Revert change that broke accessor listing. dce6967 Merge branch '4.0' b0b8155 Fix function check. d8b343c Pass replacements by reference and rename function. 79c7759 Rename function and pass replacements by reference. e490c07 Merge remote-tracking branch 'origin/4.0' e408ca1 Added new preg_replace_array helper. 60c3691 Merge remote-tracking branch 'origin/4.0' 7998391 Return the array from array_set. 8e0668e Merge branch 'refs/heads/4.0' into dv/cleanup 9507e57 Fix conflicts, merge 4.0 branch. 413e1dc Allow optional path into _path helpers. dedf5c4 Removed array_column alias function 10f5c37 Merge branch 'refs/heads/4.0' into dv/cleanup ffb155e Add take method to collection class f511705 Merging 4.0 Updating cache composer file. b22a9bb Allow object_get in collection->lists. 255ee27 Merge branch '4.0' f510d01 Allow macros on the Response class. d1661f9 merge 4.0 branch to master. fix conflicts. e246907 Fix a bug with JSON responses. 3943553 Merge pull request #1917 from driesvints/dv/small-dockblock-fixes c72b819 Merge pull request #1946 from KaneCohen/str3 e9051a9 Check Jsonable interface in Response::json method. Fixes #1947. 758aef7 Refactored by removing an extra line of code ade2cd8 Fix Str::slug() separator flip. 027c8f2 Small docblock fixes c5175ea Merging 4.0 to master branch. 1613f0f Merge pull request #1816 from KaneCohen/splice 6a690ae Add array_column polyfill. d91f73c Merge branch '4.0' a091c14 Add "splice" method to collection. 42feb69 Large cleanup b7305f8 Allow ServiceProvider::commands to receive an array of commands 46002c0 Merge branch '4.0' f0b60b7 Added array_build helper. a5aef5d Merge branch '4.0' 410a69d Added parseCallback method to Str class. 720e832 First commit of "remote" component. 71dcb8c Merge branch '4.0' 166a460 added array_sort helper that is short-cut into collection sortBy. d48d676 Merge branch '4.0' e150e7d Allow method chaining on MessageBag->setFormat. Closes #1580. c43346c Merge branch '4.0' 0d9761b Fix bug in MessageBag isEmpty method. a7ea13f Merge branch '4.0' 4117b0e Add isEmpty method to MessageBag. Closes #1579. 1a1a4b6 Merge branch '4.0' fbf25ef Return empty array on null passed to Collection::make. 21f6d20 Merge branch '4.0' 4733cb1 Check for array on Collection. Fixes #1542. 57aa23d Merge branch '4.0' 753991c Cleaning up some code. 67b7031 Add implode method to Collection class and Query Builder f3409fb Merge branch '4.0' aee7d13 Merge pull request #1535 from driesvints/feature/lists-function-on-collection-class 9d68384 Add a space between 2 lines cdebb2f Merge branch '4.0' 51e2996 Fix incorrect variables used 7dcc9db Fix incorrect variable name in docblock 20338c0 Add lists method to Collection class f1f61b3 Fix some more spaces. ccfaa5f Various documentation fixes ca59eba Add array dependency to download function defcbd6 Merge pull request #1521 from JeffCost/feature/support-title-case 1f46ac2 Updates Str:title method f7715c8 Merge branch '4.0' 79506b9 allow first method of messagebag to return first message of any category. 915575f Updates Str:title method 39e1a8b Updates Str::title method f20b12c Removes non functional code. Adds test for title case 89891ae Adds support for title case dfc1298 base_path() changed to return app('base.path) not app()-make('base.path') b007166 Merge branch '4.0' 7db4072 Fix str_is with wildcards. Closes #1481. 35b0bc8 Update branch aliases. 6ae4037 Cleaning up code. 3f0d0c5 Add license to composer files. 3d13314 Changed length() return annotation 9e74c0b Merge branch 'master' of github.com:laravel/framework 184bed1 Merge branch 'master' into capsule 59275ca Add Str::length() back in b62abd2 Added `push` method which saves the model and all of its relations. Closes #1358. 435ead4 Support for multiple needles in Str::endsWith, added tests. 41fb1a3 Working on a new Capsule implementation. e09f68a Cleaning up some code. d1a7615 More consistent handling of leading and trailing spaces in Str::words. 4161711 Str:words produced error if given string contains non-ascii whitespaces but no words. 2d5df48 Change to ->items array in fetch method 767a657 Return Collection instance instead of array in flatten method 0b634da Return new static instance instead of Collection ccfc297 Fix Collection merge ef3f48e cleaning up bigint and mediumint code. d121aad Allow pattern filters to be specified with an HTTP verb constraint. Closes #1189. bed0b33 `updated_at` model timestamps are now automatically handled for ad-hoc queries. Closes #1217. 3416ba8 Work on code clean-up. 2c5bec6 Merge pull request #1246 from helmut/pluralizer-case-fix e56dd7e Merge pull request #1231 from bencorlett/patch-1 274e6f3 Merge pull request #1251 from KaneCohen/reverse 7a7e6b7 Make reverse return new Collection instance. ae598ed Merge pull request #1174 from jasonlewis/fix/proper-merge-collections 8c15486 Merge branch 'routing' f5a79c9 Clean up controller inspection route registration. 4e329a3 Added "dd" function. 76221d4 Add "reverse" method to Collection. df194bf Update Pluralizer.php bd88ca0 Update Pluralizer.php 0c2d1d5 Refactoring serializable closure. 70fcac7 Update and rename Html.php to HTML.php 6ac2a6a Merge branch 'master' of git://github.com/laravel/framework into fix/proper-merge-collections e764950 Some more cleanup 30a66d5 Cleanup helpers 4c2ba91 Add merge method to merge in another array or collection. 1dc8573 Rename the merge method to collapse. 6a4d8e6 Drastic refactoring of exception handling. 0276ea9 Clear the resolved request facade on dispatch. da5d8a5 Renamed original sort to sortBy 32aa9e9 Merge branch 'master' of github.com:philsturgeon/framework eb2fc5a Added Collection::sort() for callbacktastic sorting goodness. 8264991 Added `slice` method to `Collection`. Closes #1137. 4071f8a Added ability to pull values out of relationships, etc. on FormBuilder object value pulls. Closes #1047. 6654857 Collection `map` and `filter` both return new `Collection` instances now. Closes #1125. aa70128 Allow package views to be overriden by the application in `view/packages/vendor/package`, etc. Closes #910. 2604303 Check for equality first in Str::is. bf729ac Work on SerializableClosure. fd702d8 Typos in Collection 6a1a56e Fix phpdocs 6aa30e4 Adding new `has` Eloquent functionality. `Sort` method on support Collection. 81137e3 Fix JSON responses. 53faa02 Update Patchwork dependency in support component. a4a146d Check for arrayble interface on collection toArray. Fixes #1049 80c356a Add support for pushing anonymous functions onto the queue. Proceed with extreme, as in wait for me to screencast this. a7288ff Some tweaks to response handling, particularly JSON. Added chainable `header` method to response. b395e0a Added some more helper method to the collection class. a697349 Fix if spacing. 3b0fd41 Allow incrementing offsets in a collection. cc16ed1 Remove HTML from default formatting in MessageBag. d545844 Add default to collection property. 01c6fa0 Work on morph create. 62be113 Added Str::macro. f30bce4 Add phpunit to Illuminate component dependencies 61ff6be Fix facade view. d1d546e Added Response::view method. 163dba5 Fix docBlocks for PHPStorm. b6b28ea Tweak a comment. a6dfe9d Add values method to the Collection. 0b74ad3 Fix link helpers. 50b1450 Add link helpers. 8dceb75 Work on HTML builder. 45845f1 Make storage path configurable. 9a1e8d8 Added `pop` and `shift` methods to Eloquent collection. 897f8d2 Make `add` and `merge` methods on the `MessageBag` chainable. ecd2afb Added "lists" to Eloquent so that mutators are run. c55dded Tweak merge method and add tests. cac7b75 Added merge method to collection. b944ede Added array_fetch, array_flatten and Collection methods. 9eb895e Merge pull request #646 from barryvdh/patch/phpdocs ac829c3 Fix some namespace/parameters in phpdocs 0ff15f2 Check if key exists before iterating through dot-notation. 75a8e4b Added Str::upper and Str::lower. b46d591 Fix response downloads. d854bba Rename method Str::limitWords to Str::words 29e7743 Add back Str::limitWords 7d013e0 Tweak how a few facades work. 170e5df Tweaking some code. f71d56c Merge pull request #539 from karptonite/patchfacade_shouldreceive 8c729b1 Extract isMock function from condition in shouldReceive 853cedf Remove array dependencies from url helpers f4820a7 style and typo fixes for the Facade::shouldReceive patch 0c14d43 Allow shouldReceive to be called multiple times on the same Facade. 419fffa path is undefined - changed to url dfa68cb Fix potential bug in fluent class. 79c8842 Fix bug in fluent class. da608d8 rename path helper to url. dbf4c68 Merge pull request #508 from julien-c/response-json 7026109 Allowing overrides for helper functions. c979c0e Taylor helping with bad grammar! 971822c Strip comment out f52e5ae add last method a444ddc make camel_case/Str::camel do real camelCase; add studly_case/Str::studly to replace old behavior 810f9a2 testArrayfyDataBeforeSendingAsJson 7f8cba3 If the data to Response::json is "Arrayable", toArray it d77757f work on eloquent models and toArray. 7c35ef7 Merge pull request #410 from KaneCohen/str f8da477 Merge remote-tracking branch 'origin/master' 4793c64 working on form builder. 4a83c61 added map method to collection. 2cfad19 Add public_path() helper ff4c894 Fix ternary expr and add a space between lines 9eef76e Use mb_strlen() instead of static method call. Closes #409. 54ec83d Extend Str::slug for better result consistency adb1432 fix support component composer deps. fd85db6 tweak random functions. 9cc98fa make patchwork a dev dependency of support. 0de5949 fix bug in facade. 702c20a added shouldReceive method to facade. 6d81af2 improve performance of snake case. 73f37da added a random function to str class. added a secureRandom to attempt to get a better random string in some cases. 354e07e work on string class. 77ec123 work on string helpers. 3bc3140 cleaned up some stuff. 5749cea Merge pull request #290 from bencorlett/feature/autoloader 1b09505 fix eloquent each function. 74e35dd Autoloader docblock tweaks. ddda194 Using the directory separator consistently through the autoloader. 836c629 Tweaks to class loader and tests. bbee629 added str_random funciton. 36d9041 Adding autoloader support for <5.3 classes as per PSR. Fixes #289 & allows drop-in old libs. 053ebd7 added e helper. 4bcbb24 revamp events system to be more like laravel 3 instead of extending symfony. 9d1e025 change class loader to static methods. 4888e24 make json_numeric_check a default toJson option. a6e80b5 write reminder service provider and password facade. 3a21d22 added queue facade. a391add Fixed `MessageBag::any` 96d3954 created collection base class in support which eloquent collection inherits. added each and filter methods. 311ef9e added :key placeholder in message bag messages. d69667f added any method to message bag. f7e2adb added constructor args and merge method to message bag. f242335 Tweaking order of implementations for Message Bag. 4c3a740 Adding support for ArrayableInterface and JsonableInterface in Message Bag. 932e05b added model binding. a5f42df added controller inspector that can detect routable methods. 3b29e0a added inflector. 1078cb1 @return Laravel style 9fa48d8 Make make() accessible via app() 493005b allow url::route and url::action to short circut parameter list. 5caf15f update some composer.json files. af703b9 swap aliases. 25e728d preparing for subtree splits. db05099 working on namespaces. cddaea1 first commit. REVERT: 8a94aae [5.0] DRYs up some methods of Paginator and Collection REVERT: 932b4e1 Require ext-mbstring REVERT: 445cd37 Migrate to stringy REVERT: f1e3a8c Merge pull request #6762 from GrahamForks/5.0-inflector REVERT: ebf7611 fix conflicts and tests. REVERT: bfd1b2c Move env() to Foundation helper REVERT: 1194d55 Use array_sum instead of default callback REVERT: b41ef7a Collection::sum() just sums values with no parameter REVERT: 02cb217 Rename MacroableTrait to Macroable REVERT: 741d70e Removed yoda comparison REVERT: 812f72e Use doctrine inflector REVERT: 51de9fe Merge pull request #6795 from overtrue/master REVERT: 08e6270 strictly check for false REVERT: e51f0e9 Bind closures when using macros to allow access to $this and static. REVERT: b1e0976 env() support default value. REVERT: 04a796a Merge pull request #6701 from james2037/patch-collection-lists REVERT: fcadf28 working on formatting. REVERT: 2d0e0f7 Graham fixes. REVERT: 55118b4 Implement styled dumper based on Symfony dumper. REVERT: fc6eefd Use var-dumper in dd. REVERT: c0cb9b1 Check FQN REVERT: 2f53e54 fix conflicts. REVERT: 015f51f Remove useless check on $glue argument REVERT: 5b3f2f5 fix conflicts. REVERT: d9eaacb Revert "[4.2] Allows Arr::only To Handle Dotted Keys" REVERT: 9c9f645 fix conflicts. REVERT: bf59f9b Add a cache of snake, camel, and studly cased words. REVERT: 05af3b7 Adding __isset to TestAccessorEloquentTestStub and using data_get in Arr::pluck REVERT: c760aa3 Merging. REVERT: 9af5f11 Fixed some docblocks REVERT: 814092a Merge branch '4.2' REVERT: 33781b6 Merge pull request #6151 from websanova/4.2 REVERT: 8c3ec0b Merge branch '4.2' REVERT: 76d8124 Merge pull request #6085 from khayyam90/4.2 REVERT: 1ce7dfb Merge pull request #6097 from barryvdh/patch-4 REVERT: dbd734f Merge pull request #6100 from panlatent/master REVERT: c599a8e Merge branch '4.2' REVERT: c19ee07 Merge pull request #6075 from egeriis/4.2 REVERT: 7d4d9c1 Fix casing and conflicts. REVERT: 81a4f3d Fix casing. REVERT: 8eb5ce4 Merge branch '4.2' REVERT: 5970bf3 Merge pull request #5765 from lucasmichot/4.2-support-helpers-array-has REVERT: 8f0579f Merge branch '4.2' REVERT: 41bbb81 Merge pull request #5746 from lucasmichot/4.2-array-only-dotted REVERT: 262f91a Merge branch '4.2' REVERT: dd2cdbd Merge pull request #6571 from JosephSilber/data-get-array-access REVERT: bf5428c Fixing a few formatting things. REVERT: 6e8e037 Merge pull request #6667 from antonioribeiro/envCaseInsensitive REVERT: 287005f Return instead of break REVERT: 2cd3d74 Merge pull request #6566 from GrahamCampbell/5.0-support REVERT: 0033ede Make it case insensitive REVERT: c4c5bfa Merge pull request #6654 from pespantelis/master REVERT: b297603 Change method order. REVERT: f6ad614 Add env() helper function REVERT: 0edbc92 Added str_slug helper function. REVERT: b3ca2d4 CS fixes REVERT: 91fa912 Moved patchwork/utf8 to require REVERT: ca218c3 Ensure we can fetch an array with non existing keys REVERT: 37c7312 useless previous instanciation of $dotted variable REVERT: 3781588 Allows array_only to handle dotted keys REVERT: bd4ff56 Working on re-doing package handling. REVERT: d85c92e Add ArrayAccess support to data_get REVERT: eba26ed Add $key $value support to contains and where methods REVERT: 9fdfae8 Merge pull request #6087 from GrahamCampbell/5.0-random REVERT: 229d2e5 Merge branch '4.2' REVERT: 888e81e Reset indentation and sort words REVERT: 051679b Revert "Added two uncountable words to the Pluralizer class." REVERT: f4de05b Added two uncountable words to the Pluralizer class. REVERT: 9a4036a CS fix REVERT: b7b8c25 Made openssl required for secure random generation REVERT: 394b0e6 Fix docblocks REVERT: 46c7dff general code cleanup REVERT: 28172dc Merge pull request #6239 from brightmachine/view-error-message-bag-contract REVERT: 2df6aa6 Add required description to all composer.json files REVERT: dd02685 Use contract for MessageBag REVERT: b050430 Merge pull request #6227 from lucasmichot/5.0-return-null REVERT: 44787fd Standardize return null; REVERT: c397d27 CS fixes REVERT: 1d04d64 Change artisan facade accessor. REVERT: 2187131 [5.0] Reintroduce ServiceProvider::when(), which allow registering/loading service provider only when events is fired. REVERT: fa9b8d7 Huge refactor of HTTP stack. REVERT: 1c20fa2 Corrected Function Comment REVERT: 56662e3 Updated to be able to access all bags. REVERT: db34712 Improved The Str::snake Function #6100 REVERT: 38472ef Fixed authentication reminders/passwords REVERT: d305e6b Fix a Str::snake Function REVERT: f457ea1 Remove % from filenameFallback in Response::download REVERT: f8915da Bugfix for long random strings and more randomness REVERT: 78dfd9c Fix a bug which caused irregular plural words to have an S appended when passed to Pluralizer::plural REVERT: f7f170c Compiling more things. Smarter configuration merging. REVERT: 55abbb5 First pass at simpler Eloquent pagination. REVERT: 5d4ae81 Add a paginate function to collection to assist in slicing arrays. REVERT: e3b8714 normalizing line ending apparently. REVERT: 435abbd fix conflicts. REVERT: 4831699 Merge pull request #5850 from lucasmichot/4.2-suppor-facade-jsonp REVERT: 4afb7ed Merge pull request #5851 from GrahamCampbell/4.2-dependencies REVERT: 5f22905 Made dependencies stricter REVERT: 1fc9ce6 Add JSONP function to reponse facade REVERT: acecc1d Merge pull request #5792 from GrahamCampbell/cs REVERT: 1c1db40 DRY up response facade. REVERT: 4d77c62 Added missing new lines at eof REVERT: 19a75a7 Remaining useless else REVERT: b0d38b3 merging and fixing conflicts. REVERT: 36a1e87 Merge pull request #5779 from lucasmichot/4.2-useless-else REVERT: 1727ef8 Global formatting fix REVERT: a5daacf Remove useless else...return REVERT: 8cb28cd Define contract for message bag. REVERT: 423ee6a Add array_has function REVERT: 020f24f Merging. REVERT: 71d4f72 Fixed the *ix plural regular expression replacing the pattern in the middle of a word REVERT: 735a35c Merge pull request #5727 from franzliedke/patch-3 REVERT: 495d721 use only one condition in words REVERT: 2df9cb3 $replace does not need to be set that early REVERT: 4100c89 Remove unused loop variable. REVERT: d4352ca Merge branch '4.2' REVERT: b6716d3 Merge pull request #4886 from JosephSilber/reject-use-filter REVERT: 5bafb5f Merge branch '4.2' REVERT: 9f1090f Cleaning up code. REVERT: 6784d5c Merge pull request #5061 from KennedyTedesco/4.2-groupBy REVERT: 24abd5c Merge pull request #5712 from EloProf/master REVERT: 7c044ab Add keys method to MessageBag. REVERT: 11b1238 Prevent array_forget() from mixing up references REVERT: 0dbc57e [5.0] Bump the master to 5.0 REVERT: 217575c Fixed the *ix plural regular expression replacing the pattern in the middle of a word REVERT: a9c32c0 Merge branch '4.2' REVERT: ce3b1a9 [4.2] Collection - DDRYs up the code a little more REVERT: 280322d Fix conflicts. REVERT: 8643260 Merge pull request #5079 from GrahamCampbell/4.2-names REVERT: 0574333 Fixing conflicts. Cleaning up CapsuleManagerTrait dependency. REVERT: 81d5fff Cleaning up a few things. Merging. REVERT: 34d92c9 Fixed incorrect path to package views. REVERT: 4b69fb5 Merge pull request #5485 from crynobone/feature/split-helpers REVERT: d8aa4c4 Rename some interfaces for consistency. REVERT: 29b3776 Merge branch '4.2' REVERT: d3ac521 Merge pull request #5331 from lucasmichot/4.2-support-serializableclosure REVERT: 8edd9ae Avoid using fully qualified names within the code REVERT: 321ecba Merge branch '4.2' REVERT: 79fc62b Merge pull request #5449 from crynobone/patch/revert-fluent REVERT: 406e388 Merge pull request #5462 from JosephSilber/collapse-nested-collection REVERT: cf69aab Add missing space REVERT: 097fbe1 Change a doc block. REVERT: b73a4b0 Clean up collection constructor. REVERT: d4c9b4a add space REVERT: 148dcf2 Let Collection constructor handles arrayableinterface and collection REVERT: 48dafa5 Added eof new lines REVERT: 1ada06c Work on aggregate service providers. REVERT: 89ce02d Make boot method more free form. REVERT: dea72c6 Implement contracts for many major components of the framework. REVERT: 78a95c8 Split Laravel related helpers into separate file, replace #3819 REVERT: e8426e5 Merge branch '4.2' REVERT: e5d23e3 Merge pull request #5470 from RyanNielson/patch-1 REVERT: 949c3ae Working on auth generation. REVERT: 613c729 Working on reminder controller stub. REVERT: 866df36 Information function. REVERT: 81a7788 Make the HTML component opt-in. REVERT: f07f1c6 Set container on controller. REVERT: ce89dd1 Add the class loader to support for backwards compat. REVERT: 21845d3 fine, a one liner then. REVERT: 2b83d3d Change syntax of empty check in Collection->random() REVERT: f8a287f Working on some new structure things. REVERT: 7caa520 Fix an error in Collection->random() REVERT: 118aef0 Update route helper to match URL::route REVERT: 0f96bd3 Add support for nested collections when using collapse REVERT: c4a010e Completely revert "remove useless contructor" changes on Illuminate\Support\Fluent where it doesn't respect object that implements IteratorAggregate and ArrayIterator. REVERT: 33c2232 Merging. conflicts. REVERT: e77e3e5 [Bugfix] Illuminate\Support\Fluent should allow to use stdClass/object instead of just array. REVERT: 3d2340d Fix a few formatting issues. REVERT: 9772148 Add method hasBag to ViewErrorBag REVERT: 86201fb Use FQN in phpdocs REVERT: 4157f0e Replace 'dynamic' keyword with 'mixed' REVERT: 860b011 Merge pull request #5330 from lucasmichot/4.2-support-namespaceditemresolver REVERT: 8702d65 Useless foreach constructor REVERT: aee4cb9 Move segments processing REVERT: 156d469 Merge branch '4.2' REVERT: 03f86a5 Adding a few more simple helpers. REVERT: 9711e2b Fix Str::endsWith() with needles that start with space and numbers. REVERT: c50ef97 Merge branch '4.2' REVERT: b6b0b12 Replace more static return types REVERT: 4eda6a7 Update phpdocs for better chaining REVERT: 8432005 Working on framework structure. REVERT: bde6862 Rename to RoutDependencyResolverTrait. REVERT: 90ee867 Working on dependency injection. REVERT: 8283a97 Working on resolver trait. REVERT: 428008c Missing docblock param REVERT: 3f6b682 Loosened patchwork utf8 version REVERT: d5b8d26 Fix conflicts. REVERT: 6334e7d Simplify ClassLoader REVERT: 572480d Move common method for a CapsuleManager to trait, this would reduce the requirement to produce new CapsuleManager for other component in the future (e.g: laravel/framework#5032) REVERT: b3d84fa Merge pull request #5181 from GrahamCampbell/4.2-helpers REVERT: b60aa23 Fixed the function definition to match the docblock REVERT: bbfccce Merge branch '4.2' REVERT: 0d6b8e1 update copied-in docblock to make more sense REVERT: c4d4a94 Added method visibility to the array class REVERT: 64d8cf8 Array fixes REVERT: 09995af Merge. REVERT: 3eb14f9 Add default function. REVERT: e57ecc8 Move array_* helpers function to Arr class REVERT: c68f5f4 Fixed various docblocks REVERT: 5cd7e5f [4.2] Fix groupBy() bug REVERT: dd709d1 Fixed support docblocks REVERT: 36f5d08 Remove object_fetch REVERT: fa4944f Added an object fetch method. REVERT: a8bbf84 Fix method order. REVERT: 54ca5d9 Merge pull request #5016 from ephraimb/4.2 REVERT: 6c7fc26 Added some typehints and minor docblock fixes REVERT: 0e7f48c Remove unneeded calls to with REVERT: 3120c10 Added shuffle() method to Collection REVERT: ef507d2 Fix conflicts. Merge. REVERT: 18486b0 Fix order of methods. REVERT: 7e1ce63 Add contains method to base collection REVERT: 0c82859 Fixed collection docblocks REVERT: 74296db Use negated filter for reject REVERT: d59811c Cleaning up code. Fixing stuff. Tests. REVERT: a5c86bf A fix for #4498 and #4684. Eloquent model now boots all used traits, not only those declared in current class only. REVERT: 05109df Fix return type. REVERT: 6b7fc81 Merge pull request #4723 from lucasmichot/array-forget-many REVERT: 4944b03 Add keyBy method to Collection REVERT: 45a4bf0 Typo in Collection doc REVERT: 1d76f09 Enable array_forget to unset one or many keys REVERT: e44cf34 Merge branch '4.2' REVERT: 976bdc0 Work on comment. REVERT: 15c86ac Merge pull request #4615 from lucasmichot/4.2-flip REVERT: b7d66ad Merge branch '4.2' REVERT: 5ac2bfd Move method. REVERT: b96430e Fix punctuation. REVERT: 68dd9a1 Added abstract method getDefaultDriver() REVERT: ad795d4 Merge pull request #4635 from lucasmichot/4.2-string-helper REVERT: 266275c Let keys() function returns the keys of the Collection items REVERT: 672cff8 Change code alignment for str_limit function REVERT: 90bdcc2 Add use ...\Str to helpers.php REVERT: 31a2fdd [4.2] Add flip to Collection REVERT: bfe7af6 Merge pull request #4520 from GrahamCampbell/4.3-autoloading REVERT: 37fed8b Merge branch '4.2' REVERT: 71975fd Added reject method to collection. REVERT: afed0ca Forward thinking for composer REVERT: 16d5f1b Merge branch '4.2' REVERT: f1dd716 Merge branch '4.1' into 4.2 REVERT: 205a132 Merge pull request #4061 from JosephSilber/data-get-mixed REVERT: a469935 Merge branch '4.2' REVERT: f317d3c Removing unnecessary facade methods. REVERT: e0f1456 Fix conflicts and merge. REVERT: 4aaaabe Merge pull request #4477 from GrahamCampbell/4.2-testing REVERT: 7edc63b Improve Collection extensibility REVERT: cf8d94a Cleaning up comment. REVERT: 9b60477 Testing improvements REVERT: 50e353f Add array_search to Support\Collection REVERT: 2d5aa4e Fixing conflicts and merging. REVERT: 9b3c50e Merge branch '4.1' into 4.2 REVERT: 3c45ffa Update Pluralizer.php REVERT: 4cf4dc1 Pull makes now use of array_pull REVERT: ecd505a Added default parameter REVERT: ac4b0e8 Added pull method to Collection class REVERT: 8316695 Fixed master branch alias REVERT: 410aec5 Fixing conflicts and merge. REVERT: 7716337 Merge pull request #4222 from GrahamCampbell/4.1-stuff REVERT: b44d1c7 Fix conflicts. REVERT: 25b0afd Merge pull request #4256 from Marwelln/master REVERT: 999b4f1 Use is_null. REVERT: a6d332b Merge pull request #4280 from Anahkiasen/dot-callback REVERT: 7604835 Enable dot notation for array_add REVERT: 89c1917 Dry up Facade very slightly REVERT: f311545 Use data_get in Collection::valueRetriever REVERT: b7143a5 Fix typo in Manager.php REVERT: 64d0a8f Fixed indentation REVERT: 904bd77 Improvements REVERT: e85abf3 Fixed a few typos. REVERT: 7aa66a9 Merge branch '4.1' REVERT: eca43e7 Updated the return values (comments/docs) of a couple of methods. REVERT: 4ea8bd1 Added irregular word syllabus REVERT: d4d5cec Support mixed target data in data_get REVERT: b258525 Fixes #2768: singular for criteria is criterion (in laravel/laravel) REVERT: 7280907 Fixes #2768: singular for criteria is criterion REVERT: 432fd52 Added some irregular Plural REVERT: d604868 Whitespace fixes REVERT: 95ae75d Merge branch '4.1' REVERT: 6a950a6 Fixed docblocks REVERT: cf2ff6a Fixed dependencies REVERT: d5ee575 Merge branch '4.1' REVERT: 49fffa7 Shorten variable name. REVERT: bd72814 Merge pull request #3910 from barryvdh/patch-1 REVERT: 7df0a79 More minor cs fixes REVERT: d7adb47 Merge 4.1. REVERT: a0327a3 [Proposal] Add contentDisposition to Response::download REVERT: 9dd14aa Merge pull request #3852 from JosephSilber/collection-chunk REVERT: 8fab067 Add a chunk method to Collection REVERT: 6d2ac41 Fix for MessageBag::count() REVERT: 8ffeda1 Merge pull request #3818 from GrahamCampbell/4.1-phpunit REVERT: 6037671 add 'taxes' in irregular REVERT: bb7507f Add default to array_pull to match array_get. REVERT: 13b537c Cleaning up code. REVERT: 601f18c Updated for phpunit 4.0 REVERT: 25ee70a Fix code style REVERT: 10e1b20 Eased merging of two MessageBag instances REVERT: ca4f936 Merging and fixing conflicts. REVERT: dfcbb66 Added json encoding options to json response REVERT: a0854e4 Adds hasMacro method and changes back to macroCall REVERT: ed0a1c6 Covers non static macro calls with Cache Repository REVERT: 42e2b7b Merging. Fix conflicts. REVERT: 0b430ae Change import order. REVERT: a87363a Merge pull request #3542 from nicholasruunu/feature/macro-trait REVERT: 6044327 Merge pull request #3624 from thejhnz/workbench REVERT: bbfe6c6 Revert "Use PHP's abstract features" REVERT: f453cfa Fixed groupBy bug with objects. Added data_get helper. REVERT: 6947c80 Use PHP's abstract features REVERT: f5113e4 Added getBag method to ViewErrorBag. REVERT: 950f939 More composer fixes REVERT: ea318f0 Ascii in file name fix REVERT: df4776e Changes name of MacroTrait to MacroableTrait REVERT: e0702fa Changes name from MacroTrait to MacroableTrait REVERT: 334a83a Fix conflicts. Merge. REVERT: 1976c92 Fixed and updated some dependencies REVERT: 1f0253a Changes spaces to tabs and orders class uses. Orders class uses by vendor then length. REVERT: 5fa9e62 Orders namespaces after vendor REVERT: 1b4d279 Moves common macro functionality in MacroTrait. Also unifies macro tests and space correction REVERT: 7330f07 Fix conflicts. REVERT: a0c0435 Fixed potential logical issues REVERT: 9af1b49 Add $path param for docblock REVERT: e001abd Merge branch '4.1' REVERT: b7fe78c Add "coreopsis" to uncountable array REVERT: ac81153 Convert view $errors to ViewErrorBag allowing for multiple form error bags per view. REVERT: 972dbb0 Merge branch '4.1' REVERT: 475c54b Added sum method to collection. REVERT: fccfb5f Update change log and code. REVERT: 2435c93 Merge pull request #3284 from Anahkiasen/collection-sortby REVERT: 77032ea Fix comments. REVERT: 09dc7ba Merge pull request #3228 from anlutro-pull-requests/jsonserialize REVERT: 5a4def7 Missed closing bracket. REVERT: 1a222a4 Move Config::append to helper instead. REVERT: 11aec1e Added Config::append method. REVERT: 8f8f5f6 Merge branch '4.1' REVERT: 1a05149 Tweak behavior of has on Cookie facade. REVERT: 5d51110 Add has method to cookie facade. REVERT: 1c84766 Allow Collection::sortBy and sortByDesc to accept a string REVERT: a873be6 Fix conflicts and merge. REVERT: c105689 Fix order of helpers. REVERT: a6e52cc str_limit helper added REVERT: 37c377d Allow service providers to list events that cause them to load. REVERT: 4338f60 use JsonSerializable REVERT: 6de8f4c Bump all components to min PHP 5.4 REVERT: c0cb4f1 Rename view and pagination environments to "factory". REVERT: 0791380 Merge and fix conflicts. REVERT: bd1cd36 Revert "Rename View and Pagination Environments to Factory." REVERT: b1f1f2a Merge and fix conflicts. REVERT: 820b6f8 Rename View and Pagination Environments to Factory. REVERT: 2e8f60c Fix conflicts. Merge. REVERT: 8d527a8 Merge pull request #3201 from s1owjke/docs-fix REVERT: a81fcc4 Fix calls to sortBy revealed by HHVM tests. REVERT: 2e3999b Fix doc blocks. REVERT: 362ac6a Tweaking some code. REVERT: f30c761 Allow Illuminate\Support\Fluent to implement ArrayableInterface and JsonableInterface. REVERT: 94bcf51 Collection::random() not actually random REVERT: a9b8e05 Put collection methods in alpha order. REVERT: d457fe8 Merging. REVERT: dc0b63e added groupBy improvements. REVERT: 3675e50 Merge pull request #3117 from Anahkiasen/collection-group REVERT: 4dd792b code cleanup. REVERT: d199af2 Merge pull request #3137 from phpmycoder/add_descending_sort_to_collections REVERT: 21b32ef Removed unused use statements REVERT: 9442902 Added descending sort option to Collection::sortBy() REVERT: e9d570e Fix spacing. REVERT: 4d0c845 Added a method to retrieve random element(s) from the collection's internal array. Work done by @daylerees in pull request #3002 which Taylor requested be sent to the 4.1 branch. REVERT: 3f28902 Use array_get to fetch attribute REVERT: e58a4db Add Collection::groupBy REVERT: 28bd3ea Update components branch alias for dev-master. REVERT: 6107f0f Add array_where helper. REVERT: 5de61ed Fix a WSOD issue if application isn't ready for repsonses. REVERT: 6f123d9 Merge branch '4.0' REVERT: 04c0583 Corrected docblock formatting, and renamed $sort_flags to $options REVERT: da6d16f Added sort flags REVERT: 256228b Merge pull request #2857 from BlueHayes/master REVERT: 92a9e04 Merge branch 'refs/heads/master' into bugfix/routes-hierarchy REVERT: 4361802 array_first functionality in Collection REVERT: c2205e5 Update Str.php REVERT: 8251f76 Add helper method to retrieve the last item from an array (the opposite to array_first() in a sense). REVERT: 3855300 Fix variable typo in Collection REVERT: bc070e9 Response macro call $parameters instead of func_get_args() REVERT: 2524eb1 Added @see docblocks to facades REVERT: 8afe898 Added freshman to irregular pluralizers. REVERT: 7931a18 Use getDictionary to determine unique collection models REVERT: d492e96 Add unique method to Support\Collection to return unique items REVERT: 01e2671 Added merge, diff, and intersect to the Collection class. REVERT: 7e5e40c Merge branch 'master' of https://github.com/dwightwatson/framework into dwightwatson-master REVERT: 89020d3 correct action $parameters comment to array REVERT: a1f8969 Refactor reused code into private function REVERT: 31b7d87 Implement diff and intersect on Support\Collection REVERT: 931c7dd Merge pull request #2769 from semalead/throws REVERT: da1c433 Merge branch '4.0' REVERT: 3b578d3 Add @throws fo dock block function signature REVERT: 6b051e3 Check for empty string. REVERT: ca78b1f Make Collection splice return new static. REVERT: 488077b Fix keys. REVERT: 08aa8b3 Continuing work on password reminder refactor. REVERT: b8acf20 Work on reminder system. REVERT: 89a1544 Merge branch '4.0' REVERT: 10d9b7b Docblock and code uniformization in Str class REVERT: 25f78f4 Optimize Str::endsWith() REVERT: 6359f96 Fix Str::contains(), startsWith() and endsWith() with empty needles. REVERT: 06f1a02 Add space. REVERT: 6301d6b rename method: process() -> transform() REVERT: 5c6d0e1 Collection->process() method REVERT: 7fcbe0a Fix conflicts and merge. REVERT: 19d76c0 Make extend() return manager instance. REVERT: e1f31e4 Merge branch 'str_is' of https://github.com/vlakoff/framework into str-is REVERT: 57f1697 Simplify Str::is() by removing useless special handling of '/' REVERT: 202c110 Fix issue in Str::finish() with multicharacter cap. REVERT: e2ff708 Change visiblity of properties on pluralizer. REVERT: 59dccb7 Fix Pluralizer: Human => Humans, not HuMen REVERT: bef4c65 Simplify the package path guessing. REVERT: 2abd909 Many "use" statements are useless and can then be safely removed REVERT: 1394892 Shorter syntax use && for and use || for or REVERT: 4667d8c Add get method to cookie facade. REVERT: 791bba0 Merge branch '4.0' REVERT: 2b6a22c Add getCachingIterator method to collection. REVERT: 140bfad Merge branch '4.0' REVERT: c6410f6 Add getCode and getVariables methods back into SerializableClosure REVERT: b9c25d6 fix conflicts. REVERT: bf42da5 Re-arrange some dependencies for conventions REVERT: 1c94ee2 Revert back to static::make in Response facade REVERT: 7ce879f Merge branch 'refs/heads/4.0' into dv/fix-cleanup REVERT: cf48605 Merge branch '4.0' REVERT: 19515be use @jeremeamia's super closure lib for closure serialization. REVERT: aeeadd7 fix route and action helpers. REVERT: f8b03ce Merge branch '4.0' REVERT: b57229a fix typos. REVERT: 2c345d4 pass keys to the map method on the Collection. REVERT: 5861c91 fix conflicts. REVERT: 9a880ff tweak push method on collection. REVERT: 845330a added reduce, min, max to collections. REVERT: 386aefa Merge branch '4.0' REVERT: c4c6431 dont use namespace when calculating view path. REVERT: 7594166 fix conflicts. REVERT: 6789c79 Merge pull request #2295 from JosephSilber/feature/array_pluck-key-value REVERT: 33a46fd backport title function. REVERT: 6bab9bc Merge branch '4.0' REVERT: 540382c allow facades to be mocked without application. REVERT: 0170746 Call array_pluck in lists method instead of using its own implementation REVERT: d1f72e1 Add key=>value support to array_pluck REVERT: 67f6058 Work on live debugger. REVERT: a6ab8cc Merge branch '4.0' REVERT: f060991 Revert change that broke accessor listing. REVERT: f412e95 Merge branch '4.0' REVERT: 0e42355 Fix function check. REVERT: 59027ee Pass replacements by reference and rename function. REVERT: c8e5165 Rename function and pass replacements by reference. REVERT: 11f289d Merge remote-tracking branch 'origin/4.0' REVERT: f4b98f1 Added new preg_replace_array helper. REVERT: 83788a5 Merge remote-tracking branch 'origin/4.0' REVERT: d469784 Return the array from array_set. REVERT: e90636f Merge branch 'refs/heads/4.0' into dv/cleanup REVERT: 85548ba Fix conflicts, merge 4.0 branch. REVERT: 5bb1547 Allow optional path into _path helpers. REVERT: 18bb0b5 Removed array_column alias function REVERT: 065febd Merge branch 'refs/heads/4.0' into dv/cleanup REVERT: 946aebc Add take method to collection class REVERT: 2cb1cae Merging 4.0 Updating cache composer file. REVERT: baca6cd Allow object_get in collection->lists. REVERT: de6c13c Merge branch '4.0' REVERT: 70af1d5 Allow macros on the Response class. REVERT: 3dd29fa merge 4.0 branch to master. fix conflicts. REVERT: f627567 Fix a bug with JSON responses. REVERT: 58aeba6 Merge pull request #1917 from driesvints/dv/small-dockblock-fixes REVERT: 760da7f Merge pull request #1946 from KaneCohen/str3 REVERT: b68b8ef Check Jsonable interface in Response::json method. Fixes #1947. REVERT: 69aeb2b Refactored by removing an extra line of code REVERT: abc66b2 Fix Str::slug() separator flip. REVERT: 1910ce6 Small docblock fixes REVERT: 2cd5e27 Merging 4.0 to master branch. REVERT: 64f7cdf Merge pull request #1816 from KaneCohen/splice REVERT: 367178d Add array_column polyfill. REVERT: f9affe7 Merge branch '4.0' REVERT: 5816872 Add "splice" method to collection. REVERT: a2f7c72 Large cleanup REVERT: 9991c36 Allow ServiceProvider::commands to receive an array of commands REVERT: 64f3843 Merge branch '4.0' REVERT: 3464168 Added array_build helper. REVERT: e0f3156 Merge branch '4.0' REVERT: c5b987d Added parseCallback method to Str class. REVERT: 1ab626d First commit of "remote" component. REVERT: 2c2ae42 Merge branch '4.0' REVERT: e705f14 added array_sort helper that is short-cut into collection sortBy. REVERT: b0fbcef Merge branch '4.0' REVERT: dfb6ec6 Allow method chaining on MessageBag->setFormat. Closes #1580. REVERT: 07bd5a1 Merge branch '4.0' REVERT: 82ae1cf Fix bug in MessageBag isEmpty method. REVERT: 482bde5 Merge branch '4.0' REVERT: abe11f4 Add isEmpty method to MessageBag. Closes #1579. REVERT: b9f3f69 Merge branch '4.0' REVERT: d4e3080 Return empty array on null passed to Collection::make. REVERT: 17543da Merge branch '4.0' REVERT: 720875f Check for array on Collection. Fixes #1542. REVERT: 14bbcea Merge branch '4.0' REVERT: 148611a Cleaning up some code. REVERT: 521fdc5 Add implode method to Collection class and Query Builder REVERT: 34ce6bd Merge branch '4.0' REVERT: a8d79cb Merge pull request #1535 from driesvints/feature/lists-function-on-collection-class REVERT: cb20fd8 Add a space between 2 lines REVERT: 4fcee25 Merge branch '4.0' REVERT: 3fa08dc Fix incorrect variables used REVERT: cc7f1c7 Fix incorrect variable name in docblock REVERT: 0e3d21d Add lists method to Collection class REVERT: 831c8c1 Fix some more spaces. REVERT: c5aaf10 Various documentation fixes REVERT: 02bd08e Add array dependency to download function REVERT: 76e57d4 Merge pull request #1521 from JeffCost/feature/support-title-case REVERT: c7ea642 Updates Str:title method REVERT: 608ca9b Merge branch '4.0' REVERT: da33514 allow first method of messagebag to return first message of any category. REVERT: 5a4c0e2 Updates Str:title method REVERT: ce275e5 Updates Str::title method REVERT: 3ff0547 Removes non functional code. Adds test for title case REVERT: 9188a35 Adds support for title case REVERT: 417b4fe base_path() changed to return app('base.path) not app()-make('base.path') REVERT: 3036b…
…he requirement to produce new CapsuleManager for other component in the future (e.g: laravel/framework#5032) Also remove duplicate "require-dev" component (when already explicitly declare in "require"). Signed-off-by: crynobone <[email protected]>
…he requirement to produce new CapsuleManager for other component in the future (e.g: laravel/framework#5032) Also remove duplicate "require-dev" component (when already explicitly declare in "require"). Signed-off-by: crynobone <[email protected]>
I wrote this PR because recently I tried integrating the mail component in a legacy Zend 1 app. I noticed some caveats with using it because at some points it was pretty tightly coupled to the Laravel framework. I made some improvements to decouple it a bit more so others may use it more easily in applications different then Laravel.
This PR should be without BC breaks so I could also send this to 4.2 if you'd like. Let me know.Improvements:
Usage of an interface and trait for the log writer class. This allows us to more easily use our own log classes in Laravel components. I've replaced the hard-coded Writer dependency in the Mailer class with the interface so we can now easily use our own loggers with the mail component.composer.json
. I didn't get the mandrill component working immediately and it turned out that it was because Guzzle didn't came along as a dependency. While I agree that it may be overkill to always include it in the "require" list we should definitely let developers know to install it if they want to use the Mailgun or Mandrill driver.Some minor docblock and namespace import fixes.Hope you like it! I'll write a blog post on how to integrate the mail component into other apps after this gets merged in. Enjoy!
PS.: I'm still wondering about cutting out the config repository as a constructor argument and just pass along an array with all the options. This will make it even more easier to re-use outside Laravel. What do you think?Update 1
Removed the Config Repository dependency from the Transport class and to just pass the array with options.Update 2
swift.transport
now is an instance ofTransportManager
rather thanSwift_Transport