GithubHelp home page GithubHelp logo

library-calendar's Introduction

library-calendar

https://packagist.org/packages/mkato/library-calendar

composer require mkato/library-calendar 

about

Calender Manager (ex: GoogleCalenderManager) is doing the hard things. It get's the schedules from the calendar via api.

If you're using google calendar, the code is ready for you. Use Calendar.php and it's already connected with the GoogleCalendarManager.

To use a different calendar, you have to create a calendar manager and schedule using the interface of those two. Then use service provider to extend the singleton of CalendarManager::class to your created class.

how to use?

Calling the Calendar.php, you can get your busy time or free time. However, you have to authenticate your email so it can access your calendar.

features

free time

It returns the time which has no schedule between the datetime you passed. Because it just looks into the schedule, the target time is 24 hours. Therefore midnight time will also be selected as a free time.

busy time

It returns the time which has some kind of schedule.

library-calendar's People

Contributors

m1a9s9a4 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.