Find PHP Code Snippets

A repository of useful PHP code snippets to help on your projects.

Featured Snippets

Clean Data From Line Breaks

When exporting data to CSV line breaks can cause problems getting the data into the correct columns, removing them is the best course of action.

Read More »

Have your own useful snippets?

Do use snippets of PHP code to help in your dev project? Let us know and we’ll add them to our directory.