Skip to content

Expose AUTO cruFd for a resource

macropay-solutions edited this page Jun 4, 2025 · 3 revisions

1. Require laravel-crud-wizard-generator

2. Require laravel-crud-wizard-decorator-free

3. Require laravel-crud-wizard-free

4. Call the exposed routes from other PHP projects

1. Require laravel-crud-wizard-generator

composer require --dev macropay-solutions/laravel-crud-wizard-generator

The generator will help you generate the cruFd classes required for exposing an already existing table via API. See its documentation for more info on how to use it.

2. Require laravel-crud-wizard-decorator-free

If you want to expose decorated and composed from relations data, you can run:

composer require macropay-solutions/laravel-crud-wizard-decorator-free

The decorator will require also macropay-solutions/laravel-crud-wizard-free. See their documentation for more info on how to use them.

3. Require laravel-crud-wizard-free

If you want to expose ONLY not decorated data run:

composer require macropay-solutions/laravel-crud-wizard-free

The cruFd lib contains important retroactive bug fixes and useful new features. See its documentation for more info on how to use it.

4. Call the exposed routes from other PHP projects

composer require macropay-solutions/laravel-crud-wizard-client-free

The client will ease your work on building the request when calling the exposed routes from another PHP project. See its documentation for more info on how to use it.