PHPackages                             larafied/larafied - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. larafied/larafied

ActiveLibrary[Testing &amp; Quality](/categories/testing)

larafied/larafied
=================

Browser-based API testing tool for Laravel projects

1.1.1(2w ago)06MITPHPPHP ^8.2CI failing

Since Apr 14Pushed 2w agoCompare

[ Source](https://github.com/SeadSilajdzic/larafied)[ Packagist](https://packagist.org/packages/larafied/larafied)[ RSS](/packages/larafied-larafied/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (4)Dependencies (8)Versions (5)Used By (0)

Larafied
========

[](#larafied)

A browser-based API testing tool for Laravel — no external accounts, no setup, no Postman. Installed as a Composer package and available at `/larafied` in your local environment.

Features
--------

[](#features)

- **Route scanner** — automatically lists all your Laravel routes
- **HTTP client** — send requests with custom headers, JSON body, GraphQL, or raw
- **Auth helpers** — Bearer token, Basic auth, and API key authentication tabs (Pro)
- **Collections** — save and organise requests into folders; import/export Postman v2.1 (Pro)
- **Environments** — define variable sets (e.g. `{{BASE_URL}}`, `{{TOKEN}}`) and switch between them (Pro)
- **Pre-request scripts** — run JavaScript before each request to set headers, modify the URL, or read environment variables (Pro)
- **SQL Console** — run `SELECT` queries against your app's database connections (Pro)
- **Request history** — last 50 sent requests, searchable, one click to re-load (Pro)
- **Query log** — see which SQL queries each request triggered (Pro)
- **Password protection** — optional session-based lock for shared machines
- **Pro/Team tiers** — unlock additional features via license key

Requirements
------------

[](#requirements)

- PHP 8.1+
- Laravel 10, 11, or 12
- `ext-pdo`, `ext-pdo_sqlite`, `ext-json`

Installation
------------

[](#installation)

```
composer require --dev larafied/larafied
php artisan larafied:install
```

The install command creates `storage/larafied/` and publishes the compiled assets.

Open your browser at `http://your-app.test/larafied`.

> Larafied is restricted to `local` environment by default. It will return `403` in production.

Configuration
-------------

[](#configuration)

Publish the config file:

```
php artisan vendor:publish --tag=larafied-config
```

`config/larafied.php`:

```
return [
    // URL prefix — change if /larafied conflicts with your routes
    'prefix' => env('LARAFIED_PREFIX', 'larafied'),

    // Environments where Larafied is accessible
    'allowed_environments' => ['local'],

    // Optional: restrict to specific route name patterns in the scanner
    'exclude_routes' => [
        'larafied.*',
        'debugbar.*',
        'horizon.*',
        'telescope.*',
    ],

    // Optional: password-protect the UI (session-based)
    'password' => env('LARAFIED_PASSWORD'),

    // License key for Pro/Team features
    'license_key' => env('LARAFIED_LICENSE_KEY'),

    // Days to keep features active when cloud validation is unreachable
    'grace_period_days' => 7,
];
```

Environments and Variables
--------------------------

[](#environments-and-variables)

Create environments with key/value pairs in the sidebar. Use `{{VARIABLE_NAME}}` syntax in URLs and header values — Larafied resolves them from the active environment before sending.

Example:

- Environment: `local` with `BASE_URL = http://api.test`
- URL: `{{BASE_URL}}/api/users` → sends to `http://api.test/api/users`

Secret variables (marked with the eye icon) are masked in the UI and not logged to history.

Password Protection
-------------------

[](#password-protection)

Set `LARAFIED_PASSWORD` in your `.env` to require a password before accessing the UI. The session is remembered for the browser session.

```
LARAFIED_PASSWORD=your-secret
```

Query Log
---------

[](#query-log)

The query log middleware is registered automatically by the package. Enable the **Query Log** toggle in the request builder URL bar (Pro feature), then check the **Queries** tab in the response viewer to see which SQL queries each request triggered — including the SQL, bindings, and per-query timing.

Free vs Pro
-----------

[](#free-vs-pro)

FeatureFreeProRoute scanner✓✓HTTP client (JSON / Raw)✓✓Collectionsup to 5unlimitedAuth helpers (Bearer / Basic / API Key)—✓Postman import / export—✓Pre-request scripts—✓Request history (searchable)—✓Environments + variable interpolation—✓GraphQL body type—✓SQL Console—✓Query log—✓Activate a Pro license key from the gear icon in the top-right corner of the UI, or via the API:

```
curl -X POST https://your-app.test/larafied/api/license/activate \
  -H "Content-Type: application/json" \
  -d '{"key": "YOUR-LICENSE-KEY", "domain": "your-app.test"}'
```

Security
--------

[](#security)

- Access is blocked in non-`local` environments by default
- All outbound requests go through an SSRF guard that blocks private IP ranges, loopback addresses, AWS metadata endpoints, and non-HTTP schemes
- Larafied uses its own SQLite database (`storage/larafied/workspace.db`) and never reads or writes to your application's database (except via the SQL Console, which is read-only SELECT only)
- The license cache is HMAC-signed to detect tampering

Development
-----------

[](#development)

Assets are pre-compiled and committed to `public/`. No Vite or Mix configuration is needed in your host application.

To rebuild after modifying source files in this package:

```
npm install
npm run build
```

Run tests:

```
./vendor/bin/pest   # PHP
npm test            # JavaScript
```

License
-------

[](#license)

Larafied is source-available. The package code is free to use in local development environments. Commercial use of Pro/Team features requires a valid license key.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance96

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~12 days

Total

4

Last Release

19d ago

PHP version history (2 changes)1.0.0PHP ^8.1

1.0.1PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/faba3f6e4898896dadd86321af009e8d202439fc2be46025417225331f5b70ce?d=identicon)[seaddev](/maintainers/seaddev)

---

Top Contributors

[![SeadSilajdzic](https://avatars.githubusercontent.com/u/49587827?v=4)](https://github.com/SeadSilajdzic "SeadSilajdzic (13 commits)")

---

Tags

testingapilaraveldeveloper-toolslarafied

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/larafied-larafied/health.svg)

```
[![Health](https://phpackages.com/badges/larafied-larafied/health.svg)](https://phpackages.com/packages/larafied-larafied)
```

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k51.0M7.4k](/packages/larastan-larastan)[psalm/plugin-laravel

Psalm plugin for Laravel

3325.1M337](/packages/psalm-plugin-laravel)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

76318.2M110](/packages/laravel-mcp)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9732.3M121](/packages/roots-acorn)[spatie/laravel-export

Create a static site bundle from a Laravel app

670139.5k6](/packages/spatie-laravel-export)[api-platform/laravel

API Platform support for Laravel

59156.3k10](/packages/api-platform-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
