2017 © Pedro Peláez
 

library purduecourse

Laravel Purdue Univeristy Course API Package

image

dongyukang/purduecourse

Laravel Purdue Univeristy Course API Package

  • Friday, June 16, 2017
  • by dongyukang
  • Repository
  • 2 Watchers
  • 0 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

Intro, (*1)


Synopsis

This Laravel package completely depends on Purdue API. I developed this package, because I wanted to ease off the process of using Purdue Course API, at the same time, I wanted to provide a tool that helps to focus on what we want to build without spending too much time on writing long queries. I believe that my primary goal of making the Purdue API as easily usable and approachable as possible in PHP is getting successful and hope it will be further developed and upgraded in the future., (*2)

Introduction

As this package is based on the Purdue API, requesting to the web to obtain the data is necessary. Thus, it requires to use a GuzzleHttp package., (*3)


Installing and Setting Up the Package

This package requires a GuzzleHttp package., (*4)

Installing

composer require dongyukang/purduecourse

Setup

Register DongyuKang\PurdueCourse\PurdueCourseServiceProvider in 'providers' array of config/app.php., (*5)

Usage

If you want to use Facade, then add, (*6)

use DongyuKang\PurdueCourse\Facades\Purdue;

on the top section., (*7)


Purpose and Example

I developed this package primarily to reduce amount of time and code that I should spend and write to retrieve Purdue course data., (*8)

For instance, if you want to request every data of 'CS 180' during Fall semester of 2016. You just write a single line of code,, (*9)

Purdue::fall(2016)->course('cs 180')->all();

instead of lines of sending requests, writing queries, parsing data and all other time consuming tasks, this package will take care of every long and repeating process., (*10)

Below is a screenshot of result data that you will get from the code above., (*11)

Result, (*12)

For more detail, refer to WIKI, (*13)

The Versions

16/06 2017

dev-master

9999999-dev

Laravel Purdue Univeristy Course API Package

  Sources   Download

MIT

The Requires

 

by Dongyu Kang

16/06 2017

dev-dev

dev-dev

Laravel Purdue Univeristy Course API Package

  Sources   Download

MIT

The Requires

 

by Dongyu Kang

16/06 2017

v1.0.7

1.0.7.0

Laravel Purdue Univeristy Course API Package

  Sources   Download

MIT

The Requires

 

by Dongyu Kang

15/06 2017

v1.0.6

1.0.6.0

Laravel Purdue Univeristy Course API Package

  Sources   Download

MIT

The Requires

 

by Dongyu Kang

14/06 2017

v1.0.5

1.0.5.0

Laravel Purdue Univeristy Course API Package

  Sources   Download

MIT

The Requires

 

by Dongyu Kang

10/06 2017

v1.0.4

1.0.4.0

Laravel Purdue Univeristy Course API Package

  Sources   Download

MIT

The Requires

 

by Dongyu Kang

08/06 2017

v1.0.3

1.0.3.0

Laravel Purdue Univeristy Course API Package

  Sources   Download

MIT

The Requires

 

by Dongyu Kang

30/05 2017

v1.0.2

1.0.2.0

Laravel Purdue Univeristy Course API Package

  Sources   Download

MIT

The Requires

 

by Dongyu Kang

30/05 2017

v1.0.1

1.0.1.0

Laravel Purdue Univeristy Course API Package

  Sources   Download

MIT

The Requires

 

by Dongyu Kang

29/05 2017

1.0.0

1.0.0.0

Laravel Purdue Univeristy Course api package

  Sources   Download

MIT

The Requires

 

by Dongyu Kang

29/05 2017

1.0.0-alpha

1.0.0.0-alpha

Laravel Purdue Univeristy Course api package

  Sources   Download

MIT

The Requires

 

by Dongyu Kang