Skip to content

farbcodegmbh/laravel-stateful-resources

Repository files navigation

Laravel Stateful Resources

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

A Laravel package for managing state in API resources.

Features

  • 🧘🏻‍♂️ Unified Resources: Provide multiple resource representations through a single resource class.
  • 🏗️ Built-in States: Comes with default states for common use cases.
  • 🪄 Magic Methods: Optional magic methods for a more fluent and expressive syntax.
  • 🛠️ Hackable: Extend the package with your own custom states and logic.

Documentation

All information on how to use this package can be found on our official documentation website.

→ Read the Docs

Changelog

Notable changes to this package are documented in our changelog for every new release.

→ See what's changed

Contributing

We welcome contributions to this package.

→ Read our Contribution Guidelines

→ Open an Issue

→ Submit a Pull Request

License

The MIT License (MIT). See License File for more information.


farbcode Logo

Made with ❤️ by //farbcode.

About

A Laravel package for managing state in API resources.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5

Languages