Browser Sync is an open source tool that can instantaneously synchronize your code changes with your browser. As soon as the file is saved, automatic webpage reload happens, without any action from your side.
You could use Browser Sync outside Laravel and without Laravel Mix asset bundler, however in this tutorial I will focus primarily on how to harvest its greatest features with truly minimalistic configuration.
All the hardest work has already been done by Laravel Mix, which lets you incorporate Browser Sync into your project with little effort. If you are interested, Laravel Mix uses Webpack module bundler with plugin browser-sync-webpack-plugin under the hood.
So, do you want to gain some time while developing your current or future Laravel project? If the answer is yes, then let’s start it off right away!
Continue reading “How to configure Browser Sync live reloading in your current or next Laravel project running on Homestead Virtual Machine”
Laravel Collective is a set of components that have been removed from Laravel’s core framework and are no longer maintained by Taylor Otwell. Instead there is group of volunteers who decided to maintain following once famous packages:
In this tutorial, we are going to examine laravelcollective/html, trying to verify its usefulness in your future projects. Let’s start then!
Continue reading “Is it beneficial to add Laravel Collective HTML package into your Laravel project?”
It’s hard to not stumble across Envoyer, once you become the member of Laravel community. It’s advertised as Zero Downtime PHP Deployments and is one of many commercial products from Taylor Otwell, creator of Laravel framework.
I will walk you through the configuration of Push to Deploy. This means that whenever you push or merge your code into specified branch, Envoyer should detect it and automatically trigger deployment.
Keep in mind that Envoyer allows one project to be associated with exactly one branch from chosen repository.
Continue reading “How to configure Push to Deploy with Envoyer”
As you probably experienced, Laravel 5.4 comes with Vue.js bundled and bootstrapped. For some developers it is equivalent of Laravel being coupled with Vue.js in some way. Hopefully it’s not the case. Laravel is completely agnostic when it come to JS frameworks and you are free to choose whichever you prefer.
Keep in mind though that Laravel’s community somehow fell in love with Vue.js, what is indirectly proven by following facts.
- Upcoming conferences Laracon US and Laracon EU will host Evan You as a speaker, which is creator of Vue.js.
- Jeffrey Way, creator of Laracasts, has tons of great videos about Vue.js, including
- Taylor Otwell, creator of Laravel, quite often reaches to Vue.js, what is visible in
The good news is Laravel 5.5 will use frontend presets, allowing to remove not only Vue.js, but also Bootstrap with ease. Angular lovers must still use my method – unfortunately no preset for them on the horizon.
Continue reading “How to replace Vue.js with React in Laravel 5.4”