PHP Encapsulation June 28, 2012 Pramod T P Leave a comment Encapsulation is the packing of data and functions into a single component. The features of encapsulation are supported using classes in most object-oriented programming languages, although other alternatives also exist.