orchidsoftware/platform
49.7
Weak · 17 November 2026
21.9k
lines of production code
PHP
with JavaScript
5
measurements over time
What this system is
Features
Added Popover component for screen elements
A new Popover component has been added to the screen components library, allowing users to render contextual popovers with configurable content and placement options (top, right, bottom, left, auto). The component automatically hides itself if no content is provided, ensuring cleaner output when the popover is not needed.
src/Screen/Components · high confidence
Added RoleFilter stub for filtering users by role
A new RoleFilter stub has been added to the application scaffolding. This filter allows users to filter lists of users by their assigned roles via a dropdown selection in the Orchid admin interface, matching the 'role' query parameter against the user's roles relationship.
stubs/app/Orchid/Filters · high confidence
Added UserPresenter stub for user management UI
A new stub file, UserPresenter.php, has been added to the Orchid platform's presenter directory. This presenter provides the default UI structure for user entities, including labels, titles, and subtitles (which now display user roles, truncated to 20 characters), as well as links to edit pages and Gravatar images. It also integrates with Laravel Scout for user search functionality, returning up to 3 results per search query.
stubs/app/Orchid/Presenters · high confidence
Added base cell components for screen rendering
Introduced a new set of view components in the \src/Screen/Components/Cells\ directory to handle the display of specific data types within screen layouts. The addition includes Boolean (rendering true/false with customizable labels and status colors), Currency and Number (formatting values with configurable decimals and separators), Percentage (displaying values as percentages), Text (rendering titles and text with word clamping), DateTime (formatted dates with timezone support), DateTimeSplit (splitting date and time into distinct visual lines), and Time (formatted time strings with precision control). These components provide a consistent, styled way to present cell data in the interface.
src/Screen/Components/Cells · high confidence
Added database seeders for Orchid platform entities
New seeder classes have been added to the database/seeders directory to populate the application with initial data. AttachmentsTableSeeder generates sample file attachments, UsersTableSeeder creates 10 user records, and RolesTableSeeder creates 5 role records. OrchidDatabaseSeeder serves as the main entry point, though its calls to these specific seeders are currently commented out.
database/seeders · high confidence
Added dummy block component for UI demonstration
A new Blade view for a dummy content block has been introduced, providing a styled container with a dashed border and a randomly generated string. This component serves as a visual placeholder or example within the application's interface.
resources/views/dummy · high confidence
Added model factories for Attachment, Role, and User
New database factories have been added for the Attachment, Role, and User models to support test data generation. The User factory creates users with admin permissions by default, while the Role factory generates either Admin or User roles with specific permission sets for the Orchid platform.
database/factories · high confidence
Initial release of the Screen component architecture
This change introduces the foundational classes for the Screen system, including the abstract Screen class for defining pages, the Layout and LayoutFactory classes for structuring page content, and the Field, Action, Cell, TD, and Sight classes for building form elements and table columns. It also adds supporting traits like AsSource and AsMultiSource for data retrieval, the Repository class for managing screen state, and the Builder class for rendering forms.
src/Screen · high confidence
Introduce Alert and Toast flash notification classes
Added new \Alert\ and \Toast\ classes in \src/Alert\ to manage flash notifications via the session store. The \Alert\ class provides methods to flash informational, success, error, and warning messages, supports rendering custom views, and includes a \check()\ method to verify if a message exists. The \Toast\ class extends \Alert\ to add auto-hide and delay controls, allowing users to configure persistence and display duration for toast-style notifications.
src/Alert · high confidence
Introduces attribute-based presenter resolution with recursive inheritance support
This change adds a new presenter system in the \Orchid\\Presenter\ namespace, allowing models or classes to automatically resolve a dedicated presenter for display logic. By using the \Presentable\ trait and the \\#\[UsePresenter\]\ attribute, developers can bind a specific presenter class to an entity, with the resolution logic recursively checking parent classes if the attribute is not found on the immediate class. The \Presenter\ base class provides magic property access that falls back to the underlying entity, keeping view-related concerns separate from the model. Users can also override the presenter at runtime by calling the \presenter()\ method with a specific class.
src/Presenter · high confidence
Introduces new screen component contracts
Adds a set of new interfaces to define the structure of screen components: Actionable, Cardable, Fieldable, Groupable, Personable, and Searchable. These contracts standardize how actions, cards, fields, groups, person profiles, and search results are structured within the screen system.
src/Screen/Contracts · high confidence
New Blade components for breadcrumbs, notifications, and Turbo Stream
This change introduces three new Laravel Blade components in the platform's UI layer: Breadcrumbs, Notification, and Stream. The Breadcrumbs component now handles long navigation trails by automatically collapsing middle items into a dropdown when the count exceeds three, improving usability on complex pages. The Notification component renders unread notification counts for the current user, respecting the platform's configuration to enable or disable notifications. The Stream component provides a wrapper for Turbo Stream functionality, facilitating real-time updates. These components replace previous view composers and inline logic, offering a more structured and reusable approach to these common interface elements.
src/Platform/Components · high confidence
New Blade components for breadcrumbs, notifications, popovers, and Turbo streams
Added four new Blade components to the UI library: a breadcrumbs component that supports nested dropdown menus for long trails, a notification component that triggers a modal and reads its polling interval from configuration, a popover component with hover/focus triggers, and a stream component that renders Turbo Stream tags or fallback content based on request type.
resources/views/components · high confidence
New Blade view templates for Action components
Added new Blade view files for the Action component system, including button, dropdown, link, menu, modal, and toggle. These views define the HTML structure and Stimulus/Turbo data attributes for each action type, enabling users to customize the rendering of buttons, dropdowns, links, menus, modals, and toggle switches in their interfaces.
resources/views/actions · high confidence
New Facades for Alert, Dashboard, Layout, Orchid, and Toast
Added new static facades in src/Support/Facades to provide a convenient interface for the Alert, Dashboard, Layout, Orchid, and Toast services. The Alert facade exposes methods for creating notifications with different severity levels (info, success, error, warning), custom views, and HTML escaping control. The Layout facade offers static helpers for constructing various screen layouts including rows, tables, columns, tabs, modals, accordions, and charts. The Toast facade enables creating transient notification messages with options for auto-hiding, delay duration, and custom views. The Dashboard and Orchid facades provide access to platform configuration, permissions, and screen management utilities.
src/Support/Facades · high confidence
New HTTP middleware layer for access control, Turbo integration, and icon configuration
This change introduces three new middleware classes in the platform's HTTP pipeline. The Access middleware enforces role-based permissions, handling guest redirections and displaying a specific impersonation view when a user lacks access but is impersonating another account. The Turbo middleware ensures compatibility with Hotwire Turbo by setting 303 redirect codes and re-flashing session data for Turbo requests, while also handling debug output headers. The BladeIcons middleware configures the default icon size for the application's icon system.
src/Platform/Http/Middleware · high confidence
New artisan commands for generating Orchid components and managing installation
The platform now provides a suite of new console commands to streamline development and setup. The \orchid:install\ command automates the initial setup by publishing configuration, migrations, assets, and stubs, running migrations, linking storage, and optionally updating the application's User model to extend the Orchid user class. A new \orchid:admin\ command allows users to create new administrator accounts or update permissions for existing users via the \--id\ option. Additionally, generator commands have been added for creating specific Orchid components: \orchid:chart\, \orchid:field\, \orchid:filter\, \orchid:listener\, \orchid:presenter\, \orchid:rows\, \orchid:screen\, \orchid:selection\, \orchid:tab-menu\, and \orchid:table\. A dedicated \orchid:stubs\ command enables publishing these generator stubs for customization, and \orchid:publish\ handles publishing assets with force-overwrite support.
src/Platform/Commands · high confidence
New exception for missing field attributes
A new \FieldRequiredAttributeException\ class has been added to the screen exceptions namespace. This exception is thrown when a field is missing a required attribute, providing a clear error message indicating which attribute is missing to help users debug form validation issues.
src/Screen/Exceptions · high confidence
New extensible base User model for the platform
A new base \User\ model has been added to \src/Platform/Models\ to serve as the standard implementation for system users. This model is designed to be extended by applications rather than used directly, allowing developers to customize functionality without modifying core logic. It integrates platform-specific features including presenter support via \UserPresenter\, data source handling, charting capabilities, and URL-based filtering and sorting for user attributes. The model also handles admin user creation and manages permissions through a dedicated value object.
src/Platform/Models · high confidence
New file attachment generator engine
A new Generator class has been added to the attachment engines to handle file uploads. It generates unique file names and content hashes using the SHA-1 algorithm, determines file extensions and MIME types, and supports setting a custom storage path for uploaded files.
src/Attachment/Engines · high confidence
New filter types for flexible data querying
Added new filter classes in src/Filters/Types to support various query operations: Ilike for case-insensitive pattern matching, Like for standard case-insensitive searches (with compatibility for Laravel 11.17.0+ via whereLike), Where for exact matches, WhereBetween for range queries, WhereDate for date comparisons, WhereDateStartEnd for date range filtering with start/end values, WhereIn for matching against a list of values (supporting both array and comma-separated string inputs), and WhereMaxMin for numeric range filtering with min/max constraints.
src/Filters/Types · high confidence
New impersonation and permission value objects
The Access layer now includes an Impersonation class that allows administrators to switch to another user and restore the original session, with an isImpersonating() alias and an impersonator() method to retrieve the original user. A PermissionGroup class provides a registry for permission definitions, while a Permissions value object manages assigned permission states as a JSON map with wildcard support and Eloquent casting. UserAccess and RoleAccess traits have been updated to use these new objects, and a deprecated UserSwitch class now extends Impersonation for backward compatibility.
src/Access · high confidence
New layout components and updated base templates
The dashboard UI now includes a comprehensive set of new layout templates for structuring content, including Accordion, Block, Browsing, Card, Chart, Columns, Facepile, Filter, Legend, Listener, Metric, Modal, Persona, Row, Selection, SideMenu, Sortable, Split, TabMenu, Tabs, and Table. The base layout has been updated to integrate these components with a new form handling structure using Stimulus controllers (e.g., \form\, \filter\) and Turbo events, while the blank layout provides a minimal wrapper for simple form rendering.
resources/views/layouts · high confidence
New metrics collection classes and Eloquent trait for chart data
This change introduces the \Chartable\ trait and two new collection classes, \TimeCollection\ and \GroupCollection\, within the \src/Metrics\ namespace to facilitate metric aggregation and charting. The \Chartable\ trait adds Eloquent query scopes (\scopeCountByDays\, \scopeAverageByDays\, \scopeSumByDays\, \scopeMaxByDays\, \scopeMinByDays\, and \scopeCountForGroup\) that allow models to easily generate time-series or grouped data. \TimeCollection\ provides methods to format time-series data for charts, including converting labels to day names (\showDaysOfWeek\, \showMinDaysOfWeek\) and filtering out zero values (\withoutZeroValues\). \GroupCollection\ offers a \toChart\ method to structure grouped data for visualization. These components work together to provide a standardized way to prepare model data for frontend charting libraries.
src/Metrics · high confidence
New platform events for role management and file operations
The platform now exposes specific events to allow listeners to react to key lifecycle moments. Role management changes are now observable via AddRoleEvent and RemoveRoleEvent, which provide the affected user and the collection of roles being added or removed. File operations are covered by UploadFileEvent and UploadedFileEvent, which provide the Attachment model and timing information during the upload process, as well as ReplicateFileEvent for file replication tasks. Additionally, InstallEvent is available to hook into the platform installation command.
src/Platform/Events · high confidence
New screen layout components for structured UI rendering
The \src/Screen/Layouts\ directory now includes a comprehensive set of new layout classes—Accordion, Blank, Block, Browsing, Card, Chart, Columns, Component, Content, Facepile, Legend, Listener, Metric, Modal, Persona, Rows, Selection, SideMenu, Sortable, Split, TabMenu, Table, Tabs, View, and Wrapper. These classes provide the specific rendering logic and configuration options for their respective UI patterns (such as the Accordion's \stayOpen\ behavior, the Modal's size and type settings, or the Table's pagination and styling options), enabling developers to compose complex screen interfaces using these standardized building blocks.
src/Screen/Layouts · high confidence
New support utilities and helpers for platform development
This update introduces a suite of new static utility classes and helper functions within the \src/Support\ directory to assist with common platform tasks. Developers can now use \Assert\ to validate array structures (such as ID or object arrays), \Init\ to handle byte-size conversions and determine maximum file upload limits based on PHP configuration, and \Locale\ to detect RTL writing direction for internationalization. Additionally, \Blade\ provides a programmatic way to render anonymous or class-based Blade components, \Formats\ offers datetime and byte-size formatting, \Names\ generates page name classes from route names, and \BootstrapIconsPath\ resolves the local path for Bootstrap Icons. The \helpers.php\ file exposes convenient global functions for alerts and HTTP filter/sort management, while \FlushOctaneState\ adds an attribute for managing state in persistent environments like Laravel Octane.
src/Support · high confidence
Security
Screen state serialization now uses HMAC-signed payloads and encrypted transport
The \src/Screen/Concerns\ directory introduces a new security model for screen state persistence. The \ModelStateRetrievable\ trait now wraps arbitrary non-Model property values in a \SignedValue\ class, which uses an HMAC-protected \SerializableClosure\ to prevent tampering when state is round-tripped through the client. Additionally, the \InteractsWithEncryptedState\ trait encrypts the entire screen state payload using Laravel's \Crypt\ facade before transmission, ensuring that sensitive data in the \\_state\ parameter is not exposed in plain text.
src/Screen/Concerns · high confidence
Architecture
New modular service provider architecture for platform bootstrapping
The platform's initialization logic has been reorganized into four distinct service providers to improve modularity and separation of concerns. FoundationServiceProvider now handles core registrations, including loading translations and views, registering third-party providers (Scout, Active, Breadcrumbs), and setting up Laravel Octane event listeners to flush dashboard state. ConsoleServiceProvider manages the registration of artisan commands and defines the publishing groups for migrations, language files, views, configuration, stubs, and assets. PlatformServiceProvider is responsible for booting icon directories, registering resource stylesheets/scripts, and defining the default permission groups (Main and System). Finally, RouteServiceProvider centralizes route definition, applying the 'orchid' middleware group (Turbo, BladeIcons, Access) and mapping dashboard, auth, and application routes based on configuration.
src/Platform/Providers · high confidence
Behavioural changes
1 commit (0 fixes) modifying database, workbench
A change to existing behaviour in database, workbench — 1 commit, 8 files: “Replace Psalm with PHPStan and configure Testbench Workbench (\#3176)” (refs \#3176).
workbench · medium confidence · unverified
3 commits (1 fix) modifying resources/views/partials/notification
A change to existing behaviour in resources/views/partials/notification — 3 commits (1 fix), 5 files: “feat(empty-state): unify localized empty states”; “Changed notification to modal”; “fix(modals): name dialogs and restore trigger focus”.
resources/views/partials/notification, stubs/app/Orchid/Layouts/Examples · medium confidence · unverified
5 commits (0 fixes) modifying src/Filters, src/Platform
A change to existing behaviour in src/Filters, src/Platform — 5 commits, 34 files: “Add Rector checks to quality assurance (\#3175)”; “Use Laravel scope attributes in model traits (\#3178)”; “Use model attributes for URL filters and sorting (\#3181)”; and 2 more (refs \#3175, \#3178, \#3181, \#3176, \#3179). Also in this area: Added Sortable trait for model ordering.
src/Platform/Concerns · medium confidence · unverified
8 commits (2 fixes) modifying resources/views/partials/search
A change to existing behaviour in resources/views/partials/search — 8 commits (2 fixs), 4 files: “feat(empty-state): unify localized empty states”; “Change \toast\ to \alert\ when search error”; “Added missing controller”; and 5 more.
public, resources/views/partials/search · medium confidence · unverified
918 commits (36 fixes) modifying (repo-wide)
A change to existing behaviour in (repo-wide) — 918 commits (36 fixs), 16 files: “\#\# 9.19.0 - 2021-01-23”; “\#\# 14.52.2 - 2025-07-02”; “Update readme.md”; and 673 more (refs \#631, \#714, \#1313, \#1314, \#1060, …).
(repo-wide) · low confidence · unverified
Complete rewrite of screen field classes to modern PHP standards
The screen field classes in src/Screen/Fields have been completely rewritten to use strict typing, modern PHP 8+ syntax (such as constructor property promotion and union types), and fluent method chaining. This change introduces new fields like Attach, Matrix, and NumberRange, while significantly refactoring existing fields (Input, Select, DateTimer, etc.) to improve type safety and maintainability. Users will benefit from better IDE support, stricter validation, and a more consistent API across all form fields.
src/Screen/Fields · high confidence
Customized 404 error page with user-friendly messaging
The application now displays a dedicated 404 error page when a requested page does not exist. This page provides clear, user-friendly explanations for why the error might have occurred, such as the item being deleted, lack of access, or a broken link, and guides users on how to resolve access issues by contacting the project administrator.
resources/views/errors · high confidence
Database schema updates for roles, attachments, and notifications
The database migrations have been updated to support new structural requirements: the users table now includes a nullable JSONB permissions column, the roles table uses UUIDs for primary keys and stores permissions as JSONB, and the role\_users pivot table enforces cascade updates and deletes. Additionally, the attachments system now uses UUIDs for attachment IDs and includes a polymorphic attachmentable table, while the notifications table has been standardized to use UUIDs for IDs.
database/migrations · high confidence
Deprecated ItemPermission class and added Orchid::flush() for Octane state management
The \ItemPermission\ class is now deprecated in favor of \PermissionGroup\, with \ItemPermission\ acting as a backward-compatible alias that maps its \group\ and \items\ properties to the new structure. Additionally, the \Orchid\ class now includes a \flush()\ method that resets properties marked with the \FlushOctaneState\ attribute, ensuring proper state handling for Laravel Octane users by preventing stale data between requests.
src/Platform · high confidence
Extracted platform configuration logic into dedicated traits
The configuration responsibilities of the Dashboard class have been refactored into a set of modular traits within the \src/Platform/Configuration\ namespace. This change introduces \ManagesMenu\ for handling menu registration and rendering, \ManagesModelOptions\ for custom model mapping, \ManagesPackage\ for version and path resolution, \ManagesPermissions\ for registering and filtering permission groups, \ManagesResources\ for managing JS/CSS assets and Vite integration, \ManagesScreens\ for tracking the current screen and partial request state, and \ManagesSearch\ for registering and executing full-text search across models. Users benefit from a more modular internal structure that separates these concerns, though the public API for configuring menus, permissions, resources, and search remains functionally consistent.
src/Platform/Configuration · high confidence
Initial configuration for the Orchid admin dashboard
A new configuration file for the Orchid admin dashboard platform has been added, establishing the default settings for route prefixes, middleware, authentication guards, and file attachment storage. This change introduces the foundational configuration required for the application's administrative interface, replacing the previous platform-specific configuration structure.
config · high confidence
Introduction of dedicated route files for authentication and core platform functionality
The application now organizes its routing logic into two new dedicated files: \routes/auth.php\ and \routes/orchid.php\. The authentication file defines specific endpoints for login, logout, and a new 'lock' screen feature, with the login flow gated by a configuration option. The main platform file establishes the core dashboard entry point, global search, async/AJAX handlers for screens and layouts, file and media management endpoints, field choices, sortable ordering, and optional notification management, all mapped to their respective controllers.
routes · high confidence
JavaScript controllers rewritten for Stimulus and Turbo
The JavaScript controllers in resources/js/controllers have been completely rewritten to use Hotwired Stimulus and Turbo, replacing the previous jQuery-based implementation. This change introduces a new ApplicationController base class and updates all field controllers (Attach, Cropper, Code, Markdown, etc.) to use Stimulus data attributes and lifecycle methods, while form submission and filtering now leverage Turbo streams for asynchronous updates.
resources/js/controllers · high confidence
Migrate to Hotwired Turbo and Stimulus with Vite integration
The JavaScript frontend has been rebuilt to use Hotwired Turbo and Stimulus 2.0, replacing previous dependencies like Select2 and Stimulus Flatpickr. This change introduces a new entry point (resources/js/app.js) that bootstraps the Turbo and Bootstrap libraries, exposes them globally, and automatically registers Stimulus controllers using Vite's glob imports. A new Orchid utility module (resources/js/orchid.js) provides a controller registration wrapper and a unique browser-tab ID generator stored in sessionStorage. Additionally, a Turbo event listener ensures that the current screen state is appended to fetch requests, improving consistency when multiple browser tabs are open.
resources/js · high confidence
New Fluent UI theme variables introduced
The application now uses a new set of SASS theme variables defined in \resources/sass/theme/variables.scss\, establishing a visual identity based on Microsoft's Fluent UI design language. This change introduces a specific color palette (using \\#0078d4\ as the primary orchid color), updates typography settings (root font size of 0.95rem), and configures UI components such as buttons, inputs, tables, and navigation with new border radii, shadows, and spacing values. It also enables CSS Grid and responsive font sizes while adding utility classes for line clamping and thumbnail sizing.
resources/sass/theme · high confidence
New UI partials for alerts, toasts, and welcome screen
The application now includes a set of new Blade view partials in the resources/views/partials directory to enhance the user interface. These include alert and toast notification components that support session-based messaging and Turbo temporary rendering for seamless updates, a confirmation modal dialog driven by a Stimulus controller, and a redesigned welcome page with documentation links and community resources. Additionally, new partials handle pagination styling, user profile display, state management via streams, and asset update warnings, providing a more consistent and modern look across the platform.
resources/views/partials · high confidence
New compact and full workspace templates with configurable footers
Added two new Blade templates for the workspace layout: a 'compact' version (resources/views/workspace/compact.blade.php) and a 'full' version (resources/views/workspace/full.blade.php). Both templates extend the main app layout and include a workspace section that yields content. A key behavioral change is the introduction of a configurable footer: the templates now use @includeFirst to check for a custom footer defined in the config key 'orchid.template.footer', falling back to the default 'orchid::footer' if not overridden. This allows users to customize the footer appearance in both workspace modes without modifying core template files.
resources/views/workspace · high confidence
New core UI component styles for buttons, forms, tables, and modals
This change introduces a new set of SCSS files in the core resources directory that define the visual styling for fundamental UI components. Users will see updated designs for buttons (including a new loading state with spinner support), form controls (with improved focus states and icon addon support), tables (with compact mode and dropdown integration), and modals (featuring new animation variants like slide-up and fill-in). Additionally, utility classes for avatars, image thumbnails, and layout wrappers are standardized to ensure consistent appearance across the application.
resources/sass/core · high confidence
New stubs for user management layouts in Orchid
The stubs under \stubs/app/Orchid/Layouts/User\ have been replaced with a new set of layout classes that define the structure for the user management screens. This includes \UserListLayout\ for the main table (using \DateTimeSplit\ for dates and \Persona\ for user presentation), \UserEditLayout\ for name and email fields, \UserRoleLayout\ for role selection, \PermissionLayout\ for managing permissions with grouped checkboxes, \UserPasswordLayout\ for setting passwords, and \UserFiltersLayout\ for filtering by role. These stubs provide the default UI components for creating, editing, and listing users in an application scaffolded with Orchid.
stubs/app/Orchid/Layouts/User · high confidence
New unified SASS entry point for frontend assets
A new \resources/sass/app.scss\ file has been introduced to serve as the central entry point for the application's styles. This file imports core Bootstrap 5 styles alongside specific vendor libraries including Dropzone, Cropper.js, Flatpickr, Leaflet, Quill, and Tom-select. It also aggregates the application's core layout, utility, and form styles, as well as component-specific styles for features like accordions, charts, and the markup editor, consolidating the styling structure for these UI elements.
resources/sass · high confidence
Redesigned UI with Turbo, Vite, and Bootstrap 5
The application interface has been modernized to use Bootstrap 5, Hotwired Turbo, and Vite for asset management. Notifications are now displayed in a modal with cursor-based infinite scrolling, and the global search has been moved to a modal for improved UX. The layout includes a new dashboard structure with a collapsible aside menu, a 'Scroll to top' feature, and a command bar, while authentication pages have been restyled for better mobile support.
resources/views · high confidence
Refactored Attachment, Role, and Screen components with new models and enums
The platform introduces new Eloquent models for managing file attachments (Attachment and Attachmentable) and user roles (Role), replacing previous implementations to support UUIDs, filtering, sorting, and specific casting for permissions. Additionally, the Screen component now uses a new ChoicePayload class to handle encrypted, lazy-loaded select choices, and the Support namespace includes a new Color enum to standardize UI color definitions while maintaining backward compatibility.
orchid/platform · high confidence
Refactored HTTP controllers and introduced async/choices endpoints
The HTTP controller layer has been restructured into distinct, single-responsibility classes (AsyncController, AttachmentController, ChoicesController, etc.) replacing the previous monolithic structure. This introduces new capabilities: asynchronous screen building and partial layout rendering via AsyncController, granular attachment management (upload, sort, delete, media filtering) in AttachmentController, and on-demand choice resolution for fields via ChoicesController. Security is strengthened by enforcing permission checks on attachment actions and guarding the AttachmentController against guest access. The LoginController now supports Laravel 11.17+ authentication middleware and impersonation logout, while the SortableController adds policy-based sort-order updates. These changes improve modularity, performance, and security for platform interactions.
src/Platform/Http/Controllers · high confidence
Refactored Screen Actions to support async requests and Eloquent models
The action classes in src/Screen/Actions have been rewritten to improve usability and performance. The Button class now automatically strips query strings from the previous URL when constructing async action URLs, preventing method duplication in request parameters. It also supports passing Eloquent models directly to the parameters method, which are automatically resolved to their route keys. The ModalToggle class introduces an asyncParameters method for cleaner configuration of asynchronous modal submissions, and the Toggle class has been updated to inherit these improvements while managing its own placeholder logic.
src/Screen/Actions · high confidence
Refactored attachment handling with new Engine interface and duplicate support
The attachment system has been refactored to introduce a new Engine interface and implementation strategy for file processing, replacing previous inline logic. This change adds the ability to allow duplicate file uploads via the new \allowDuplicates\ method on the \File\ class, resolving issues where identical files with different names were previously rejected. Additionally, the \Attachable\ trait now provides a standard \attachments\ relationship method for Eloquent models, deprecating the older singular \attachment\ method, and MIME type detection is now handled by a dedicated \MimeTypes\ class wrapping Symfony's Mime component.
src/Attachment · high confidence
Refactored field rendering views to use Blade components and consistent error handling
The field partial views (clear, hidden, horizontal, matrixRow, vertical) have been rewritten to use modern Blade syntax, including the \x-orchid-popover\ and \x-orchid-icon\ components. This change introduces consistent error handling across all field types by checking for Laravel 10/11 compatibility in the error bag, adds support for optional horizontal rules (\hr\) in horizontal and vertical layouts, and enables configurable required marks and popover content in field titles. The matrix row view now supports removable rows via a Stimulus action, and hidden fields are rendered with a \d-none\ wrapper.
resources/views/partials/fields · high confidence
Refactored field views to use Stimulus controllers and Bootstrap 5
The field view templates in resources/views/fields have been rewritten to replace the previous component-based structure with a modern architecture using Stimulus JavaScript controllers and Bootstrap 5 utility classes. This change introduces data-driven behavior for all form fields, including the new Attach field for file management, the Cropper field for image editing, and the Map field for geolocation. Existing fields like Select, Checkbox, and Datetime now rely on Stimulus actions and targets for interactivity (such as lazy loading, indeterminate states, and quick date selection), while the visual styling has been updated to use Bootstrap 5 classes (e.g., 'form-switch', 'btn-group') and SVG icons, ensuring consistent UI behavior and improved accessibility across the platform.
resources/views/fields · high confidence
Refactored filter system with new base classes and HTTP filter builder
The filter subsystem has been restructured to improve type safety and separation of concerns. A new abstract \BaseHttpEloquentFilter\ class provides a standardized constructor and parameter mapping for HTTP-based filters, while the core \Filter\ class now handles request parameter matching, display rendering, and reset link generation. A new \HttpFilter\ class centralizes the extraction and validation of filter and sort parameters from HTTP requests, including column name sanitization. The \Filterable\ trait has been updated to support these new components, allowing models to apply filters via the new \scopeFilters\ and \scopeFiltersApply\ methods.
src/Filters · high confidence
Refactored table layout components to use Blade X-views and Stimulus controllers
The table rendering logic in \resources/views/partials/layouts\ has been replaced with new, dedicated Blade view components (\td.blade.php\, \th.blade.php\, \filter.blade.php\, \selectedTd.blade.php\, and \dt.blade.php\). These files introduce structured HTML for table cells, headers, and column filters, integrating Bootstrap 5 dropdowns and Stimulus controllers (e.g., \data-controller="filter"\) to handle interactive behaviors like column visibility toggling and filter application. This change shifts the presentation layer from previous inline or legacy structures to a modular component-based approach, improving maintainability and aligning with the framework's modern UI standards.
resources/views/partials/layouts · high confidence
Refined authentication UI with impersonation support and input styling
The authentication views have been updated to improve the sign-in experience and support user impersonation. A new impersonation screen now appears when a user lacks access to a page, allowing them to switch back to their own account. The login flow now conditionally includes a 'lock me' view for re-authentication, while the standard sign-in form uses the new \requiredWithoutAsterisk\ method on email and password fields to remove the asterisk from titles. The interface also features updated Bootstrap 5 styling, including dark buttons and text emphasis classes, and adds an \inputmode\ attribute to the email field for better mobile keyboard support.
resources/views/auth · high confidence
Renamed notification classes from Dashboard to Orchid
The notification system has been rebranded to align with the platform name: \OrchidChannel\ and \OrchidMessage\ are the new primary classes for handling and displaying notifications. To ensure backward compatibility, the legacy \DashboardChannel\ and \DashboardMessage\ classes are retained as deprecated aliases that extend the new classes, allowing existing code and stored notifications to continue functioning without immediate changes.
src/Platform/Notifications · high confidence
Updated Orchid platform stubs with new menu, permission, and route structures
The stubs for the Orchid platform have been updated to reflect the current API and structure. The \PlatformProvider\ now uses \PermissionGroup\ for defining access controls and registers a comprehensive menu including navigation, example screens, and documentation links. The \orchid.php\ route file has been restructured to use the \Route::screen\ method for defining dashboard routes, including user and role management screens with integrated breadcrumbs, replacing previous routing patterns.
stubs/app/Orchid · high confidence
Updated User model stub with new filter and permission support
The generated User model stub now includes support for URL-based filtering and sorting on common attributes (id, name, email, updated\_at, created\_at) using specific filter types like Like and WhereDateStartEnd. Additionally, the model now casts the 'permissions' attribute to a Permissions value object and excludes it from JSON output, aligning with the new permissions value object implementation.
stubs/app · high confidence
Updated and expanded stub templates for screens, layouts, and filters
The stubs used to generate new Orchid components have been refreshed and expanded. Screen, field, and listener stubs now use modern PHP return types (e.g., iterable) and align with current platform conventions, including a rename from platform/dashboard to orchid. New stubs have been added for chart, presenter, rows, selection, tabMenu, and table layouts, giving you ready-to-use templates for common UI structures. Filter stubs now expose matched parameters via a method, and blade field stubs include a basic Stimulus-style controller example. These changes improve clarity, consistency, and out-of-the-box usability when scaffolding new screens and layouts.
stubs · high confidence
Updated example stubs with new screens and modernized UI components
The example stubs in the Orchid application have been refreshed to provide a more comprehensive and modern starting point for new projects. This update introduces several new example screens, including ExampleActionsScreen (demonstrating buttons, links, and dropdowns), ExampleCardsScreen (showcasing user data cards), ExampleChartsScreen (featuring line, bar, percentage, and pie charts), ExampleGridScreen (illustrating responsive grid layouts), ExampleLayoutsScreen (displaying tabs, accordions, and columns), and ExampleTextEditorsScreen (featuring Quill, SimpleMDE, and Code fields). Existing screens like ExampleScreen, ExampleFieldsScreen, and ExampleFieldsAdvancedScreen have been updated to use newer syntax and components, such as replacing \platform\/\dashboard\ references with \orchid\, using \iterable\ return types, and integrating \Attach\ fields. The WelcomeScreen has also been updated to include partials for asset updates and welcome messages.
stubs/app/Orchid/Screens/Examples · high confidence
Updated role management stubs to use new Orchid 14.x syntax and permission API
The RoleEditScreen and RoleListScreen stubs have been rewritten to align with the new Orchid 14.x architecture. Key changes include adopting strict typing and return type declarations (e.g., \iterable\ for query and commandBar methods), replacing the old \getStatusPermission\ method with the new \statusOfPermissions\ value object API, and updating the permission handling to use \Permissions::fromEncodedForm\. The screens now feature improved default text, descriptions, and validation rules, providing a modern, type-safe starting point for role management features.
stubs/app/Orchid/Screens/Role · high confidence
Updated user management stubs with new screen structure and validation
The user management stubs in stubs/app/Orchid/Screens/User have been replaced with new implementations for UserEditScreen, UserListScreen, and UserProfileScreen. The UserEditScreen now supports both creating and editing users, using a dedicated layout for permissions and roles, and includes an impersonation button. The UserListScreen provides a paginated list with filters and a modal for editing. The UserProfileScreen allows users to update their profile information and password, with proper validation for email uniqueness and password confirmation. These changes improve the user management experience by providing a more structured and secure way to handle user data.
stubs/app/Orchid/Screens/User · high confidence
Fixes
9 commits (6 fixes) fixing resources/sass/components
A fix in resources/sass/components — 9 commits (6 fixs), 18 files: “fix(ui): preserve form behavior with Bootstrap markup”; “Fix broken thumbnail sizing and unify image fallbacks (\#3147)”; “Fixed code style”; and 5 more (refs \#3147, \#3143, \#3096, \#3131).
resources/sass/components · medium confidence · unverified
Test coverage
7 commits adding/updating tests in tests/Browser/Fields; Added browser and feature tests for Orchid platform interactions; Added comprehensive feature tests for the Orchid Platform; Added comprehensive unit tests for core Orchid components; Added feature tests for screen methods, routing, and property access; Added feature tests for the Example screen and user/role management routes; Added screen testing helpers; Added test application fixtures and service provider; Added test fixture components for view rendering scenarios; Added test fixture for RoleNames enum; Added test fixtures for email, name, pattern, hidden, and display-less filters; Added test for TaskCompleted notification; Added test infrastructure and base test cases; Added test layout fixtures for listeners, filters, and tables; Added test policy classes for sort permission scenarios; Added test screen for Select field configurations; Added test view templates for component and layout testing; Added tests for Orchid artisan commands; Added tests for UserPresenter; Added unit tests for Screen Action components; Added unit tests for Screen Fields; Added unit tests for Screen Layout components; Added unit tests for Screen components and layouts; Added unit tests for Screen macro capabilities; Added unit tests for Support helpers and testing utilities; Added unit tests for screen cell components; Added unit tests for the HasTranslations trait; Added unit tests for the WhereDate filter; Expanded test fixtures for screen behaviors.
Dependencies
Updated core dependencies for Laravel 10-13 and modernized frontend tooling
The platform's dependency manifests have been updated to support Laravel 10, 11, 12, and 13, alongside Scout 9-11 and Breadcrumbs 4-6. Frontend tooling has been upgraded to use Vite 8, Bootstrap 5.3, Stimulus 3, Turbo 8, and Sass-loader 17, while also updating Axios, Tom-select, and Codemirror packages to their latest compatible versions.
(dependencies) · high confidence
Housekeeping
Empty plugin stylesheet added
An empty SCSS file (plugin.scss) was added to the resources/sass/plugins directory. This file currently contains no styles and serves as a placeholder for future plugin-specific styling.
resources/sass/plugins · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.
Score
- CAI 44.2 → 49.7 (+5.5)
- Rubric changed (rubric-2026.11.2 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 49.0 → 46.5 (-2.5)
- Architecture 72.2 → 75.5 (+3.3)
- Maturity 54.3 → 54.3 (0.0)
- Readiness 39.5 → 56.3 (+16.8)
- Security 47.4 → 56.3 (+8.9)
- Accessibility 42.3 → 45.7 (+3.4)
- Performance 100.0 → 100.0 (0.0)
Resolved (31)
- CI installs an unverified third-party binary (.github/workflows/quality.yml)
- Duplicated block (61 lines × 2) (stubs/app/Orchid/Screens/Examples/ExampleCardsScreen.php)
- High secret: WD-SECRET-0005 (app/Http/Controllers/Auth/RegisterController.php)
- High secret: WD-SECRET-0005 (src/Foundation/Http/Controllers/Auth/RegisterController.php)
- High secret: WD-SECRET-0005 (src/Foundation/Http/Forms/Systems/Users/BaseUserForm.php)
- High secret: WD-SECRET-0005 (src/Foundation/Http/Forms/Systems/Users/BaseUserForm.php)
- High secret: WD-SECRET-0005 (src/Http/Controllers/Auth/RegisterController.php)
- High secret: WD-SECRET-0005 (src/Orchid/Http/Controllers/Auth/RegisterController.php)
- High secret: WD-SECRET-0005 (src/Platform/Http/Controllers/Auth/RegisterController.php)
- High secret: WD-SECRET-0005 (stubs/app/Orchid/Screens/User/UserProfileScreen.php)
- High secret: WD-SECRET-0005 (stubs/app/Orchid/Screens/User/UserProfileScreen.php)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- Leaked secret: hardcoded-credential (src/Platform/Http/Controllers/LoginController.php)
- Leaked secret: hardcoded-credential (stubs/app/Orchid/Screens/User/UserProfileScreen.php)
- Leaked secret: hardcoded-credential (stubs/app/Orchid/Screens/User/UserProfileScreen.php)
- Projects may be oversized for their cohesion
- Scanner failed to run — not a clean result
- Scanner failed to run — not a clean result
- …and 11 more
New (9)
- Circular dependency (src/Access/RoleAccess.php)
- Edited copy of a member (10 corresponding lines) (stubs/app/Orchid/Screens/User/UserListScreen.php)
- Edited copy of a member (15 corresponding lines) (src/Screen/Fields/Attach.php)
- Edited copy of a member (7 corresponding lines) (src/Access/RoleAccess.php)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- Off the main sequence: src/Metrics
- TodoComment (tests/App/RouteSolving.php)
Changes since last survey
- 10 commits — 9 feature/other, 1 fixes
By area
- src/Screen — 3 commits
- (root) — 2 commits
- .github/badges — 1 commit
- src/Access — 1 commit
- src/Filters — 1 commit
- stubs/app — 1 commit
- tests/Unit — 1 commit
Notable commits
- fix: Fix restoration of typed screen properties without defaults (#3184)
- change: Add Rector checks to quality assurance (#3175)
- change: Preserve cleared field values after validation errors (#3185)
- change: Refresh the Main test database lazily (#3177)
- change: Replace Psalm with PHPStan and configure Testbench Workbench (#3176)
- change: Sync replaced roles and dispatch events for actual changes (#3186)
- change: Update coverage badge
- change: Use Laravel 12 APIs and method-based model casts (#3179)
- change: Use Laravel scope attributes in model traits (#3178)
- change: Use model attributes for URL filters and sorting (#3181)
Architecture
- Unchanged — 0 containers · 1 contexts · 0 edges
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
orchidsoftware/platform was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 17 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit bf97e1106af14212ccff17a6973afa5c8c8cc90d — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.85+preprod-eba6548ac50f.