Json Support for all actions
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 4.5k
- Forks
- 884
- PR merge metrics
- No merged PRs in 30d
Description
hey Guys,
I am in Love with Phinx, but one thing is missing for me.
I'd love to see a json output for all actions that can be taken via terminal/webapp.
Currently only the Status Method returns json on request, but it would be nice if you could call everything within php and get nice responses.
As Use Case i see an Api with Endpoints to migrate, rollback, getStatus, create Migrations etc etc.
If someone guides me in the right direction where to start such a feature, i'd love to send in pull requests.
Greets Marcus
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing status method, which is the only action described as returning JSON, and then map the terminal and webapp actions named in the issue. Define the response contract for migrate, rollback, getStatus, and create migrations; done means these actions can be called within PHP and return consistent JSON responses.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100