Latest Laravel/PHP Articles

Latest Laravel/PHP Articles curated daily from around the web.


A few weeks ago I decided to try out something new. Telegram Bot caught my attention so I started playing around with it. The first thing I had to do was to set...
Sports games by date, registered users by date etc. Here’s the controller code:use App\User; class UserController extends Controller { public function index() {...
I will be covering how to covert your Laravel Controllers, Resources, and Form Requests into a single GraphQL endpoint. After the conversion you will find that...
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
I always deal with controllers as a glue for my applications and never done any logic inside them, including Validation & Authorization logic. Laravel FormReque...
Throughout this tutorial for beginners you’ll learn to use Laravel 5.7 — the latest version of one of the most popular PHP frameworks — to create a CRUD web app...
I am going to teach you about CI/CD, how to properly set up CI/CD for your own Laravel projects and how to perform good unit tests and, as a bonus: how to confi...
I’ve recently found a simple package that helps to transform any URL into embeddable HTML, the best examples are Youtube and Vimeo videos. Let’s imagine you hav...
Digital Ocean Providing developers and businesses a reliable, easy-to-use cloud computing platform of virtual servers (Droplets), object storage ( Spaces), and more.
By convention Laravel expects that the “Sites” model have a ‘host_id’ column. If it doesn’t have it, you can set the second and third params of the relation’s m...
According to the official documentation for google’s recapture software, after a user attempts the “I’m not a robot” challenge and submits the form, we can acce...
Using the AWS Simple Queue Service is easy, but not that easy as RabbitMQ. I’m going to explain how to use it without reinventing the wheel. I have used RabbitM...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
What’s new in 5.7? What improvements were made? Learn how to build better PHP applications with this new release. In this article, I’ll cover the new features i...
You want to login into their accounts to help them with their issues but you can not ask them to tell their password. One solution is to setup a master password...
), it’s convenient to generate slug immediately after title has been typed in. public function check_slug(Request $request) { $slug = str_slug($request->title);...
Short video with an example, how findOrFail() and similar methods may lead to unexpected result for the end user. If you want to see more video tips like this,...