Usual Thursday, and finally I can announce the release of my new course: Practical Laravel Livewire from Scratch
Watch the overview video below and get 20% off with code LIVEWIRE20 until the end of October.
And also, this week is full of community articles, videos, tools, and opinions. Enjoy!
From my Youtube channel
"Hack" Demo: Blade if-else is not Security
In the comments, people told that the title is a bit misleading or even click-bait, but the message is still very useful. You should *always* validate data on the back-end, otherwise, your data may be "hacked" just by editing HTML directly in the browser, in the developer console.
From Laravel Community
How to consume RESTful APIs in Laravel 8 and Laravel 7
Today, I am going to show you how to consume RESTful APIs, in my previous post I discuss How to Create a Secure CRUD RESTful API in Laravel 8 and 7 Using Laravel Passport, the article teaches you how to create a RESTful API and also securing the API with Passport, Laravel Passport is the official OA
Device Tracking in Laravel
Laravel Device Tracking is a package by Ivano Matteo that allows you to track different devices used by users of your application. You can use this package as a base for functionality like detecting users on new devices and managing the verified status between device and user.
Changes coming to PHP Faker
The PHP Faker library is one of those tools that is hugely helpful when developing locally so you can see dummy data, and it covers everything from fake names, to addresses, lorem impsum, and so much more.
Site wide Search in Laravel with Scout
The “Search everything” box in the navigation bar is a very common feature in modern web app. I like it a lot, but implementing it in our own web app could be challenge. Here’s my solution to tackle this problem. Note: I’m using Laravel 8 at the time of writing this article.
Serving Laravel from a subdirectory
Oficially Laravel can not be served from a subdirectory. In practice it’s just a matter of proper setup. I was browsing the issues on Laravel repo and came across one complaining about issues that arise from serving Laravel out of a subdirectory.
How to use Google Charts in Laravel 8?
In this short tutorial we will cover an laravel 8 google chart example. you will learn dynamic charts in laravel 8. This tutorial will give you simple example of how to use google charts in laravel 8. it's simple example of laravel 8 google line chart example.
Laravel 8 Livewire Charts Tutorial Example
Laravel 8 livewire charts app tutorial from scratch. In this tutorial, we will show you how to implement line chart, pie chart, column chart and area chart using livewire package in laravel 8 app. Sometimes need to display analytics and some data on charts in laravel 8 app.
How to Send WhatsApp Messages With Laravel
Take two things that we love: WhatsApp messages and Laravel framework. Mix them together. What do you get? Fun with phones! This tutorial shows you how to create a Laravel application that sends and responds to WhatsApp messages.
PHP 8 - try out all new features
PHP 8 is already in it's release candidate stage, with RC 3 being released on October 29th, and the general availability release targeted for November 26th. So it is time to take a look at all the new and upcoming features of PHP 8. You can take a look at PHP 8's release schedule here.
In your typical Laravel application, you're probably used to using Laravel's helper methods for returning responses. Those responses might also vary in type: you might have an HTML response, generated from a Blade view, or a JSON response if the route being hit is an API endpoint.
Generate and Extract Random Data with RandoPHP
RandoPHP is a package by Roberto Butti that implements random generators (Integer, Char, Byte, etc.) and takes random samples from arrays. This package can be broken down into two distinct types of operations: generating things and drawing from existing arrays.
Dispatching Unique Jobs to Laravel Queues
Each time a product is updated, we want to dispatch a job that updates the search index. If several products were updated during a short period of time, we don't want to dispatch multiple jobs. There should be only a single index update job in the queue at any time.
The Revolution is here and it's called Statamic 3
Statamic is a Content Management System (CMS) built from Laravel developer's dreams. It's like a bird, a plane, a promise of a better future, a Wordpress without React. It's markdown and PHP. I've finally realized and come to appreciate the power of a CMS system.
PHP Annotated – October 2020
Greetings everyone! In our October edition of PHP Annotated you can read about the upcoming PHP 8, Xdebug 3 beta, short functions, and multiline arrow functions proposals in Internals. And as usual, we’ve got a load of useful articles, tools, videos, and podcasts to tell you about, too.
That's it for this week, see you in the next newsletter issue!