feat: phase 2 api parity endpoints for extension

This commit is contained in:
Dwindi Ramadhana
2026-02-03 22:06:08 +07:00
parent dcec38ba94
commit 8816522ddd
11 changed files with 497 additions and 5 deletions

16
app/config/dewemoji.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
return [
'data_path' => env('DEWEMOJI_DATA_PATH', base_path('../../dewemoji-api/data/emojis.json')),
'pagination' => [
'default_limit' => (int) env('DEWEMOJI_DEFAULT_LIMIT', 20),
'max_limit' => (int) env('DEWEMOJI_MAX_LIMIT', 50),
],
'license' => [
'accept_all' => filter_var(env('DEWEMOJI_LICENSE_ACCEPT_ALL', false), FILTER_VALIDATE_BOOL),
'pro_keys' => array_values(array_filter(array_map('trim', explode(',', (string) env('DEWEMOJI_PRO_KEYS', ''))))),
],
];