Skip to content

Conversation

@vinceAmstoutz
Copy link
Member

@vinceAmstoutz vinceAmstoutz commented Sep 30, 2024

Related to #2019

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

php artisan make:state-provider

As we can already do with the Symfony variant with:

bin/console make:state-provider

See related code: api-platform/core#6708

@vinceAmstoutz vinceAmstoutz force-pushed the feat-doc-for-laravel-state-providers branch 2 times, most recently from 4715563 to e33cd2c Compare September 30, 2024 12:22
This commit enhances the state providers documentation by including support for Laravel alongside Symfony. It details how to create custom state providers, 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-providers branch from e33cd2c to 00496e6 Compare September 30, 2024 12:23
@vinceAmstoutz vinceAmstoutz changed the title [WIP] Add Laravel support to state providers documentation Add Laravel support to state providers documentation Oct 3, 2024
@vinceAmstoutz vinceAmstoutz marked this pull request as ready for review October 8, 2024 11:06
@soyuka soyuka merged commit d4ac684 into api-platform:4.0 Oct 11, 2024
1 check passed
@vinceAmstoutz vinceAmstoutz deleted the feat-doc-for-laravel-state-providers branch November 25, 2024 08:47
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