tastyigniter/core
Core code for TastyIgniter, a professional restaurant platform for online food ordering and table reservations. Powers the TastyIgniter application and extensions with a Laravel-based framework for building custom ordering systems.
suppressNavigation option on AdminController (v4.4.5) lets us render admin screens without the header/sidebar. This unlocks embedded operator views — e.g., a delivery-driver console, kitchen display summary, or a partner-facing portal iframe — without forking the admin layout or maintaining custom Blade templates. Useful for the $500–$2,000/year white-label SaaS tier, where partners want our chrome, not ours.suppressNavigation strengthens this by making per-controller branded shells a configuration flag rather than a build.TemplateSandbox, aligning with PCI-DSS for payment integrations and GDPR for reservation data. v4.4.5 upgrades enshrined/svg-sanitize from ^0.22 to ^1.0 — a major version bump that materially changes SVG sanitization behavior (previously an explicitly called-out edge case).suppressNavigation (v4.4.5) removes the need to build a parallel admin UI for partner portals or kiosk-style screens.TemplateSandbox’s XSS protections. Note (v4.4.5): SVG handling now runs on svg-sanitize ^1.0 — re-validate any SVG upload/menu-image flows before adopting, as the major bump may alter allow/deny behavior.suppressNavigation improves embedding, but it is still server-rendered Blade, not a headless contract.)svg-sanitize 0.22 → 1.0) in the current sprint — schedule the upgrade and regression pass explicitly rather than letting it land silently.For Executives: *"TastyIgniter/core lets us launch a restaurant ordering platform in 3 months instead of 12 by using its pre-built admin panel, extension system, and geolocation tools. For example:
suppressNavigation flag (v4.4.5) lets us reuse those same dashboards inside a partner-branded portal — a config change, not a second frontend. That's directly revenue-enabling for our white-label tier.igniter:install) without custom builds.TemplateSandbox automatically sanitizes user-generated content (e.g., menu descriptions), and v4.4.5 hardens SVG handling via a major svg-sanitize upgrade.
Cost: ~$5K for a white-label SaaS tier, with $20K/year in dev savings. ROI: 4x faster time-to-market for [Product X]."*For Engineering: *"Key leverage points for v4.4.5+:
permissions field) to scaffold role-based access. New: set suppressNavigation on AdminController to drop the header/sidebar for embedded/portal views — no layout fork, no template overrides. Tradeoff: those screens lose global nav, so supply your own breadcrumb/back affordance and confirm permission checks still run at the controller level, not just via nav visibility.composer require tastyigniter/payments). Caveat: Test extension conflicts early—some rely on core hooks.enshrined/svg-sanitize moved ^0.22 → ^1.0. Treat as a breaking change surface: audit any SVG ingestion (menu logos, uploaded assets), pin in composer.lock, and run a regression pass on sanitize output before merging. Also exercise the console command confirmation prompts fix if your deploy scripts pipe into artisan — confirm prompt behavior didn't shift in CI.TemplateSandbox replaces manual Str::of() calls for sanitizing email templates or menu descriptions. Warning: Override sanitize() if you need custom rules, and re-check your allowlist against svg-sanitize 1.0.
Recommendation: Start with the TastyIgniter app repo for a full stack example, then extract core modules (e.g., OrderService) for your project. Upgrade path from v4.3.1 → v4.4.5 is small in code but not dependency-free — budget half a day for the SVG regression."*For Security/Compliance:
*"The TemplateSandbox (v4.2.3+) mitigates XSS in user-generated templates by default, and v4.4.5 upgrades svg-sanitize to ^1.0, tightening the SVG attack surface that we previously flagged as an edge case. Alignment:
0.22 → 1.0 bump is a major version — treat prior SVG test fixtures as stale. Re-run XSS payload tests against TemplateSandbox::sanitize() with real SVG samples (logos, icons, uploaded assets) and confirm no rendering regressions for legitimate content.
Limitations: The sandbox still uses HTML Purifier-like defaults — audit TemplateSandbox::sanitize() for your specific edge cases. Pair with Laravel’s validate() for additional input checks. Note that AdminController::suppressNavigation is presentational only — do not rely on it as an access control or data-exposure boundary; permissions must remain enforced server-side."*How can I help you explore Laravel packages today?