Skip to content
This repository was archived by the owner on Feb 16, 2022. It is now read-only.

Commit 8360997

Browse files
committed
Merge branch 'release/v1.0.0'
* release/v1.0.0: Rename package to rinvex/laravel-bookings and bump versions Update composer dependencies Support Laravel v5.7+ and drop v5.6
2 parents 7c8bbbe + 28bf626 commit 8360997

File tree

5 files changed

+33
-26
lines changed

5 files changed

+33
-26
lines changed

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
This project adheres to [Semantic Versioning](CONTRIBUTING.md).
66

77

8+
## [v1.0.0] - 2018-10-01
9+
- Enforce Consistency
10+
- Support Laravel 5.7+
11+
- Rename package to rinvex/laravel-bookings
12+
813
## [v0.0.3] - 2018-09-22
914
- Update travis php versions
1015
- Define polymorphic relationship parameters explicitly
@@ -65,5 +70,6 @@ This project adheres to [Semantic Versioning](CONTRIBUTING.md).
6570
## v0.0.1 - 2017-09-08
6671
- Tag first release
6772

68-
[v0.0.3]: https://github.com/rinvex/bookings/compare/v0.0.2...v0.0.3
69-
[v0.0.2]: https://github.com/rinvex/bookings/compare/v0.0.1...v0.0.2
73+
[v1.0.0]: https://github.com/rinvex/laravel-bookings/compare/v0.0.3...v1.0.0
74+
[v0.0.3]: https://github.com/rinvex/laravel-bookings/compare/v0.0.2...v0.0.3
75+
[v0.0.2]: https://github.com/rinvex/laravel-bookings/compare/v0.0.1...v0.0.2

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
**Rinvex Bookings** is a generic resource booking system for Laravel, with the required tools to run your SAAS like services efficiently. It has a simple architecture, with powerful underlying to afford solid platform for your business.
44

5-
[![Packagist](https://img.shields.io/packagist/v/rinvex/bookings.svg?label=Packagist&style=flat-square)](https://packagist.org/packages/rinvex/bookings)
6-
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/rinvex/bookings.svg?label=Scrutinizer&style=flat-square)](https://scrutinizer-ci.com/g/rinvex/bookings/)
7-
[![Code Climate](https://img.shields.io/codeclimate/github/rinvex/bookings.svg?label=CodeClimate&style=flat-square)](https://codeclimate.com/github/rinvex/bookings)
8-
[![Travis](https://img.shields.io/travis/rinvex/bookings.svg?label=TravisCI&style=flat-square)](https://travis-ci.org/rinvex/bookings)
5+
[![Packagist](https://img.shields.io/packagist/v/rinvex/laravel-bookings.svg?label=Packagist&style=flat-square)](https://packagist.org/packages/rinvex/laravel-bookings)
6+
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/rinvex/laravel-bookings.svg?label=Scrutinizer&style=flat-square)](https://scrutinizer-ci.com/g/rinvex/laravel-bookings/)
7+
[![Code Climate](https://img.shields.io/codeclimate/github/rinvex/laravel-bookings.svg?label=CodeClimate&style=flat-square)](https://codeclimate.com/github/rinvex/laravel-bookings)
8+
[![Travis](https://img.shields.io/travis/rinvex/laravel-bookings.svg?label=TravisCI&style=flat-square)](https://travis-ci.org/rinvex/laravel-bookings)
99
[![StyleCI](https://styleci.io/repos/96481479/shield)](https://styleci.io/repos/96481479)
10-
[![License](https://img.shields.io/packagist/l/rinvex/bookings.svg?label=License&style=flat-square)](https://github.com/rinvex/bookings/blob/develop/LICENSE)
10+
[![License](https://img.shields.io/packagist/l/rinvex/laravel-bookings.svg?label=License&style=flat-square)](https://github.com/rinvex/laravel-bookings/blob/develop/LICENSE)
1111

1212

1313
## Considerations
1414

15-
- **Rinvex Bookings** is for bookable resources, and has nothing to do with price plans and subscriptions. If you're looking for subscription management system, you may have to look at **[rinvex/subscriptions](https://github.com/rinvex/subscriptions).**
15+
- **Rinvex Bookings** is for bookable resources, and has nothing to do with price plans and subscriptions. If you're looking for subscription management system, you may have to look at **[rinvex/laravel-subscriptions](https://github.com/rinvex/laravel-subscriptions).**
1616
- **Rinvex Bookings** assumes that your resource model has at least three fields, `price` as a decimal field, and lastly `unit` as a string field which accepts one of (minute, hour, day, month) respectively.
1717
- Payments and ordering are out of scope for **Rinvex Bookings**, so you've to take care of this yourself. Booking price is calculated by this package, so you may need to hook into the process or listen to saved bookings to issue invoice, or trigger payment process.
1818
- You may extend **Rinvex Bookings** functionality to add features like: minimum and maximum units, and many more. These features may be supported natively sometime in the future.
@@ -22,7 +22,7 @@
2222

2323
1. Install the package via composer:
2424
```shell
25-
composer require rinvex/bookings
25+
composer require rinvex/laravel-bookings
2626
```
2727

2828
2. Execute migrations via the following command:

composer.json

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
2-
"name": "rinvex/bookings",
2+
"name": "rinvex/laravel-bookings",
33
"description": "Rinvex Bookings is a generic resource booking system for Laravel, with the required tools to run your SAAS like services efficiently. It has a simple architecture, with powerful underlying to afford solid platform for your business.",
4+
"type": "library",
45
"keywords": [
56
"cost",
67
"usage",
@@ -17,9 +18,9 @@
1718
"homepage": "https://rinvex.com",
1819
"support": {
1920
"email": "[email protected]",
20-
"issues": "https://github.com/rinvex/bookings/issues",
21-
"source": "https://github.com/rinvex/bookings",
22-
"docs": "https://github.com/rinvex/bookings/blob/master/README.md"
21+
"issues": "https://github.com/rinvex/laravel-bookings/issues",
22+
"source": "https://github.com/rinvex/laravel-bookings",
23+
"docs": "https://github.com/rinvex/laravel-bookings/blob/master/README.md"
2324
},
2425
"authors": [
2526
{
@@ -35,26 +36,26 @@
3536
},
3637
{
3738
"name": "The Generous Laravel Community",
38-
"homepage": "https://github.com/rinvex/bookings/contributors"
39+
"homepage": "https://github.com/rinvex/laravel-bookings/contributors"
3940
}
4041
],
4142
"require": {
4243
"php": "^7.1.3",
43-
"illuminate/console": "~5.6.0",
44-
"illuminate/database": "~5.6.0",
45-
"illuminate/support": "~5.6.0",
44+
"illuminate/console": "~5.7.0",
45+
"illuminate/database": "~5.7.0",
46+
"illuminate/support": "~5.7.0",
4647
"nesbot/carbon": "~1.22",
47-
"rinvex/cacheable": "dev-develop",
48-
"rinvex/support": "dev-develop",
48+
"rinvex/laravel-cacheable": "^1.0.0",
49+
"rinvex/laravel-support": "v1.0.0",
4950
"spatie/eloquent-sortable": "^3.4.0",
5051
"spatie/laravel-schemaless-attributes": "~1.1.0",
5152
"spatie/laravel-sluggable": "^2.1.0",
5253
"spatie/laravel-translatable": "^2.1.0",
5354
"watson/validating": "^3.1.0"
5455
},
5556
"require-dev": {
56-
"codedungeon/phpunit-result-printer": "^0.19.0",
57-
"illuminate/container": "~5.6.0",
57+
"codedungeon/phpunit-result-printer": "^0.22.0",
58+
"illuminate/container": "~5.7.0",
5859
"phpunit/phpunit": "^7.0.0"
5960
},
6061
"autoload": {
@@ -70,15 +71,15 @@
7071
"Rinvex\\Bookings\\Tests\\": "tests"
7172
}
7273
},
74+
"scripts": {
75+
"test": "vendor/bin/phpunit"
76+
},
7377
"config": {
7478
"sort-packages": true,
7579
"preferred-install": "dist",
7680
"optimize-autoloader": true
7781
},
7882
"extra": {
79-
"branch-alias": {
80-
"dev-master": "1.0-dev"
81-
},
8283
"laravel": {
8384
"providers": [
8485
"Rinvex\\Bookings\\Providers\\BookingsServiceProvider"

src/Console/Commands/MigrateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ class MigrateCommand extends Command
3030
public function handle(): void
3131
{
3232
$this->warn($this->description);
33-
$this->call('migrate', ['--step' => true, '--path' => 'vendor/rinvex/bookings/database/migrations', '--force' => $this->option('force')]);
33+
$this->call('migrate', ['--step' => true, '--path' => 'vendor/rinvex/laravel-bookings/database/migrations', '--force' => $this->option('force')]);
3434
}
3535
}

src/Console/Commands/RollbackCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ class RollbackCommand extends Command
3030
public function handle(): void
3131
{
3232
$this->warn($this->description);
33-
$this->call('migrate:reset', ['--path' => 'vendor/rinvex/bookings/database/migrations', '--force' => $this->option('force')]);
33+
$this->call('migrate:reset', ['--path' => 'vendor/rinvex/laravel-bookings/database/migrations', '--force' => $this->option('force')]);
3434
}
3535
}

0 commit comments

Comments
 (0)