Envato Tuts » PHP
511 FOLLOWERS
Contains the most recent PHP how-to tutorials, courses, books, and guides. Envato Tuts provides tutorials and online courses to help you learn software development, from mobile devices to web applications.
Envato Tuts » PHP
9M ago
ChatGPT can be a great tool to boost your productivity. However, just like any other tool, the results you get back will depend on how adept you are at using it.
ChatGPT is very good at generating text. This doesn't include just regular text but also actual valid code that you can run. As a programmer, you can use ChatGPT to write a lot more code in less time.
In this tutorial, I will show how to write prompts effectively so that ChatGPT can generate accurate code for you. Before we begin, you should know that generating code with ChatGPT or any other AI has its pros and cons.
Pros and C ..read more
Envato Tuts » PHP
9M ago
Even if you wear an S on your chest, when it comes to programming, errors will undoubtedly creep into your application. These errors are either caused by the programmers as a result of code error or by the users who are unwilling to conform to the application or website constraints.
The errors caused by the end users are usually more adverse than that of the programmers, because the data or information entered by the user is unpredictable.
For example, in an email form field, instead of entering a valid email, the user might enter a non-email text. If the website lack a solid error handling m ..read more
Envato Tuts » PHP
9M ago
Are you looking for AI-powered PHP tools to simplify your processes?
Let's have a look at some of the best PHP AI tools available on CodeCanyon:
Staff Pick
Chat Support Board: PHP ChatGPT AI Application
An AI-driven chat bot with an integrated chat system. Supported messaging channels:
Facebook Messenger
WhatsApp
Instagram
Telegram
ChatPion Chatbot SaaS Marketing Platform
Chatpion is ideal for marketing automation for sales, Facebook, Instagram SMS, and email. It includes a drag-and-drop chat bot builder and allows building an online store inside Facebook Messe ..read more
Envato Tuts » PHP
9M ago
In this tutorial, we're going to build a PHP/MySQL-powered forum from scratch in Laravel.
What Is Laravel?
From the official documentation:
Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation—freeing you to create without sweating the small things.
It's an open-source PHP web application framework designed for the development of web applications following the model-view-controller (MVC) architectural pattern. It aims to make the development process easier by providing a set of ready-made tools that help you speed up development and write ..read more
Envato Tuts » PHP
9M ago
What You'll Be Creating
Regardless of how simple we try to make our web applications, it's often helpful to guide new users through their first experience. Visual tours are likely the easiest way.
If you've followed my Envato Tuts+ Building Your Startup With PHP series, you're familiar with Meeting Planner. After watching users scheduling their first meeting, I decided it would be best to build some kind of guide.
At first, I considered building it myself, but then I found an open-source option, Shepherd.
In today's tutorial, I'll introduce you to building a visual user tour with Sh ..read more
Envato Tuts » PHP
9M ago
From time to time, servers and databases are stolen or compromised. With this in mind, it is important to ensure that some crucial user data, such as passwords, cannot be recovered. Today, we are going to learn the basics of hashing and what it takes to protect passwords in your web applications.
If you just want to learn the best way to hash passwords in PHP, scroll to the bottom for the password_hash() function.
Disclaimer
Cryptology is a complicated subject, and I am by no means an expert. There is constant research happening in this area, in many universities and security agencies.
In thi ..read more
Envato Tuts » PHP
9M ago
One of the exciting features of HTML5 is WebSockets, which let us talk to the server without using AJAX requests. In this tutorial, we'll review the process of running a WebSocket server in PHP, and then building a client to send and receive messages to it over the WebSocket protocol.
If you want to learn how to use WebSockets with a Node server, check out our companion post.
Start Using HTML5 WebSockets With a Node.js Server
Divya Dev
18 Nov 2022
What Are WebSockets?
A WebSocket is a persistent bi-directional communication channel between a client (e.g. a browser) and a back ..read more
Envato Tuts » PHP
9M ago
PHP is easy to use and is supported by almost every web host. Therefore, it makes sense that it has become one of the most popular languages for back-end web development. Developers have been using PHP to do all kinds of things.
Let's see some of the most creative and wonderful uses of PHP.
1. Create eCommerce Websites
eCommerce is a very popular category for website development. Any business that wants to sell any products or services online has to either use an existing eCommerce service or develop its own eCommerce website.
Any eCommerce website will have basic functionality such as a shop ..read more
Envato Tuts » PHP
9M ago
A star rating system on a website makes it easy for users to give their feedback and help others make choices. It gives businesses feedback on how customers like their products. Star ratings also help build trust in a website and its products.
All major eCommerce websites use ratings to let buyers know what kind of quality they can expect from a product.
In this tutorial, I will show you how to build a five-star rating system of your own.
Writing the HTML and CSS for the Structure
The first step in the process of building our star rating system is writing the markup, and that will depend on w ..read more
Envato Tuts » PHP
9M ago
In this tutorial, we're going to build a PHP/MySQL powered forum from scratch. This tutorial is perfect for getting used to basic PHP and database usage.
Step 1: Creating Database Tables
It's always a good idea to start by creating a good data model when building an application. Let's see what we are going to build in our application briefly. We are going to make a forum which has users who can create topics in various categories. Other users can post replies to topics. As you can see, I've highlighted a couple of nouns which represent our table names.
Categories
Topics
Posts
Users
Let's ha ..read more