PHP Classes

How to Defined Plain Old PHP Object Classes to Abstract Simple Data Types Using the Package POPO: Provides plain old PHP objects with simple classes

Recommend this page to a friend!
  Info   View files View files (18)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-07-29 (Yesterday) RSS 2.0 feedNot yet rated by the usersTotal: 27 This week: 27All time: 11,151 This week: 2Up
Version License PHP version Categories
popo 1.0.0MIT/X Consortium ...5PHP 5, Data types, Language
Description 

Author

This package provides plain old PHP objects with simple classes.

It provides several base classes and other classes extending those classes implementing data types.

Currently, it provides classes that implement data types like:

- Arrays

- Booleans

- Collection

- Date

- Double

- Integer

- Mixed

- Object

- Scalar

- String

- Timestamp

- Type

- Structure

Picture of Nahid Bin Azhar
  Performance   Level  
Name: Nahid Bin Azhar <contact>
Classes: 24 packages by
Country: United States United States
Innovation award
Innovation award
Nominee: 6x

Winner: 2x

Details

POPO (Plain Old PHP Object)

POPO is an Entity based PHP package to generate plain PHP object.

Requirement

  • PHP 7.0 >=

Installation

composer require nahid/popo

Usage


  Files folder image Files  
File Role Description
Files folder imagehelpers (1 file)
Files folder imagesrc (1 file, 2 directories)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  helpers  
File Role Description
  Plain text file popo.php Class Class source

  Files folder image Files  /  src  
File Role Description
Files folder imageExceptions (2 files)
Files folder imageTypes (12 files)
  Plain text file Struct.php Class Class source

  Files folder image Files  /  src  /  Exceptions  
File Role Description
  Plain text file TypeMismatchException.php Class Class source
  Plain text file UnknownStructException.php Class Class source

  Files folder image Files  /  src  /  Types  
File Role Description
  Plain text file Arr.php Class Class source
  Plain text file Boolean.php Class Class source
  Plain text file Collection.php Class Class source
  Plain text file Date.php Class Class source
  Plain text file Double.php Class Class source
  Plain text file Integer.php Class Class source
  Plain text file Mixed.php Class Class source
  Plain text file Obj.php Class Class source
  Plain text file Scalar.php Class Class source
  Plain text file Str.php Class Class source
  Plain text file Timestamp.php Class Class source
  Plain text file Type.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:27
This week:27
All time:11,151
This week:2Up