LaravelPackages.net
Acme Inc.
Toggle sidebar
sandeepchowdary7/laraeventful

Simple and extensible Eventful API PHP Client with Laravel Support based on Guzzle 6

5
1
V1.1.0
About sandeepchowdary7/laraeventful

sandeepchowdary7/laraeventful is a Laravel package for simple and extensible eventful api php client with laravel support based on guzzle 6. It currently has 1 GitHub stars and 5 downloads on Packagist (latest version V1.1.0). Install it with composer require sandeepchowdary7/laraeventful. Discover more Laravel packages by sandeepchowdary7 or browse all Laravel packages to compare alternatives.

Last updated

Eventful API Laravel Wrapper

A Laravel wrapper for Eventful's PHP wrapper for their REST API

Latest Version on Packagist Software License Total Downloads

Simple and extensible Eventful API PHP Client with Laravel Facade and ServiceProvider based on Guzzle 6 Currently it supports only userless endpoint requests.

Installation

  1. Add the package as a dependency in your composer.json
composer require sandeepchowdary7/laraeventful
  1. publish the vendor config file
php artisan vendor:publish --provider="Sandeepchowdary7\Laraeventful\LaraeventfulServiceProvider"
  1. Add your Eventful API token to the config file located in app/config/eventful.php. I recommend you add this key to your project .env file instead of directly adding it to your config file. You can find your API token at the user settings page (https://www.eventful.com).
EVENTFUL_APP_KEY=your app key here

Laravel <= 5.4

  1. Add the following line to your providers array in your config/app.php file
Sandeepchowdary7\Laraeventful\LaraeventfulServiceProvider::class,
  1. Add the following line to your aliases array in your config/app.php file
'Eventful' => Sandeepchowdary7\Laraeventful\Facade\LaraeventfulFacade::class,

The following functions are available:

Init Eventful rqst

 $event = new Eventful();

For City Events Info

 $event = new Eventful();
 $event->getCityEvents($cityName);

For more information about the REST API go to this link: http://api.eventful.com/

License

The MIT License (MIT). Please see License File for more information.

Star History Chart