2017 © Pedro Peláez
 

library sked-laravel

Laravel Service Provider for Sked.

image

campusunion/sked-laravel

Laravel Service Provider for Sked.

  • Wednesday, September 14, 2016
  • by mopo922
  • Repository
  • 1 Watchers
  • 1 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Sked-Laravel

Laravel 5 Service Provider for Sked., (*1)

Installation & Setup

Install the Sked Service Provider via Composer by adding the camusunion/sked-laravel package to the require object in your project's composer.json., (*2)

{
    ...
    "require": {
        "camusunion/sked-laravel": "dev-master"
    },
    ...
}

NOTE: This package automatically requires camusunion/sked, so you do NOT have to add it separately to your composer.json., (*3)

Then run composer update., (*4)

Next, add the Sked Service Provider to the providers array in config/app.php., (*5)

    'providers' => [
        ...
        CampusUnion\SkedServiceProvider::class,
    ],

Add the Sked facade to the aliases array in config/app.php., (*6)

    'aliases' => [
        ...
        'Sked' => CampusUnion\SkedFacade::class,
    ],

Configuration

The following environment variables are used to configure Sked:, (*7)

SKED_DC_NAME=PDO
SKED_DC_DRIVER=mysql
SKED_DC_HOST=${DB_HOST}
SKED_DC_DBNAME=${DB_DATABASE}
SKED_DC_USER=${DB_USERNAME}
SKED_DC_PASS=${DB_PASSWORD}

Optional

To customize the configuration options, publish the configuration file using Artisan:, (*8)

php artisan vendor:publish

Update your settings in the generated app/config/sked.php configuration file., (*9)

Usage

foreach (Sked::skeDates() as $skeDate) {
    // do something
}

The Versions

14/09 2016

dev-master

9999999-dev https://github.com/CampusUnion/Sked-Laravel

Laravel Service Provider for Sked.

  Sources   Download

MIT

The Requires

 

The Development Requires

php calendar schedule

14/09 2016

v0.0.5

0.0.5.0 https://github.com/CampusUnion/Sked-Laravel

Laravel Service Provider for Sked.

  Sources   Download

MIT

The Requires

 

The Development Requires

php calendar schedule

08/04 2016

v0.0.4

0.0.4.0 https://github.com/CampusUnion/Sked-Laravel

Laravel Service Provider for Sked.

  Sources   Download

MIT

The Requires

 

The Development Requires

php calendar schedule

06/03 2016

v0.0.3

0.0.3.0 https://github.com/CampusUnion/Sked-Laravel

Laravel Service Provider for Sked.

  Sources   Download

MIT

The Requires

 

The Development Requires

php calendar schedule

06/03 2016

v0.0.2

0.0.2.0 https://github.com/CampusUnion/Sked-Laravel

Laravel Service Provider for Sked.

  Sources   Download

MIT

The Requires

 

The Development Requires

php calendar schedule

06/03 2016

v0.0.1

0.0.1.0 https://github.com/CampusUnion/Sked-Laravel

Laravel Service Provider for Sked.

  Sources   Download

MIT

The Requires

 

The Development Requires

php calendar schedule