Skip to content

Commit 235271b

Browse files
authored
Merge branch 'main' into dev
2 parents ae0d8a9 + 11c11e1 commit 235271b

File tree

3 files changed

+24
-23
lines changed

3 files changed

+24
-23
lines changed

.github/FUNDING.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: 5amcode
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -95,22 +95,25 @@ $filters
9595
vendor/bin/phpunit tests
9696
```
9797

98-
### Changelog
98+
## Support
9999

100-
Please see [CHANGELOG](https://5amco.de/docs/0.3.0/changelog) for more information what has changed recently.
101-
102-
## References / UsedBy
103-
104-
- Julien Nahum created [notionforms.io](https://notionforms.io) with [laravel-notion-api](https://github.com/5am-code/laravel-notion-api), which allows you to easily create custom forms, based on your selected database within notion.
100+
If you use this package in one of your projects or just want to support our development, consider becoming a [Patreon](https://www.patreon.com/bePatron?u=56662485)!
105101

106102
## Contributing
107103

108104
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
109105

110-
### Security
106+
## Security
111107

112108
If you discover any security related issues, please email hello@dianaweb.dev instead of using the issue tracker.
113109

110+
## Used By
111+
112+
- Julien Nahum created [notionforms.io](https://notionforms.io) with [laravel-notion-api](https://github.com/5am-code/laravel-notion-api), which allows you to easily create custom forms, based on your selected database within notion.
113+
- [GitHub Notion Sync](https://githubnotionsync.com/), a service by [Beyond Code](https://beyondco.de) to sync the issues of multiple GitHub repositories into a Notion database
114+
115+
Using this package in your project? Open a PR to add it in this section!
116+
114117
## Credits
115118

116119
- [Diana Scharf](https://github.com/mechelon)
@@ -119,7 +122,3 @@ If you discover any security related issues, please email hello@dianaweb.dev ins
119122
## License
120123

121124
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
122-
123-
## Laravel Package Boilerplate
124-
125-
This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

src/Endpoints/Pages.php

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function createInDatabase(string $parentId, Page $page): Page
5959
return new Page($response);
6060
}
6161

62-
/**
62+
/**
6363
* @return Page
6464
*/
6565
public function createInPage(string $parentId, Page $page): Page
@@ -85,17 +85,7 @@ public function createInPage(string $parentId, Page $page): Page
8585
return new Page($response);
8686
}
8787

88-
/**
89-
* Return all pages possible.
90-
*
91-
* @return EntityCollection
92-
* @throws HandlingException
93-
* @throws NotionException
94-
*/
95-
public function all(): EntityCollection
96-
{
97-
return $this->notion->search()->onlyPages()->query();
98-
}
88+
9989

10090
/**
10191
* @return array

0 commit comments

Comments
 (0)