Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Tomato Resource

Tomato Resource Laravel Package

tomatophp/tomato-resource

Tomato Resource generates complete CRUD resources for your TomatoPHP admin panel, turning Eloquent models into ready-to-use forms, tables, and pages with sensible defaults and configurable builders.

View on GitHub
Deep Wiki
Context7

tomato-resource is a Laravel package from the TomatoPHP ecosystem that streamlines building and managing Filament resources. It offers reusable helpers and conventions for generating resource classes, forms, and tables, so you can scaffold admin panels faster while keeping your code consistent.

  • Rapid resource scaffolding for Filament admin panels
  • Reusable form and table builders to reduce boilerplate
  • Convention-based structure that keeps resources consistent
  • Seamless integration with Laravel and the TomatoPHP stack
  • Customizable components you can extend per project
Frequently asked questions about Tomato Resource
What is tomatophp/tomato-resource used for?
Tomato Resource is a Laravel package for defining and managing application resources with reusable CRUD-style tooling. It is built for the TomatoPHP ecosystem and is intended to help developers assemble admin panels and backend features with less boilerplate. It is a resource class builder and generator for tomato-admin, so its main value appears when you are already working within TomatoPHP conventions.
Can I use tomato-resource in a plain Laravel app without TomatoPHP?
The package is described as part of the TomatoPHP ecosystem and as a builder for tomato-admin, so it is best suited to applications that already use TomatoPHP conventions. Using it in a standard Laravel application would introduce ecosystem coupling that should be justified against building similar functionality with native Laravel resource and controller patterns. If you want to evaluate it outside TomatoPHP, prove the value in a sandbox branch first.
How do I install tomatophp/tomato-resource with Composer?
Installation is expected to be via Composer, with Laravel package discovery and service provider registration handling the integration. The package may also provide publishable configuration, migrations, routes, or resources, but you should confirm that by reviewing the repository rather than assuming it. Pin the package to v1.0.0 and commit your lockfile so the integration is reproducible.
Which Laravel and PHP versions does tomato-resource support?
The provided release information does not document specific Laravel or PHP version support, so compatibility cannot be confirmed from the release notes alone. Check the package composer.json, README, and CI matrix against your target application's Laravel, PHP, and database versions. Treat installation as a spike until those constraints are verified in a disposable app.
Does tomato-resource publish config, migrations, routes, or assets?
The available information only suggests that publishable configuration and possibly migrations or resources are expected, and it does not confirm the exact set of publishable files. Review the service providers and repository contents to see whether config, migrations, routes, policies, or frontend assets are published. If migrations are included, inspect them for schema changes and confirm whether defaults are safe before running them on a shared database.
Is tomato-resource v1.0.0 stable enough for production?
The v1.0.0 label suggests the maintainers are declaring an initial stable API, but it does not remove the need for source review. The release note is only a changelog link and contains no scope, compatibility, migration, security, or breaking-change detail. Treat it as moderate-to-high risk until you have reviewed the code, tests, and supported version matrix and validated it in staging.
How does tomato-resource compare to native Laravel resource controllers?
Tomato Resource adds reusable CRUD-style resource tooling and generation on top of Laravel, aimed at TomatoPHP admin panels rather than replacing Laravel's own routing and controller features. For a standard Laravel application, compare it with native resource controllers and form request patterns before adopting it. The package is most defensible where the application already standardizes on TomatoPHP and would otherwise repeat the same resource wiring by hand.
How should I test a Tomato Resource integration before deploying?
Start by reviewing the source, composer.json, README, tests, and changelog, then install into a sandbox with your target Laravel, PHP, and database versions. Publish and inspect any config, migrations, and routes, then integrate authentication and authorization policies and add regression tests for the resource CRUD and admin flows you rely on. Roll out to staging with a database backup and rollback plan before production, ideally behind a feature flag or limited-access route.
Does tomato-resource handle authorization, validation, and multi-tenancy?
The provided information does not document the package's authorization, validation, or tenancy assumptions, so you should not assume they match your application's requirements. Review the source and any published policies, requests, and resource definitions to see what is enforced and what is left to your application. Confirm these assumptions explicitly before exposing admin resource routes to real users.
How is tomato-resource maintained and how often is it updated?
Support quality and release cadence are not established by the provided release note, which only links to a changelog. Check maintainer responsiveness, issue backlog, documentation completeness, and whether the package is community-supported or commercially backed. Establish an internal owner and review releases before applying minor or patch updates, especially if other TomatoPHP packages impose version constraints.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource