You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once the namespace is registered, you can run the included migrations by namespace:
55
+
56
+
```bash
57
+
php spark migrate -n 'chriskacerguis\RestServer'
58
+
```
59
+
60
+
4) Wire filters and routes
61
+
62
+
Follow the "Filters wiring" section below to add the filter aliases and route groups in your app configs.
63
+
64
+
5) Verify
65
+
66
+
Create a simple controller that extends `chriskacerguis\RestServer\RestController` and hit it in the browser or via curl. See the "Quick demo" section for a copy-paste example.
67
+
68
+
Notes:
69
+
- Language files in this repository are optional; the core module doesn’t require them for basic operation.
70
+
- When updating the module, repeat step 1 and keep your PSR-4 mapping intact.
71
+
22
72
## Database migrations
23
73
24
74
This package includes migrations for tables `keys`, `logs`, `access`, `limits`.
0 commit comments