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
//Asks a bunch of questions about potential common packages that you may want to add | |
//Example | |
laravel new test-project | |
//It runs | |
laravelextras | |
//Asks questions | |
There are 27 potential packages you may want to add to your composer file. Select y/n for all of the following. | |
Once complete composer will install all of these packages with the latest version if not defined in the list of packages |
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
.vue-switcher-theme--custom.vue-switcher-color--green div { | |
background-color: #C8E6C9; | |
} | |
.vue-switcher-theme--custom.vue-switcher-color--green div:after { | |
background-color: #43A047; | |
} | |
.vue-switcher-theme--custom.vue-switcher-color--green.vue-switcher--unchecked div { | |
background-color: #E0E0E0; | |
} | |
.vue-switcher-theme--custom.vue-switcher-color--green.vue-switcher--unchecked div:after { |
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
//this function returns entrymessage objects only if the entrymessage is a mesaage, and the internal message object isText. | |
//From Facebook messenger api | |
//Got parts refractories but couldn't work out how to return a collection of valid entrymessages with the double foreach. | |
//Tried lots of combos of each/map/ and filter. | |
public function textMessages() | |
{ | |
$result = []; | |
foreach ($this->entries as $entry) { | |
foreach ($entry->messages as $entryMessage) { |
NewerOlder