notion-php-sdk
notion-php-sdk copied to clipboard
Notion PHP SDK
Currently if you add a new Page to a Database (`$notion->database('id')->get()->newPage()`) you cannot set the icon. If I do `$page->icon = '💬';` and save that page (`$page->save();`) the icon will...
Hi, I cannot send a new page request as an undefined function is being used here : https://github.com/codecyclernl/notion-php-sdk/blob/965ab2e013dd226fdc955a9dc395efcf22611cb7/src/Notion/Objects/Page.php#L68 Maybe I'm missing something? Let me know! Thank you.
**Proposal:** Change key generation method from `$this->properties[Str::camel($label)]` to this ` $this->properties[sha1($label)]` **Reason:** - non-Latin titles are "camelcased" incorrectly - some non-letter titles become empty strings (for example: `_`) - thus,...
* The `ray()` function cannot works without the `require-dev` dependencies. * The `parent` property cannot be `NULL`.