Laravel provides rich logging functionality. We can post messages to third party chatting platforms like slack using Laravel logging functionality. All of the configuration for your application’s logging system is housed in the config/logging.php configuration file. This file allows you to configure your application’s log channels, so be sure to review each of the available channels and …
Trait in PHP
Traits are a mechanism for code reuse in single inheritance languages such as PHP. A Trait is intended to reduce some limitations of single inheritance by enabling a developer to reuse sets of methods freely in several independent classes living in different class hierarchies. The semantics of the combination of Traits and classes is defined …
Git Reflog
We can do like we did using ctrl + z in code editor. Oh, yes, say when we use git. Git remember its history and we can see them by typing git reflog The documentation is here. http://git-scm.com/docs/git-reflog