Add SeviaFlow to an existing Laravel app, one screen at a time
Your Laravel app already knows how to place an order, charge a card and send a receipt. Now support wants a place to look up a customer while answering a call. A useful first SeviaFlow release can be that one screen. You can judge it by whether support finds the right account and whether your existing checkout still passes its tests.
Discover one model in a development copy
Pick an existing Customer model with a few representative test records. Write down the fields support actually asks for. A name, contact email and account status may be enough. If changing the billing email currently sends a verification message, keep that operation on its existing path while you pilot the lookup.
Install seviaflow/devtools as a development dependency. With the development database connected, the first command below reports what DevTools finds. Read its suggestions alongside the support team’s field list. When you want starter PHP files, run the second command.
php artisan seviaflow:discover --models=Customer --with-schema
php artisan seviaflow:discover --models=Customer --with-schema --generate
Review the generated resource, form and table in your application. A column called internal_credit_limit might be perfectly valid in Eloquent and have no place on a support screen. Decide explicitly which fields, operations and records the pilot operators may use. Inspect the discovery options
Mount the directory alongside the current admin
For a browser-based pilot, install SeviaFlow UI and follow its setup steps for Core, configuration, package migrations and assets. Keep the application’s existing customers table and model. If /admin already belongs to your current back office, choose a separate route_prefix, such as operations, in config/seviaflow-ui.php. Configure the panel gate and customer policy for the pilot accounts. Install the UI adapter
Add the class to the existing resources map in config/seviaflow.php under customers. With the operations prefix, pilot users can open /operations/resources/customers. A reviewer can follow that one slug to the resource class and check exactly which people and records it serves. Register the resource
Decide what earns the next screen
Ask a support operator to find a known customer in both tools, then repeat with two customers who share a name. Compare the visible records and check the displayed status against the existing application. Sign in as an account outside the pilot and verify its access rules. Finally, run the existing checkout tests. If support can identify the correct account and checkout still behaves as expected, you have a concrete result to discuss before taking on edits, order review or a billing API. Build the customer panel