Download the PHP package padosoft/laravel-ai-act-compliance-admin without Composer

On this page you can find all versions of the php package padosoft/laravel-ai-act-compliance-admin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-ai-act-compliance-admin

laravel-ai-act-compliance-admin

The drop-in React admin SPA for Laravel AI Act + GDPR compliance ops.
8 production-grade screens. Pixel-ported from a Claude Design handoff. Cross-mounts into any Laravel app.

Latest Version on Packagist Total Downloads CI

Why · Screens · Killer features · Quick start · Cross-mount · Design system · Customise · Testing · A11y · Vibe-coding pack


🚀 AI vibe-coding pack included

Every padosoft/* package ships with a .claude/ directory containing:

composer require padosoft/laravel-ai-act-compliance-admin and the pack is auto-discovered when you open the project in Claude Code. No setup required. If you don't use Claude Code, the pack is invisible — it never affects runtime behaviour.


📖 Table of contents


🎯 Why this exists

You installed padosoft/laravel-ai-act-compliance. Now you need a UI for your DPO, Compliance Officer, and CISO to actually use the DSAR queue, browse the risk register, triage incidents, monitor cohort drift, sign attestations.

You could build that from scratch. It would take 4-6 weeks of FE engineering, plus chart design, plus a11y review, plus drawer / modal / palette UX work. Nobody wants to do that.

This package gives you the 8 production-grade screens out of the box. Pixel-perfectly ported from a Claude Design handoff bundle. React 19 + TypeScript + react-router-dom. Cross-mounts under /admin/ai-act-compliance in any Laravel app via the BrowserRouter basename pattern proven by pii-redactor-admin + eval-harness-ui.

Who's this for

You This package
Use padosoft/laravel-ai-act-compliance and need a UI ✅ Yes
Building a custom DPO console and want to start from polished components ✅ Yes
Operating a Laravel SaaS that needs auditor-friendly compliance dashboards ✅ Yes
Want a fully-functional admin out of the box (no Figma → React port) ✅ Yes
Pure backend service with no admin UI ❌ Use the backend package directly

🖥️ The eleven screens

Every screen is a real React 19 component (not a scaffold). Each has loading / ready / error / empty data-state props for deterministic E2E testing, a11y landmarks, and keyboard navigation.

# Screen What it does Key UI elements
1 Compliance Overview Single-pane KPI dashboard + activity feed + Article 30 attestation card 4 clickable KPI tiles (DSAR / Incidents / Consent / Bias) + alert banner + recharts-style DSAR depth SVG chart + chronological activity feed
2 DSAR Queue GDPR Art. 15 / 16 / 17 request queue Filterable table + bulk actions + status pills + SLA breach badges + drawer with subject / scope / timeline
3 Consent Overview Per-feature + per-user consent matrix Tabs (Per feature / Per user) + feature cards with consent bar (granted / revoked / never) + sparkline + user matrix table
4 Risk Register AI Act Annex III risk catalogue Category summary tiles (unacceptable / high / limited / low) + filter sidebar + card grid + drawer with article references
5 Incident Manager AI Act Art. 73 ticket lifecycle 4-lane kanban (open / triage / mitigating / closed) + severity-coloured cards + drawer with timeline + mitigations + escalation tree
6 Bias Monitor (v1.2 enhanced) AI Act Art. 10 cohort parity + drift Pluggable parity-metric dropdown (DemographicParity / EqualizedOdds / Calibration) with per-metric article evidence + 13-week drift multi-line chart + flagged samples table + per-metric CI bands
7 DPO Console Retention + deletion + attestation Data flow diagram (sankey-style SVG) + retention table + deletion log + Article 30 attestation modal with PDF generator
8 Settings Feature flags + env + webhooks Spatie-style switches + masked env vars (show/hide secrets) + webhook destination cards with health status
9 Alerts (v1.3) Cohort-drift dispatch audit trail Live-pill + channel / severity / status filter bar + dispatch table with permanent / transient pill + retry button on transient-failure rows + inline detail drawer with payload + decrypted endpoint + error message
10 Regulatory Feed (v1.4) EU AI Act amendment dashboard Severity + status filter bar + amendment table with impacted clauses chip strip + Poll-now button + inline detail drawer with Mark triaged / Mark resolved / Ignore actions
11 Tenants (v1.5) DPO multi-org console Platform KPI grid (total / active / suspended / alerts / amendments / FRIA / incidents) + tier + status filter bar + tenants table + inline detail drawer with Suspend / Activate / Archive actions

Cross-cutting UX


💎 Killer features

What makes this package WOW vs rolling your own admin:

1. Pixel-perfect design heritage

Every screen is ported from a real Claude Design handoff — not a Figma mockup, not a Bootstrap kit. The styles-base.css + styles-compliance.css files ship with the exact tokens, spacing, and SVG paths the designer signed off. You can swap shadcn / Tailwind v4 / your house style on top, but the baseline is enterprise-credible from minute zero.

2. SVG charts without recharts

Every chart in the package is hand-rolled SVG — no chart library dependency. That means:

The DSAR depth chart, the cohort parity chart with CI bands, the drift multi-line chart, the data flow sankey — all <300 LoC of plain SVG each.

3. Real keyboard navigation + a11y from the start

4. Cross-mount, not iframe

The package mounts as a real React app at /admin/ai-act-compliance — same browser session, same auth, same CSS variables as the host. No iframe sandboxing pain. Tested with pii-redactor-admin + eval-harness-ui cross-mount precedents.

5. TypeScript everywhere

Every screen, every helper, every chart component is .tsx / .ts. Strict mode on. The published shape of the host's HTTP API is fully typed in src/api/.


⚙️ Prerequisites

You need:

That's it.


⚡ Quick start (jr-proof, 5 minutes)

Even if you've never installed a Laravel package + React SPA combo before, you'll be running by the end of this section.

1. Install the package

That's it for installation. Laravel auto-discovery wires the service provider.

2. Publish the assets

This copies the pre-built React bundle to your public/vendor/ai-act-compliance-admin/ directory and registers the Vite manifest. No node / npm needed on your server.

3. Mount the route

Add to your routes/web.php:

The catch-all {any?} is required so the React BrowserRouter can handle client-side navigation between /dsar, /consent, etc.

4. Gate the route (recommended)

Wrap the route group in a policy gate so only your compliance team gets in:

Define the gate in AuthServiceProvider:

5. Visit it

Start your app (php artisan serve or whatever you use). Log in as a user with the dpo / compliance-officer / ciso / admin role. Visit:

You should see the Compliance Overview screen with KPI tiles, an activity feed, and the DSAR depth chart. Click the sidebar entries to navigate the 7 other screens. Hit ⌘K (Mac) or Ctrl+K (Linux/Win) for the command palette.

6. (Optional) Connect real data

Out of the box, the SPA renders against the backend package's HTTP API at /api/ai-act-compliance/* (mounted by the backend package service provider). If you want to point it at a different URL, edit config/ai-act-compliance-admin.php:

7. Cross-mount into AskMyDocs (or any other Laravel app)

If you're shipping the SPA inside another Laravel admin (e.g. AskMyDocs), serve it under an iframe pointed at /admin/ai-act-compliance/embed:

The package ships an /embed route that strips the host's chrome (no Laravel topbar / Sanctum re-login).

8. (Optional) Rebuild the bundle yourself

If you want to customise the SPA source:

Edit the components under src/features/<screen>/, save, and HMR reloads the page in <500ms.

When done:

Vite emits the production bundle to publishable/ for the PHP vendor:publish step to consume.


🔗 Cross-mount

The SPA uses BrowserRouter with a basename that matches your mount_prefix config. This means:

The pattern is proven — pii-redactor-admin (v4.4/W2) and eval-harness-ui (v4.4/W3) ship the same way in AskMyDocs.


🎨 Design system

CSS tokens

The package ships two CSS files (loaded automatically):

CSS custom properties drive the theme:

Icons

50+ lucide-style icons in src/components/Icons.tsx. Single base component (IconBase) + named exports (I.Inbox, I.ShieldCheck, I.Scale, etc.). Stroke-based, 16-24px friendly, currentColor.

Components

Reusable primitives in src/components/Primitives.tsx:

Layout

The shell (src/components/Shell.tsx) is a 3-column app shell:


⚙️ Customising

Swap a screen entirely

Each screen is a single file. To replace one:

  1. Create your own component (e.g. src/features/dsar/MyDsarScreen.tsx)
  2. Update src/App.tsx to route to it instead of DsarScreen
  3. Rebuild: npm run build
  4. Re-publish: php artisan vendor:publish --tag=ai-act-compliance-admin-assets --force

Customise the colour palette

Override the CSS custom properties in your host:

Add a 9th screen

  1. Add a RouteEntry to src/components/Shell.tsx::ROUTES
  2. Create src/features/<name>/<Name>Screen.tsx
  3. Add a <Route> to src/App.tsx
  4. Rebuild

Wire to a different backend

The default API client targets /api/ai-act-compliance/*. Override per-resource clients in src/api/:


🧪 Testing

The default test pack asserts every screen renders its top-level data-testid + key landmark nodes. Add your own Vitest + Playwright tests on top.

For E2E, use Playwright + getByTestId:


♿ Accessibility

WCAG 2.1 AA target. Every screen:

Tested with axe-core via the host's Playwright tests:a11y pack.


🤝 Companion package: backend

The Laravel backend is the source of truth:

padosoft/laravel-ai-act-compliance — 9 backend modules (Disclosure / RiskRegister / DSAR / BiasMonitoring / HumanReviewTracker / Incident / Consent / Cybersecurity / ComplianceAttestation) + Eloquent models + service provider + migrations + HTTP API.

Both packages cooperate: the backend exposes /api/ai-act-compliance/*, the admin consumes it.


🗺️ Roadmap


📋 Changelog

See CHANGELOG.md for the full release history.

Recent highlights:


🤝 Contributing

PRs welcome. Before opening one:

  1. Run npm run test locally and confirm it's green
  2. Run npm run build and check the published assets compile
  3. Add a Vitest spec for your new component
  4. Follow the existing TypeScript + React 19 conventions
  5. Update CHANGELOG.md under ## [Unreleased]

For major changes (new screen, new design system, breaking API), open an issue first.


📄 License

The MIT License (MIT). See LICENSE.md for details.

The bundled handoff CSS / JSX prototype in public/handoff/ is copyright Padosoft + Claude Design. Re-using it outside this package is allowed under MIT; please retain the attribution comment at the top of each file.


Made with 🇮🇹 by Padosoft · Powering AskMyDocs


All versions of laravel-ai-act-compliance-admin with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^11.0|^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package padosoft/laravel-ai-act-compliance-admin contains the following files

Loading the files please wait ...