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 Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-07-29 (2 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 48 All time: 10,739 This week: 38Up
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
Age: 33
All time rank: 792109 in United States United States
Week rank: 43 Up5 in United States United States Up
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 (18)  
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 (18)  /  helpers  
File Role Description
  Plain text file popo.php Class Class source

  Files folder image Files (18)  /  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 (18)  /  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 (18)  /  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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:48
This week:0
All time:10,739
This week:38Up