feat: add ApiResponse trait for standardized API responses

chore: update composer dependencies to include phppresentation

chore: update composer.lock after adding phppresentation

feat: create categories migration for category management

feat: create templates migration for template storage

feat: create template generations migration for tracking template usage

feat: create template keys migration for template customization

feat: create notifications migration for user notifications

feat: update API routes for categories, templates, and user profile management

docs: update API documentation to include new endpoints for profile and wallet
This commit is contained in:
2026-07-07 01:03:12 +03:30
parent cf0e6f82fd
commit ae974c2afa
68 changed files with 3594 additions and 100 deletions

View File

@@ -2,12 +2,14 @@
namespace App\Providers;
use App\Models\Notification;
use App\Models\Permission;
use App\Models\Role;
use App\Models\User;
use App\Models\Wallet;
use App\Models\WalletTransaction;
use App\Observers\UserObserver;
use App\Policies\NotificationPolicy;
use App\Policies\PermissionPolicy;
use App\Policies\RolePolicy;
use App\Policies\UserPolicy;
@@ -43,5 +45,6 @@ class AppServiceProvider extends ServiceProvider
Gate::policy(Permission::class, PermissionPolicy::class);
Gate::policy(Wallet::class, WalletPolicy::class);
Gate::policy(WalletTransaction::class, WalletTransactionPolicy::class);
Gate::policy(Notification::class, NotificationPolicy::class);
}
}