PHP

PHP is a popular scripting language for web development. It can create dynamic and interactive web pages by running on the server and sending HTML to the browser. It is free, fast, and flexible,

PHP: 3 Ways to Get N Random Elements from an Array

Updated: February 19, 2024 By: Guest Contributor

Overview Getting random elements from an array is a common task in many PHP applications. Whether you’re building a quiz app that selects random questions, implementing a feature…

PHP: Find and download photos by keyword from Unsplash API

Updated: February 14, 2024 By: Guest Contributor

Introduction In this tutorial, we’ll dive into how to use the Unsplash API with PHP to search for photos by keyword and download them. Unsplash provides high-quality free…

Laravel + Faker: Generate user with email and gender based on name

Updated: February 14, 2024 By: Guest Contributor

Introduction When developing applications, especially in the testing phase, there’s often a need for generating dummy data. Laravel, a robust PHP framework, provides seamless integration with Faker, a…

Laravel: Rendering CSV data in an HTML table

Updated: February 14, 2024 By: Guest Contributor

Overview In this tutorial, we will explore how to render CSV data within an HTML table using Laravel, a popular PHP framework known for its simplicity and elegance…

i18n in Laravel: A Practical Guide (with Examples)

Updated: February 13, 2024 By: Guest Contributor

Introduction Laravel, a powerful MVC PHP framework, is known for its ease of use and flexibility, especially when it comes to building scalable and maintainable web applications. Internationalization…

Laravel: Generating sample users with passwords using Faker

Updated: February 13, 2024 By: Guest Contributor

Introduction When building web applications, having sample data for testing and presentation can be invaluable. Laravel, a popular PHP framework for web development, provides an elegant solution to…

Laravel: How to create custom Faker providers

Updated: February 13, 2024 By: Guest Contributor

Introduction When working with test data in Laravel, the Faker library is an invaluable tool for generating a wide variety of mock data for your application. However, there…

Laravel & Eloquent: Seeding a CSV file into a MySQL database

Updated: February 13, 2024 By: Guest Contributor

Overview In this tutorial, we will explore how to seed a CSV file into a MySQL database using Laravel, a popular PHP framework well-known for its elegant syntax…

Laravel: Using Faker to Seed Sample Data (for Testing & Practice)

Updated: February 13, 2024 By: Guest Contributor

Introduction When working on a Laravel application, populating your database with realistic sample data is invaluable for testing and development. One of the most elegant and convenient ways…

Laravel + Blade: How to Render Array Data with Tables

Updated: February 6, 2024 By: Guest Contributor

Introduction In this comprehensive guide, we will explore how to efficiently render array data within tables using Laravel, a prominent PHP framework, and its templating engine, Blade. Laravel…

1 2 3 4 5 95