sfPHPCalendarPlugin - 0.9.0

This plugin is a simple wrapper for the PHPCalendar package to allow configuration to be stored in your application configuration files.

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to the Plugins Home


Forgot your password?
Create an account



advanced search
Information Readme Releases Changelog Contribute
Show source

sfPHPCalendarPlugin (for Symfony 1.2)

The sfPHPCalendarPlugin is a simple wrapper plugin around the PHPCalendar package developed by Gerd Tentler. This allows you to setup some of the basic configuration for PHPCalendar in your app.yml file eliminating redundant configuration code in your application. In time there may be some additional helper functions but for now this is just an easy way to include PHPCalendar.


  • Install the plugin

     $ symfony plugin:install sfPHPCalendarPlugin
  • or

     $ svn co https://sfphpmailer.svn.sourceforge.net/svnroot/sfphpcalendar/trunk sfPHPCalendarPlugin
  • Add your mailer defaults to your app.yml file

        offset:                    1          // week start: 0 - 6 (0 = Saturday, 1 = Sunday, 2 = Monday ...)
        weekNumbers:               true       // view week numbers: true = yes, false = no
  • Clear your cache

     $ symfony cc


The documentation on how to use PHPCalendar can be found in the lib/vendor/PHPCalendar-v2.9 directory or on Gerd Tentler.


  • better documentation


This code is still listed as beta only because I have not yet finished my implemenation of the plugin and I may find that there are utility functions that I would like to include. Since this is just a wrapper around PHPCalendar v2.9 you can easily consider this plugin stable.