Download the PHP package chrishardie/laravel-calendar-crawler without Composer
On this page you can find all versions of the php package chrishardie/laravel-calendar-crawler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download chrishardie/laravel-calendar-crawler
More information about chrishardie/laravel-calendar-crawler
Files in chrishardie/laravel-calendar-crawler
Package laravel-calendar-crawler
Short Description Laravel package to enable crawling web pages for event data, generating corresponding ICS feeds
License MIT
Homepage https://github.com/chrishardie/laravel-calendar-crawler
Informations about the package laravel-calendar-crawler
Laravel package to enable crawling web pages for event data, generating corresponding ICS feeds
Installation
You can install the package via composer:
You can publish and run the migrations with:
You can publish the config file with:
This is the contents of the published config file:
You can add a web route for a calendar ICS feed of all stored events:
Usage
1) Use an admin interface, artisan tinker session, DB seeder file or direct database call to add calendar sources. The main fields needed are:
- Name
- Type (currently,
GoogleCalendarorFacebookPage) - Home URL
- Location (either the Google Calendar calendar ID or the Facebook Page's numeric page ID)
2) If you specify any GoogleCalendar sources, you will need to create an API key and then define a GOOGLE_CAL_API_KEY with that key as the value in your .env file.
3) The sources provided will be crawled according to the update frequency specified.
4) Use the event data elsewhere within your Laravel application directly, or retrieve an ICS calendar feed of events at the stream_url location specified.
Crawling issues, errors and notices will be written to the log stack configured. Consider using a Slack channel for convenience.
Uninstalling
Remove any web routes created during installation.
Remove the package and any dependencies:
Remove config/calendar-crawler.php.
Drop the related tables in a new migration:
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-calendar-crawler with dependencies
ext-json Version *
fabpot/goutte Version ^4.0
google/apiclient Version ^2.0
html2text/html2text Version ^4.3
illuminate/contracts Version ^8.37
spatie/icalendar-generator Version ^2.3
spatie/laravel-package-tools Version ^1.4.3