PHP Developers Sharing Knowledge Since 1999 | PHPBuilder.com



RSS Twitter
FEATURED PHP ARTICLES

Using a JSON Web Token in PHP


Octavia Andreea Anghel | Site Operation | March 30, 2017



Learn how to create, receive and test a JWT in PHP.

Read More »

Join the conversation

How to Set up PHP on an IIS Web Server


Voja Janjic | Application Architecture | February 28, 2017



Although this is not a common combination, some might want to leverage the advantages of Windows servers, while still being able to develop and run PHP applications. In this tutorial, we will see how to install IIS Web server and PHP on a Windows Server 2012.

Read More »

Join the conversation

Using Dependency Injection in PHP


Octavia Andreea Anghel | Site Operation | January 30, 2017



Learn how Dependency Injection can make the life of a developer much easier.

 

Read More »

Join the conversation

Integrate Mailchimp Newsletter Subscriptions with PHP


Voja Janjic | Application Architecture | December 20, 2016



This tutorial discusses how to integrate one of the most popular mailing list services with PHP.

Read More »

Join the conversation

Creating a REST API in Symfony 3


Voja Janjic | Application Architecture Design | November 29, 2016



Nowadays, Web applications are not simply displaying data, they are also integrating with other applications and combining the information and functionalities. A common way to enable easy communication between different applications is the REST API. Let's see how to achieve that with the Symfony 3 PHP framework.

Read More »

Join the conversation

Integrate Bitcoin Payments with PHP


Voja Janjic | Application Architecture Shopping Carts | October 27, 2016



Learn how to allow users to pay for your product or service in Bitcoin.

Read More »

Join the conversation

Integrate a Stripe Payment Gateway with PHP


Voja Janjic | Site Operation | September 15, 2016



Stripe is a payment gateway that is becoming increasingly popular. It offers payment processing services that can be easily integrated into your application using the Stripe API.

Read More »

Join the conversation

Document Your API with ApiDoc


Voja Janjic | Code Documentation Documentation | August 31, 2016



Learn how to use ApiDoc, a tool that automatically creates documentation for your RESTful API.

Read More »

Join the conversation

How to Configure MailCatcher with Laravel


Justin Hamm | Site Operation | August 15, 2016



Using MailCatcher with PHP and Laravel allows a developer to view sent mails and verify application mail functionality while excluding external factors such as mail servers.

Read More »

Join the conversation

Implementing PHP Collection Classes


Octavia Andreea Anghel | Databases | July 29, 2016



Learn how to create a Collection class using the different types of methods used to manipulate arrays and then how to apply the Reflection mechanism over this class.

Read More »

Join the conversation

Expression Engine from a Laravel Developers Perspective


Justin Hamm | Application Architecture Design | July 15, 2016



Learn more about the pros and cons to using Expression Engine from the unique perspective of a Laravel developer.

Read More »

4 Comments Join the conversation

Programmatically Create Sample Testing Data in PHP


Voja Janjic | Application Architecture | June 30, 2016



One testing process improvement is to programmatically create sample testing data. To achieve this, we will use a popular PHP library called Faker.

Read More »

Join the conversation

Read more articles »


Submit an Article Join Now

PHP CODE SNIPPETS

Convert a web page or raw HTML to PDF

Jarda Gresula | January 16, 2011

You can use the Pdfcrowd API to easily create PDF from HTML. The API fully supports HTML/CSS2, you can find the documentation here: http://pdfcrowd.com/html-to-pdf-api/ Read More »

Search and Replace Text Inside PDF Files

Saaspose | March 10, 2013

Use this sample PHP code to search and replace text inside PDF files.

Read More »

Browse the PHP Code Library »


Submit a Snippet Join Now
PHP NEWS


Submit PHP News Join Now