Php

Php posts, videos, courses, and more

TechvBlogs · 3 weeks ago

How to Install Multiple PHP Versions on Ubuntu 22.04

PHP is a programming language used for developing web applications. You must install PHP packages on a Ubuntu system to run the application written on it. Generally, it is used to create e-...
6

Richard Dobroň · 3 weeks ago

Localizing PHP application with FBT instead of standard i18n

Since about 2010, I have been looking for a translation framework for PHP that can generate very complex phrases and at the same time combine options such as singular/plural and work with ge...
5

TechvBlogs · 1 month ago

Laravel 9 CRUD Example Tutorial for Beginners

Throughout this Laravel 9 CRUD operation with an example for beginners tutorial, you will learn step-by-step guide on how to build a simple crud operation app in laravel 9 and how to validat...
5

TechvBlogs · 1 month ago

Laravel Pint - A PHP Code Style Fixer for Minimalists

The long-awaited hype train is finally over, Laravel latest open-source CLI app has been released to the world, and we got our hands on it to tell you all about it. Introducing Laravel Pin...
5

Vladimír Macháček · 1 month ago

Write optimized CSS in Symfony with Stylify

Stay in Twig and PHP files, write HTML and get optimized CSS. From anoying switching between files to flawless coding. Learn how to improve the coding experience in your Symfony Web Applicat...

TechvBlogs · 1 month ago

Laravel 9 Eloquent WHERE Like Query Example Tutorial

When you put the search form in your application, you need to use like query to get matched pattern. The LIKE a query is used in a WHERE clause to search for a specified pattern in a column....
5

TechvBlogs · 1 month ago

How To Install PHP 8.1 on Ubuntu 22.04

PHP is a popular server scripting language known for creating dynamic and interactive web pages. Getting up and running with your language of choice is the first step in learning to program....
3

TechvBlogs · 2 months ago

How To Optimize Laravel for Performance

Laravel is a popular open-source PHP framework that’s known for its robust security and simple yet sophisticated coding architecture. It’s a great choice for building cutting-edge web applic...
3

TechvBlogs · 2 months ago

How to make a POST request with cURL

What is cURL? Curl is a command-line utility that allows users to create network requests. Curl is accessible on Windows, Linux, and Mac, making it the go-to choice for developers across all...
3

Bobby Iliev · 2 months ago

How to use Materialize with DigitalOcean Serverless Functions

Introduction Materialize is a streaming database for real-time analytics. It was launched in 2019 to address the growing need for the ability to build real-time applications easily and effic...
4

Bobby Iliev · 3 months ago

Scaling Laravel with Serverless Redis

Introduction Laravel is a popular PHP framework for building scalable, high-performance web applications. In this article, we will learn how to use serverless Redis to scale Laravel applicat...
7

TechvBlogs · 3 months ago

Custom helper functions in Laravel

Laravel provides us with many built-in helper functions that you can call anywhere within your application. They make your workflow convenient for working with arrays & objects, paths, s...
4

Posandu Mapa · 3 months ago

Create a SPA with PHP

Today, we will create an SPA with PHP. Our output will look like this. (The GIF, a bit slow 😑) Getting started Our directory structure will be like this. 📦spa ┣ 📜about.php // A page ┣ 📜fo...
4

TechvBlogs · 4 months ago

PHP Curl Get Request with Parameters Example

What is cURL in PHP? The Client for URLs is shortly called cURL, which was originally pronounced with a URL in uppercase to emphasize that it deals with URLs. It's pronounced as: see URL. cU...
5

Valerio · 4 months ago

Laravel cron scheduling and its secrets

Hi, I'm Valerio Barbera, software engineer, founder and CTO at Inspector. One of the most useful features of Laravel is the cron scheduling system.The official documentation clearly explains...
2

TechvBlogs · 4 months ago

How to Get Previous and Next Record in Laravel

A really common task is to display links for the previous and next record typically you find these on blogs, when viewing the post a previous title and link are displayed and the same for th...
4

Valerio · 4 months ago

Laravel validation and custom rules in Inspector

Hi, I'm Valerio Barbera, software engineer, founder and CTO at Inspector. Data validation is one of the fundamental features in any application and it is something developers manipulate almo...
2

Tony Lea · 5 months ago

Laravel Origins Documentary

Tomorrow at (18:00CET), it's time to break out some popcorn 🍿 and get ready for an awesome story about Laravel. Showtime-zone listed below: 18:00 CET 12:00PM EST 09:00AM PST Checkout...
14

TechvBlogs · 5 months ago

How To Install WordPress with LAMP on Ubuntu 20.04

For those who cannot afford the hustles of developing websites from scratch, there are now several content management systems (CMSs) such as WordPress that you can take advantage of to set u...
6

TechvBlogs · 9 months ago

Laravel 8 Send Mail using Queue Tutorial

What is Queue in Laravel? Laravel 8 Queues allow you to delay a time-consuming task until a later time. By delaying the time-consuming task, you can improve the performance of the Laravel ap...
4

Bobby Iliev · 10 months ago

How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu

In this video you will learn how to Install Apache, MySQL, PHP (LAMP) stack on Ubuntu server.If you are new to DigitalOcean, you could use my referral code and you would get a free $100 cred...
3

Zahab Kakar · 10 months ago

6 Tips and Tricks Every Developer Should Know in Visual Studio Code 🤩

One of the most common text editors used by developers is Visual Studio Code. Microsoft created it to be the first cross-platform programming tool in the Visual Studio family that supported...
8

Bobby Iliev · 10 months ago

How to Automatically Run Your Laravel PestPHP Tests on Each GitHub Pull Request?

Introduction PestPHP was created by Nuno Maduro who is also one of the Laravel core team members. PestPHP is an open-source PHP Testing framework created with simplicity in mind. PestPHP is...
10

Bobby Iliev · 1 year ago

💡 Free Laravel Tips and Tricks eBook

This is an open-source Laravel Tips and Tricks eBook that is a collection of my own notes that I've put together for myself throughout the years. You would more likely than not need many of...
8

Bobby Iliev · 1 year ago

How to get the current date and time in Laravel?

Introduction Working with date and time could be pretty challenging. Luckily we have the Carbon package that makes this super easy! Carbon is a simple PHP API extension for DateTime. You can...
11

Bobby Iliev · 1 year ago

How to Get the Base URL in Laravel?

Introduction Hardcoding the domain name in your Blade files or in your controllers is not a good practice. If you ever decided to change your website's domain name, you would have to manuall...
9

Bobby Iliev · 1 year ago

How to Count and Detect Empty Laravel Eloquent Collections?

Introduction The Eloquent ORM included with Laravel provides you with an easy way of interacting with your database. This simplifies all CRUD (Create, read, update, and delete) operations an...
9

Bobby Iliev · 1 year ago

How to Set a Variable in Laravel Blade Template?

Introduction The Blade templating engine has been a real game-changer for me. Blade makes it working with PHP and HTML a breeze. It allows you to use plain PHP code directly in your template...
10

Bobby Iliev · 1 year ago

How to fix Laravel Unknown Column 'updated_at'?

Introduction The Eloquent ORM included with Laravel provides you with an easy way of interacting with your database. This simplifies all CRUD (Create, read, update, and delete) operations an...
7

Kim Hallberg · 1 year ago

How to create a simple CLI app with MiniCLI.

In this post we're covering how to create a simple CLI app with the help of MiniCLI. What we'll be creating is a small CLI tool to ping websites. Setting up our requirements. The first thing...
4

Loading More Content