Recent WordPress 4.7 version was released with a huge thing called REST API - earlier it was possible only with external plugins. So now we can query WordPress database from external projects. Including Laravel. So let's try it out.
File uploads is one of the most important functions on the internet, and we have bigger files nowadays, which means it's not enough to have simple input fields - we need AJAX and processing file upload "in the background". Here I will show you a simple example of that in Laravel 5.
Recently I've seen a few tweets about Coaster CMS and decided to try it out. Not that I would use Laravel-based CMS (I've written a review before), but it's interesting what's inside and whether the creators are serious about it. So let's take a look.
Recently I've got some inspiration, watching video series or so-called "vlogs" by entrepreneurs like Gary Vaynerchuk. So decided to start something like that in Laravel world - a DAILY video series (except weekends). Short 5-10 minute episodes where I will share my thoughts about various topics from Laravel and web-dev business.
From time to time I write short tips about Laravel, and one of the most popular topics is Eloquent. It has so many "hidden" or poorly documented functionality, one of those is filtering parents by whether they have or don't have children. Let's see an example.
Another "hidden gem" of Eloquent. Let's imagine that you want to query all rows from the table and also one related row - not all of them, but the newest one. Apparently, it's pretty easy.
A little later than most "Year in Review" posts but it took some time to manually pick the most-clicked articles from our newsletter, there were 1000+ useful links from all over the web. Also I will mention authors with links to their profiles - let's thank them for their effort! So, what topics were the most popular in 2016?
Artisan Tinker is a nice way to quickly check some commands without making changes the code. You launch artisan tinker and can do things like database queries, check if some functions are working etc. But there's one thing to keep in mind.