PHP Classes

Vehicle Simulator: Simulate the functions of different vehicle types

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 275 All time: 7,639 This week: 201Up
Version License PHP version Categories
vehicle-simulator 1.0.0Free for non-comm...5.4PHP 5, Emulators


This package can simulate the functions of different vehicle types.

It provides a generic vehicle class that provides functions like drive, travel, arrived, pick, etc..

Other functionality can be added to a vehicle object that using component objects of decorator classes. Calls to new functions are delegated to the decorator objects.

The package provides component classes to add an engine and wheels to the vehicle.

Innovation Award
PHP Programming Innovation award nominee
June 2016
Number 4

Prize: One downloadable copy of PhpED Professional
Simulators are useful to reproduce real world situations using computational models.

This package can simulate several types of vehicles and their functionality and states, like driving, traveling, arrived, picking, wheels, engines, etc..

Manuel Lemos
Picture of Chi H.
  Performance   Level  
Name: Chi H. <contact>
Classes: 28 packages by
Country: France France
Age: 38
All time rank: 34622 in France France
Week rank: 115 Up6 in France France Up
Innovation award
Innovation award
Nominee: 22x

Winner: 3x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example
Accessible without login Plain text file TestPrint.txt Output Unit-test output
Plain text file vehicle.php Class vehicle
Accessible without login Plain text file vehicleTest.php Test Unit-test

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,639
This week:201Up