PHPackages                             parkweb/ase-laravel - 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. parkweb/ase-laravel

ActiveLibrary

parkweb/ase-laravel
===================

Laravel integration for All Seeing Eye.

0.1.2(today)03↑2900%proprietaryPHPPHP ^8.2

Since Jul 23Pushed todayCompare

[ Source](https://github.com/Parkweb-IT-B-V/laravel-ase)[ Packagist](https://packagist.org/packages/parkweb/ase-laravel)[ RSS](/packages/parkweb-ase-laravel/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (7)Versions (4)Used By (0)

parkweb/ase-laravel
===================

[](#parkwebase-laravel)

Laravel integration for All Seeing Eye.

```
composer require parkweb/ase-laravel php-http/discovery guzzlehttp/guzzle nyholm/psr7
php artisan vendor:publish --tag=ase-config
```

If you installed an earlier local path version, run:

```
composer update parkweb/ase-php parkweb/ase-laravel guzzlehttp/guzzle nyholm/psr7 php-http/discovery
php artisan optimize:clear
```

Configure:

```
ASE_TOKEN=sk_ase_full_server_token
ASE_ENDPOINT=https://api-ase.parkwebit.nl/api/v1/ingest/envelope
ASE_ENABLED=true
ASE_RELEASE=${APP_VERSION}
ASE_ENVIRONMENT=production
ASE_DEPLOY_ID=${FORGE_DEPLOYMENT_ID}
ASE_TRANSPORT=queue
ASE_QUEUE=ase
ASE_DEBUG=false
```

Config file:

```
return [
    'dsn' => env('ASE_DSN'),
    'token' => env('ASE_TOKEN'),
    'endpoint' => env('ASE_ENDPOINT', 'https://api-ase.parkwebit.nl/api/v1/ingest/envelope'),
    'enabled' => env('ASE_ENABLED', true),
    'release' => env('ASE_RELEASE'),
    'capture_warnings' => true,
    'send_default_pii' => false,
    'sample_rate' => 1.0,
];
```

`ASE_DSN` is still supported for older installs. For new Laravel installs, prefer `ASE_TOKEN` + `ASE_ENDPOINT`.

What is captured automatically:

- unhandled HTTP exceptions and fatal shutdown errors;
- warnings when `capture_warnings` is enabled;
- authenticated user id/email;
- request URL, method and route;
- request id when present in request context;
- Laravel version, PHP version, environment, release and deploy id;
- queue failures with job metadata;
- command/scheduler failures via failed command exit codes.

Transport note:

- `ASE_TRANSPORT=sync` sends during the request and is easiest for testing.
- `ASE_TRANSPORT=queue` only sends when an `ase` queue worker is running.

Debugging delivery
------------------

[](#debugging-delivery)

Start with sync transport:

```
ASE_TRANSPORT=sync
ASE_DEBUG=true
```

Clear config and send a test event:

```
php artisan optimize:clear
php artisan ase:test
php artisan ase:test --exception
```

If ASE rejects the event, check `storage/logs/laravel.log` for:

```
ASE transport rejected event batch

```

Common causes:

- DSN host points to the wrong API domain.
- `ASE_TOKEN` uses a database ULID like `01...` instead of the full server token.
- The server key is revoked or expired.
- `ASE_TRANSPORT=queue` is configured but no queue worker is running.
- API returns `422` because the installed SDK package is stale.

Safety:

- ASE failures never crash the Laravel app.
- Authorization, cookie and CSRF headers are never sent.
- Request bodies are not sent by default.
- The ASE queue job is guarded against recursive queue failure capture.
- Use `ASE_TRANSPORT=queue` for production web requests.

Laravel Forge deploy snippet:

```
export ASE_RELEASE="$(git rev-parse --short HEAD)"
export ASE_DEPLOY_ID="${FORGE_DEPLOYMENT_ID:-$(date +%s)}"
php artisan config:cache
php artisan queue:restart
```

Queue worker:

```
php artisan queue:work --queue=ase,default --tries=3 --timeout=30
```

Scheduler/cron:

```
* * * * * cd /home/forge/example.com && php artisan schedule:run >> /dev/null 2>&1
```

Manual capture:

```
use ParkWeb\Ase\Ase;
use ParkWeb\Ase\Level;

Ase::setTag('tenant', 'acme');
Ase::captureMessage('Checkout degraded', Level::Warning);
Ase::captureException($throwable);
```

Laravel logging channel
-----------------------

[](#laravel-logging-channel)

Add an ASE channel to `config/logging.php`:

```
'channels' => [
    'ase' => [
        'driver' => 'custom',
        'via' => ParkWeb\Ase\Laravel\Logging\AseLogger::class,
        'level' => env('ASE_LOG_LEVEL', 'warning'),
        'bubble' => true,
    ],
],
```

Use it directly:

```
Log::channel('ase')->warning('Checkout latency is high', [
    'tenant' => 'acme',
    'duration_ms' => 1840,
]);

Log::channel('ase')->error('Payment failed', [
    'exception' => $throwable,
]);
```

Or add it to an existing stack:

```
'stack' => [
    'driver' => 'stack',
    'channels' => ['single', 'ase'],
    'ignore_exceptions' => false,
],
```

The log channel maps Laravel/Monolog levels to ASE levels and sends context as `extra`. Add `['ase_skip' => true]` to a log context if you explicitly want to avoid ASE capture for that record.

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance100

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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 ~0 days

Total

3

Last Release

0d ago

### Community

Maintainers

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

---

Top Contributors

[![GilianAbels](https://avatars.githubusercontent.com/u/12974196?v=4)](https://github.com/GilianAbels "GilianAbels (9 commits)")

### Embed Badge

![Health badge](/badges/parkweb-ase-laravel/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.2k](/packages/craftcms-cms)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[moonshine/moonshine

Laravel administration panel

1.3k253.1k86](/packages/moonshine-moonshine)[mateusjunges/laravel-kafka

A kafka driver for laravel

7253.6M21](/packages/mateusjunges-laravel-kafka)[illuminate/log

The Illuminate Log package.

6225.3M647](/packages/illuminate-log)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M598](/packages/shopware-core)

PHPackages © 2026

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