Skip to content

Commit

Permalink
Renamed repo to daveismyname/laravel-msgraph
Browse files Browse the repository at this point in the history
  • Loading branch information
daveismynamecom committed Feb 9, 2019
1 parent cb29b32 commit 6785653
Show file tree
Hide file tree
Showing 15 changed files with 34 additions and 34 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@ Added new traits:
* Events

Renamed all methods to be action followed by name ie `getEmails`

## Version 1.1.5

Renamed repo to daveismyname/laravel-msgraph
14 changes: 5 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "daveismynamelaravel/msgraph",
"name": "daveismyname/laravel-msgraph",
"description": "A Laravel Microsoft Graph API package",
"license": "MIT",
"authors": [
Expand All @@ -9,29 +9,25 @@
"homepage": "https://daveismyname.blog"
}
],
"homepage": "https://github.com/daveismynamelaravel/box",
"homepage": "https://github.com/daveismyname/laravel-msgraph",
"keywords": ["Laravel", "MsGraph", "Graph"],
"require": {
"illuminate/support": "~5",
"league/oauth2-client": "^1.4",
"guzzlehttp/guzzle": "^6"
},
"require-dev": {
"phpunit/phpunit": "~6.0",
"orchestra/testbench": "~3.0"
},
"autoload": {
"psr-4": {
"DaveismynameLaravel\\MsGraph\\": "src/"
"Daveismyname/MsGraph\\": "src/"
}
},
"extra": {
"laravel": {
"providers": [
"DaveismynameLaravel\\MsGraph\\MsGraphServiceProvider"
"Daveismyname\\MsGraph\\MsGraphServiceProvider"
],
"aliases": {
"MsGraph": "DaveismynameLaravel\\MsGraph\\Facades\\MsGraph"
"MsGraph": "Daveismyname\\MsGraph\\Facades\\MsGraph"
}
}
}
Expand Down
10 changes: 5 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,22 @@ The other options are optional, click save at the bottom of the page to save you
Via Composer

``` bash
$ composer require daveismynamelaravel/msgraph
$ composer require daveismyname/laravel-msgraph
```

In Laravel 5.5 the service provider will automatically get registered. In older versions of the framework just add the service provider in config/app.php file:

```
'providers' => [
// ...
DaveismynameLaravel\MsGraph\MsGraphServiceProvider::class,
Daveismyname\MsGraph\MsGraphServiceProvider::class,
];
```

You can publish the migration with:

```
php artisan vendor:publish --provider="DaveismynameLaravel\MsGraph\MsGraphServiceProvider" --tag="migrations"
php artisan vendor:publish --provider="Daveismyname\MsGraph\MsGraphServiceProvider" --tag="migrations"
```

After the migration has been published you can create the tokens tables by running the migration:
Expand All @@ -55,7 +55,7 @@ php artisan migrate
You can publish the config file with:

```
php artisan vendor:publish --provider="DaveismynameLaravel\MsGraph\MsGraphServiceProvider" --tag="config"
php artisan vendor:publish --provider="Daveismyname\MsGraph\MsGraphServiceProvider" --tag="config"
```

When published, the config/msgraph.php config file contains:
Expand Down Expand Up @@ -280,7 +280,7 @@ Please see the [changelog](changelog.md) for more information on what has change

Contributions are welcome and will be fully credited.

Contributions are accepted via Pull Requests on [Github](https://github.com/daveismynamelaravel/msgrapth).
Contributions are accepted via Pull Requests on [Github](https://github.com/daveismyname/laravel-msgrapth).

## Pull Requests

Expand Down
2 changes: 1 addition & 1 deletion src/Api/Calendar.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace DaveismynameLaravel\MsGraph\Api;
namespace Daveismyname\MsGraph\Api;

trait Calendar
{
Expand Down
2 changes: 1 addition & 1 deletion src/Api/CalendarEvents.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace DaveismynameLaravel\MsGraph\Api;
namespace Daveismyname\MsGraph\Api;

trait CalendarEvents
{
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Contacts.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace DaveismynameLaravel\MsGraph\Api;
namespace Daveismyname\MsGraph\Api;

trait Contacts {

Expand Down
2 changes: 1 addition & 1 deletion src/Api/Drive.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace DaveismynameLaravel\MsGraph\Api;
namespace Daveismyname\MsGraph\Api;

trait Drive {

Expand Down
2 changes: 1 addition & 1 deletion src/Api/Emails.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace DaveismynameLaravel\MsGraph\Api;
namespace Daveismyname\MsGraph\Api;

trait Emails {

Expand Down
2 changes: 1 addition & 1 deletion src/Api/Events.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace DaveismynameLaravel\MsGraph\Api;
namespace Daveismyname\MsGraph\Api;

trait Events
{
Expand Down
2 changes: 1 addition & 1 deletion src/Api/ToDo.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace DaveismynameLaravel\MsGraph\Api;
namespace Daveismyname\MsGraph\Api;

trait ToDo {

Expand Down
2 changes: 1 addition & 1 deletion src/Facades/MsGraph.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace DaveismynameLaravel\MsGraph\Facades;
namespace Daveismyname\MsGraph\Facades;

use Illuminate\Support\Facades\Facade;

Expand Down
2 changes: 1 addition & 1 deletion src/Models/MsGraphToken.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace DaveismynameLaravel\MsGraph\Models;
namespace Daveismyname\MsGraph\Models;

use Illuminate\Database\Eloquent\Model;

Expand Down
14 changes: 7 additions & 7 deletions src/MsGraph.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?php

namespace DaveismynameLaravel\MsGraph;
namespace Daveismyname\MsGraph;

/**
* msgraph api documenation can be found at https://developer.msgraph.com/reference
**/

use DaveismynameLaravel\MsGraph\Facades\MsGraph as Api;
use DaveismynameLaravel\MsGraph\Api\Contacts;
use DaveismynameLaravel\MsGraph\Api\Drive;
use DaveismynameLaravel\MsGraph\Api\Emails;
use DaveismynameLaravel\MsGraph\Api\ToDo;
use DaveismynameLaravel\MsGraph\Models\MsGraphToken;
use Daveismyname\MsGraph\Facades\MsGraph as Api;
use Daveismyname\MsGraph\Api\Contacts;
use Daveismyname\MsGraph\Api\Drive;
use Daveismyname\MsGraph\Api\Emails;
use Daveismyname\MsGraph\Api\ToDo;
use Daveismyname\MsGraph\Models\MsGraphToken;

use League\OAuth2\Client\Provider\GenericProvider;
use League\OAuth2\Client\Provider\Exception\IdentityProviderException;
Expand Down
4 changes: 2 additions & 2 deletions src/MsGraphAuthenticated.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace DaveismynameLaravel\MsGraph;
namespace Daveismyname\MsGraph;

use Closure;
use DaveismynameLaravel\MsGraph\Facades\MsGraph;
use Daveismyname\MsGraph\Facades\MsGraph;

class MsGraphAuthenticated
{
Expand Down
4 changes: 2 additions & 2 deletions src/MsGraphServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace DaveismynameLaravel\MsGraph;
namespace Daveismyname\MsGraph;

use Illuminate\Support\ServiceProvider;
use DaveismynameLaravel\MsGraph\MsGraphAuthenticated;
use Daveismyname\MsGraph\MsGraphAuthenticated;

class MsGraphServiceProvider extends ServiceProvider
{
Expand Down

0 comments on commit 6785653

Please sign in to comment.