PHP Classes
elePHPant
Icontem

Apple OS X build: Return OS X version from build number

Recommend this page to a friend!
  Info   View files Documentation   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-05-18 (7 days ago) RSS 2.0 feedNot enough user ratingsTotal: 29 This week: 17All time: 8,875 This week: 49Up
Version License PHP version Categories
apple-os-x-build 1.0Custom (specified...5PHP 5, Mac OS
Description Author

This class can return OS X version from build number.

It can take the build number string for a OS X release and returns the official version number.

The class can also return an array of all known OS X builds and version numbers.

  Performance   Level  
Name: Peter Kahl <contact>
Classes: 18 packages by
Country: Hong Kong Hong Kong
Age: ???
All time rank: 8384 in Hong Kong Hong Kong
Week rank: 2 Up1 in Hong Kong Hong Kong Up
Innovation award
Innovation award
Nominee: 6x

Details

Apple OS X Build

Associative array of OS X build and version codes that can be used in various ways.

Usage

use peterkahl\OSXbuild\OSXbuild;

# Takes OS X build code and returns corresponding OS X version.
echo OSXbuild::getVersion('16E195'); # 10.12.4

# Returns associative array of OS X versions.
$array = OSXbuild::getArray();

# Returns a randomly chosen OS X Calendar User Agent string.
echo OSXbuild::getCalendarUA(); # Mac+OS+X/10.12.2 (16C67) CalendarAgent/384

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Plain text file OSXbuild.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:29
This week:17
All time:8,875
This week:49Up
User Comments (1)
nice
7 days ago (muabshir)
70%StarStarStarStar