berthott/laravel-internal-request

Laravel Helper for running internal requests

Maintainers

👁 berthott

Package info

github.com/berthott/laravel-internal-request

pkg:composer/berthott/laravel-internal-request

Statistics

Installs: 639

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

3.0.0 2023-02-16 07:55 UTC

Requires

None

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 76f138161cf3520620ab21e572390d6d8d721a51

  • Jan Bladt <berthott.woop@web.de>

This package is auto-updated.

Last update: 2026-06-11 18:03:58 UTC


README

👁 test workflow

Laravel-Internal-Request

Laravel Helper for running internal requests.

Installation

$ composer require berthott/laravel-internal-request

Usage

  • Import the facade berthott\InternalRequest\Facades\InternalRequest
  • For the API see berthott\InternalRequest\Services\InternalRequestService
use berthott\InternalRequest\Facades\InternalRequest;

/**
 * Use any http method using the request() method.
 */
InternalRequest::request('GET', $route, $data, $user);

/**
 * Use one of the convenience methods get(), post(), put(), delete().
 */
InternalRequest::get($route, $data, $user);

/**
 * Disable all middleware for a single request.
 */
InternalRequest::disableMiddleware()->get($route, $data, $user);

Compatibility

Tested with Laravel 10.x.

License

See License File. Copyright © 2023 Jan Bladt.