Skip to content

Commit

Permalink
Removed composer.lock from repository, changed the CHANGELOG.md and R…
Browse files Browse the repository at this point in the history
…EADME.md
  • Loading branch information
NikolaGavric94 committed Sep 26, 2017
1 parent 50d6434 commit 710ca98
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 3,793 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
vendor/
composer.lock
.env
*.cache
*.cache
18 changes: 17 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Fixed charge method in HasCustomer, had some redundant code
- Changed credentials for square api

[Unreleased]: https://github.com/NikolaGavric94/laravel-square/compare/v1.0.1...HEAD
## [1.0.2] - 2017-09-25
### Changed
- Upgraded to work with Laravel 5.5.x

### Fixed
- Resolved [#7](https://github.com/NikolaGavric94/laravel-square/issues/7)

## [1.0.3] - 2017-09-26
### Added
- Automatic registration of package service providers and facades

### Fixed
- Resolved [#8](https://github.com/NikolaGavric94/laravel-square/issues/8)

[Unreleased]: https://github.com/NikolaGavric94/laravel-square/compare/v1.0.3...HEAD
[1.0.1]: https://github.com/NikolaGavric94/laravel-square/compare/v1.0.0...v1.0.1
[1.0.2]: https://github.com/NikolaGavric94/laravel-square/compare/v1.0.1...v1.0.2
[1.0.3]: https://github.com/NikolaGavric94/laravel-square/compare/v1.0.2...v1.0.3
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,26 @@ nikolag/square
Square integration with laravel 5.5.x

## Installation guide
`composer require nikolag/square --dev`
`composer require nikolag/square`

Open `app.php` file and add:
```javascript
//providers
Nikolag\Square\Providers\SquareServiceProvider::class
##### Due to Laravel [Package Discovery](https://laravel.com/docs/5.5/packages#package-discovery), registering service providers and facades manually for this project as of Laravel 5.5 is deprecated and no longer required since the package is adapted to automatically register these stuff for you.
But there are still couple of steps to do in order to use this package.

//aliases
'Square' => Nikolag\Square\Facades\Square::class
```
---

Publish the configuration file needed for library to work with the following command:
```javascript
php artisan vendor:publish --tag=nikolag_config
```

After that also add your credentials for Square API inside of `.env` and also add fully qualified name for your classes.
and run migrations too:
```javascript
php artisan migrate
```

---

After that add your credentials for Square API inside of `.env` and also add fully qualified name for your classes.
```javascript
SQUARE_APPLICATION_ID=<YOUR_APPLICATION_ID>
SQUARE_TOKEN=<YOUR_ACCESS_TOKEN>
Expand Down
Loading

0 comments on commit 710ca98

Please sign in to comment.