HTTP / API
API contract: change these points first
The practice API is provisional. Match the supplied contract before using live mode.
QUICK LOOKUP / PRACTICAL PATTERNS
Linux setup, complete practice files, and only the details this app uses.
1. Linux setup → · 2. Assemble project → · 3. Adapt API contract →
21 references
HTTP / API
The practice API is provisional. Match the supplied contract before using live mode.
Laravel
Create pending, call HTTP outside the transaction, then save the outcome.
Environment
Use the log and the failing command to locate a setup problem.
PHP
Only the PHP syntax needed to read and change the copied files.
Laravel
Copy to .env only for a fresh project. Keep an existing APP_KEY and database settings. This contains no credentials.
Laravel
On a fresh skeleton replace this file. In a supplied project merge only the exchange key, preserving existing services.
Laravel
Use this migration OR the generated orders migration, never both. DECIMAL(12,4) is enforced by MySQL; SQLite does not enforce decimal precision.
Laravel
Paste the complete file at this path. Names and paths are case-sensitive on Linux.
Laravel
Paste the complete file at this path. Names and paths are case-sensitive on Linux.
Laravel
Paste the complete file at this path. Names and paths are case-sensitive on Linux.
Laravel
Paste the complete file at this path. Names and paths are case-sensitive on Linux.
Laravel
Paste the complete file at this path. Names and paths are case-sensitive on Linux.
Laravel
Paste the complete file at this path. Names and paths are case-sensitive on Linux.
Laravel
Paste the complete file at this path. Names and paths are case-sensitive on Linux.
Laravel
Paste the complete file at this path. Names and paths are case-sensitive on Linux.
Laravel
Fresh Laravel 11/12 skeleton: replace. In an existing app merge the exception handlers and preserve routing, middleware and providers.
Laravel
Paste the complete file at this path. Names and paths are case-sensitive on Linux.
Laravel
Paste the complete file at this path. Names and paths are case-sensitive on Linux.
Laravel
Fresh skeleton only; preserve existing test setup in supplied projects.
Laravel
Paste the complete file at this path. Names and paths are case-sensitive on Linux.
Laravel
Uses isolated in-memory SQLite, never the application database. Preserve additional test suites in supplied projects.