Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Begin by installing this package through Composer.
```js
{
"require": {
"sqrc/eventbrite": "dev-master"
"coolcodemy/eventbrite": "dev-patch-1"
}
}
```
Expand All @@ -18,7 +18,7 @@ Begin by installing this package through Composer.

To create a new event:
```php
$eventbrite = new \Sqrc\Eventbrite\Eventbrite("YOUR_APP_KEY", "YOUR_USER_KEY");
$eventbrite = new \coolcodemy\Eventbrite\Eventbrite("YOUR_APP_KEY", "YOUR_USER_KEY");

// Creates a new event
$eventbrite->createEvent('Hackfest for all', 'Code for 30 Hours straight.', $startDate, $endDate, $timezone, $details);
Expand All @@ -28,4 +28,4 @@ $eventbrite->createEvent('Hackfest for all', 'Code for 30 Hours straight.', $sta

### Laravel 5

I have just taken this package on and am testing for Laravel 5 compatibility.
I have just taken this package on and am testing for Laravel 5 compatibility.
12 changes: 9 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "sqrc/eventbrite",
"name": "coolcodemy/eventbrite",
"description": "Eventbrite is an expressive, fluent wrapper around Eventbrites API",
"keywords": ["laravel", "Eventbrite", "events", "booking"],
"license": "MIT",
Expand All @@ -14,6 +14,12 @@
"email": "nigel.james@squarecloud.com.au",
"homepage" : "http://squarecloud.com.au/",
"role" : "Developer"
},
{
"name": "Ahmad Fikrizaman",
"email": "ahmadfikrizaman@gmail.com",
"homepage" : "https://fikri.my",
"role" : "Developer"
}
],
"require": {
Expand All @@ -25,8 +31,8 @@
"src/migrations"
],
"psr-0": {
"Sqrc\\Eventbrite\\": "src/"
"Coolcodemy\\Eventbrite\\": "src/"
}
},
"minimum-stability": "stable"
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php namespace Sqrc\Eventbrite;
<?php namespace Coolcodemy\Eventbrite;

/**
* Allows for managing eventbrite.com stuff, like event creation, venue and
Expand Down Expand Up @@ -56,7 +56,7 @@ protected function call($url, array $data)

$full_url = $url . '?' . $data_string;

return Response::json(file_get_contents($full_url));
return response()->json(file_get_contents($full_url));
}

}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php namespace Sqrc\Eventbrite;
<?php namespace Coolcodemy\Eventbrite;

use Illuminate\Support\ServiceProvider;

Expand Down