iCal reader wrapper for Laravel 5
Installs: 19 992
Open Issues: 1
- php: >=5.6
- laracasts/testdummy: ~2.3
- nesbot/carbon: ~1.21
- orchestra/testbench: ~3.2.0
- phpunit/phpunit: ~4.0||~5.0
- scrutinizer/ocular: ~1.1
- squizlabs/php_codesniffer: ~2.3
This package is not auto-updated.
Last update: 2023-03-18 11:22:35 UTC
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 (firstname.lastname@example.org). If you use it for another software project, please state the information / links to this project in the files.
It is hosted at https://github.com/MartinThoma/ics-parser/ and the PEAR coding standard is used.
It was modified by John Grogg to properly handle recurring events (specifically with regards to Microsoft Exchange).
It was later modified by Ariel Vallese to be easily integrated to Laravel with through the Service Provider and support services.
Tests have been written and a code refactor is planned to take place.
$ composer require timegridio/icalreader
Add the Service Provider:
$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 to find more examples.
Please see CHANGELOG for more information what has changed recently.
$ composer test
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email email@example.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.