PHP 8.2 is the latest version of the popular server-side scripting language, PHP. It was released in November 202. The new release includes several new features and improvements to existing functionality. Some important features are System Improvements, Sensitive Parameter Attributes, Fetch enum properties in constant expressions, Constants supported in traits, Readonly Classes, and Random Extension. […]
How to Create RESTful API in CodeIgniter 4 Step By Step
You can create RESTfuI API in Codeigniter 4. This will be helpful when you want to manage the front end using a front end technology like React, Angular, Vue, etc. The CodeIgniter REST API can fulfill your requirement for request handling in the backend. The REST API will handle the request sent through the front-end […]
Resize Image By Image Manipulation in CodeIgniter 4
You can manipulate the image after uploading it in Codeigniter 4. There is no package or third-party library for it. The CodeIgniter 4 provides the image manipulation class. Through this class, you can manipulate images as per your need. You can set a watermark on the uploaded image. You can resize, and crop the image […]
CodeIgniter 4 Ajax Form Handling With Form Validation
Ajax provides a technique to handle the form request without reloading the page. You can use Ajax in CodeIgniter 4 for handling form data. This will allow you to validate and submit your form without refreshing it. This is used at the client-side to handle the client request in the browser. If you are working […]
How to Create a Virtual Host in XAMPP For PHP in Windows
The Virtual Host in PHP provides a domain URL in the local system. It allows you to run your application on a domain virtually. You can configure Apache virtual host easily for your application. If you create the Apache Virtual Host in PHP application then it will be super easy for you. You can run […]
Login and Registration Authentication in Codeigniter 4
The authentication system in any application is the main security feature. If you don’t want to give the open-access of your application to the user then it will require to have a lock. Here the authentication will work as an access key for that lock. At the application level, the user will need to enter […]
How to Send Email in CodeIgniter 4 Using Gmail SMTP
You can send an email using Gmail SMTP In CodeIgniter 4. For sending an email, you have to configure the email settings in your application. If you are sending email through the SMTP then there are two protocols that are TLS and SSL. Both protocols work on different ports. In this post, I will show […]
How to Implement jQuery Datatable in CodeIgniter 4
jQuery provides the datatable library to use in an HTML table. The jQuery datatable provides you the flexibility of pagination, searching, and ordering the data in the table. Even you can apply custom filters to the data. It also allows us to use column filters inside the table. You can implement it on any server-side […]
Generate Fake Data in CodeIgniter 4 Using Seeder and Faker
If you are working in a development environment, you always need to test your functionality. So for testing, you generally use the test data. You cannot perform the test on real data. Actually, the data may get updated and deleted according to the test cases. So, you can’t use the real data for the testing. […]
How to Remove index.php From URL in CodeIgniter 4
Usually, in the CodeIgniter 4 project, you will see there is an additional argument in the URL. That is index.php in your project URL. So, if you don’t want this extra parameter then you can remove it. This will make a clean URL of your website. There are several ways to remove this index.php in […]