PHP Classes

PHP Season of the Year: Get the names of the seasons in several languages

Recommend this page to a friend!
  Info   View files Documentation   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2018-07-12 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 72 All time: 9,516 This week: 325Up
Version License PHP version Categories
season-info-multilin 1.0Custom (specified...5Localization, PHP 5, Time and Date
Description Author

This class can get the names of the seasons in several languages.

It can take as parameter the name of the year season like summer, spring, autumn and winder, and returns the respective name in different languages.

The season name can be retrieved in different languages like arabic, czech, danish, german, english, spanish, french, hebrew, italian, japanese, ducth, portuguese, russian, chinese, etc..

Innovation Award
PHP Programming Innovation award nominee
May 2017
Number 10
As we all know, each season of the year has a name. The name changes from language to language.

This class can get the names of the year seasons in many different languages.

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

Winner: 2x




Translates name of season to 19 languages and scripts.


usee peterkahl\SeasonInfo\SeasonInfo;

echo SeasonInfo::getName('autumn', 'en-us'); # fall

echo SeasonInfo::getName('spring', 'it');    # primavera

  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 Doc. Documentation

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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,516
This week:325Up