Repository navigation
[SPEC-089] Skeleton no ecossistema PivotPHP 4.0 — 2.0.0 (breaking) - #11
Merged
Merged
Conversation
- Requires pivotphp/core ^4.0.1 (http, core-routing ^2.2, security); create-project installs again - bootstrap/app.php shared by public/index.php and the tests; config/ loaded; debug off by default - Controllers on ExpressRequest/ExpressResponse with 201/204/404/422; CORS via pivotphp/security - Tests exercise every route through Application::handle(); CI with a built-in server smoke test - Removed custom CorsMiddleware, storage/ layout, unused config keys, hard-coded versions/figures Closes #7 Closes #8 Closes #9 Closes #10 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #7, closes #8, closes #9, closes #10 — SPECs 089, 082, 083, 084 (agrupadas por decisão do mantenedor).
O que muda
pivotphp/core^4.0.1 →composer create-projectvolta a instalar (resolve a SPEC-098).bootstrap/app.phpmonta a aplicação parapublic/index.phpe testes;config/é carregado; debug desligado por padrão (084).Location, 204 sem corpo, 404, 422.pivotphp/securityrestrito aCORS_ALLOWED_ORIGINS(antes:*e preflight 200).handle(); sem dependência destorage/nem versões fixas (083); CI com teste de fumaçaphp -S.Como testar:
composer update && composer test;composer serveecurl localhost:8000/api/users.Versão: MAJOR 2.0.0 (troca a linha do framework e a API usada nos controllers). Projetos já criados não são afetados.
🤖 Generated with Claude Code