2017 © Pedro Peláez
 

yii2-extension yii2-time-of-prayer

Show time of prayer for cities of iran country.

image

mehrdadakbari/yii2-time-of-prayer

Show time of prayer for cities of iran country.

  • Saturday, August 20, 2016
  • by mehrdadakbari
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Time of prayer

Show time of prayer for cities of iran country., (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist mehrdadakbari/yii2-time-of-prayer "*"

or add, (*4)

"mehrdadakbari/yii2-time-of-prayer": "*"

to the require section of your composer.json file., (*5)

Usage

Once the extension is installed, simply use it in your code by :, (*6)

= \mehrdadakbari\prayerTime\PrayerTime::widget(); ?>

and insert into the controller

public function actions()
    {
        return [
            .
            .
            .
            'prayer'=>[
                'class' => 'mehrdadakbari\prayerTime\PrayerAction'
            ]
        ];
    }

sample

<?= prayerTime\PrayerTime::widget([
        'method'=>'Tehran',
        'timeFormat'=>'24h',
        'city'=>'دهلران',
        'province'=>'ايلام'
    ]); ?>

The Versions

20/08 2016

dev-master

9999999-dev

Show time of prayer for cities of iran country.

  Sources   Download

GPL-3.0+

The Requires

 

by Mehrdad Akbari

extension yii2 time prayer اوقات شرعی وقت نماز