Recently published tutorials
PHP for Office
PHPWord is a library written in pure PHP that provides a set of classes to write to and read from different document file formats
PHP functional programming for beginner
We were taught to implement algorithm using basic coding blocks such as loops and conditionals when we started programming
PHP Generator - processing dataset
imagine we need a function that returns a series of numbers from one to twenty. Typically we will solve it this way
PHP Generator - reading file content
Normal we will load the file content to memory and read its content using a loop
PHP + Google Map polygon shape creator
It is normally "localhost" unless your database server is sitting in a different server from your application server
PHP OOP simple poll system
Its purpose is to demonstrate how we can use OOP style coding to create such as system. It is not made for production environment
PHP pagination tutorial
So you do not have to worry about the data source (database) part. All of our concerns will be the pagination numbers as well as navigation
PHPUnit Beginner Part 1: Get Started
In this tutorial we will explain why we should write unit tests to cover the codes we are writing and the power of PHPUnit
PHPUnit Beginner Part 2: Data Provider
The same applies to tests. Which means we will need to write multiple tests to test the same function using different set of data
PHPUnit Beginner Part 3: Test Double
We can use test double to replace the calling class. Since a test double can be configured to return predefined results
PHPUnit Tip - Access Private Properties of an Object via Closure
we share a tip on how we can access a private property of an object without using getter/setter methods
PHPUnit tips
instead of digging into its method implementation detail. It also helps others get a quick idea of what our public APIs are capable of
Showing 133 to 144 of 178 results