PHP Classes

Apple iOS build: Get the version of a iOS build and version codes

Recommend this page to a friend!
  Info   View files Documentation   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 126 All time: 9,382 This week: 83Up
Version License PHP version Categories
apple-ios-build 1.0.89Custom (specified...5PHP 5, Mac OS, Parsers
Description 

Author

This class can get the version of a iOS build and version codes.

It can take the version code of a and determines the version of each known application that refers to given version code.

The class can also return the list of known iOs versoin builds.

Innovation Award
PHP Programming Innovation award nominee
May 2017
Number 10
iOS has build numbers that have an associated build code.

This class can take the build code and determine the respective build number.

Manuel Lemos
Picture of Peter Kahl
  Performance   Level  
Name: Peter Kahl <contact>
Classes: 37 packages by
Country: United Kingdom
Age: ???
All time rank: 41721 in United Kingdom
Week rank: 91 Up3 in United Kingdom Up
Innovation award
Innovation award
Nominee: 23x

Winner: 2x

Documentation

Apple iOS Build

Downloads Download per Month License If this project has business value for you then don't hesitate to support me with a small donation.

Associative array of iOS build and version codes.

Usage

use peterkahl\iOSbuild\iOSbuild;

# Takes iOS build code and returns corresponding iOS version.
echo '14F5080a ............ '. iOSbuild::getVersion('14F5080a') ."\n";
# Let's try build code that's not in our array:
echo '14E287   ............ '. iOSbuild::getVersion('14E287') ."\n";
/*
14F5080a ............ 10.3.2b3
14E287   ............ 10.3
*/

# Are build/version data outdated? Older than 30 days:
if (iOSbuild::GetDataTimestamp() < time() - 30*86400) {
  echo 'OUTDATED';
  # Send email to admin to do something?
}

# Returns associative array of iOS versions.
$array = iOSbuild::getArray();

# Returns a randomly chosen iOS Calendar User Agent string.
echo iOSbuild::getCalendarUA(); # iOS/10.0.1 (14A403) dataaccessd/1.0

# Optionally, you can specify a minimum version of iOS (to get random User Agent string).
# Argument must be a string in format 'MAJOR.MINOR' (1 dot only.)
echo iOSbuild::getCalendarUA('6.0');


  Files folder image Files  
File Role Description
Files folder imagesrc (2 files)
Accessible without login Plain text file .travis.yml Data Auxiliary data
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
  Accessible without login Plain text file data.php Aux. Auxiliary script
  Plain text file iOSbuild.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:126
This week:0
All time:9,382
This week:83Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:68%StarStarStarStar
Documentation:62%StarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:2610