Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Laravel support to state processors documentation #2019

Merged

Conversation

vinceAmstoutz
Copy link
Contributor

@vinceAmstoutz vinceAmstoutz commented Sep 30, 2024

Related to #2018

Waiting a response from @dunglas to create a command for laravel to generate state processors like this

php artisan make:state-processor

As we can already do with the Symfony variant with:

bin/console make:state-processor

See related code: api-platform/core#6708

This commit enhances the state processors documentation by including support for Laravel alongside Symfony. It details how to create custom state processors, configure them, and integrate with Laravel-specific ORM like Eloquent and MongoDB, ensuring parity with Symfony's state provider features.
@vinceAmstoutz vinceAmstoutz force-pushed the feat-doc-for-laravel-state-processors branch from f7f9cf0 to fc003d2 Compare September 30, 2024 13:32
@vinceAmstoutz vinceAmstoutz changed the title [WIP] Add Laravel support to state processors documentation Add Laravel support to state processors documentation Oct 3, 2024
@vinceAmstoutz vinceAmstoutz marked this pull request as ready for review October 8, 2024 14:08
core/state-processors.md Outdated Show resolved Hide resolved
core/state-processors.md Outdated Show resolved Hide resolved
core/state-processors.md Outdated Show resolved Hide resolved
core/state-processors.md Outdated Show resolved Hide resolved
@soyuka soyuka merged commit 6fb4310 into api-platform:4.0 Oct 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants