icalreader
![Software License][ico-license]
![Test Coverage][ico-codeclimate-coverage]
![Coverage Status][ico-scrutinizer]
![Total Downloads][ico-downloads], (*1)
License
This ics-parser is under MIT License. You may use it for your own sites for free,
but I would like to get a notice when you use it (info@martin-thoma.de). If you
use it for another software project, please state the information / links to
this project in the files., (*2)
It is hosted at https://github.com/MartinThoma/ics-parser/ and the PEAR coding
standard is used., (*3)
It was modified by John Grogg to properly handle recurring events (specifically
with regards to Microsoft Exchange)., (*4)
It was later modified by Ariel Vallese to be easily integrated to Laravel with
through the Service Provider and support services., (*5)
Tests have been written and a code refactor is planned to take place., (*6)
Install
Via Composer, (*7)
``` bash
$ composer require timegridio/icalreader, (*8)
Add the Service Provider:
Timegridio\ICalReader\ICalReaderServiceProvider::class,
## Usage
$icalevents = app()->make('ical');
$icalevents->loadUrl('http://example.org/calendar.ics');
$busy = $this->icalevents->isBusy(Carbon::parse('2016-07-06 10:30'));
// true|false
[Checkout the tests](tests/unit/) to find more examples.
## Change log
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Testing
``` bash
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details., (*9)
Security
If you discover any security related issues, please email alariva@timegrid.io instead of using the issue tracker., (*10)
Credits
License
The MIT License (MIT). Please see License File for more information., (*11)