PHPackages                             headerx/laravel-iframes - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. headerx/laravel-iframes

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

headerx/laravel-iframes
=======================

Easily load routes inside an iframe.

v1.0.1(3y ago)66.6k↑12.5%1MITPHP

Since Jun 27Pushed 3y agoCompare

[ Source](https://github.com/headerx/laravel-iframes)[ Packagist](https://packagist.org/packages/headerx/laravel-iframes)[ Docs](https://github.com/headerx/laravel-iframes)[ GitHub Sponsors](https://github.com/headerx)[ RSS](/packages/headerx-laravel-iframes/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (9)Dependencies (11)Versions (13)Used By (0)

Easily load routes inside an iframe.
====================================

[](#easily-load-routes-inside-an-iframe)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d0e9480a721b30c4af6f638329cb65975aeff81b081f3f71ca1b39b3c26e3fe1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f686561646572782f6c61726176656c2d696672616d65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/headerx/laravel-iframes)[![GitHub Tests Action Status](https://camo.githubusercontent.com/49dec9d60b9b9dda6eedba18c507d3b46c9cf025243c5329556d70335a5ec45b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f686561646572782f6c61726176656c2d696672616d65732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/headerx/laravel-iframes/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/60068a17e23385b6295e89fc2127916ee3728a1b7a764aa5c4d8f46816e6ca90/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f686561646572782f6c61726176656c2d696672616d65732f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/headerx/laravel-iframes/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/8c10ffdc5766449353b7d988950114021348d64f0d5da21af53496b7c39dec36/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f686561646572782f6c61726176656c2d696672616d65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/headerx/laravel-iframes)

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

[](#installation)

You can install the package via composer:

```
composer require headerx/laravel-iframes
```

You can publish views with:

```
php artisan vendor:publish --provider="HeaderX\Iframes\IframesServiceProvider" --tag="iframes-views"
```

You can publish the config file with:

```
php artisan vendor:publish --provider="HeaderX\Iframes\IframesServiceProvider" --tag="iframes-config"
```

```
If you are you are using jetstream, you may want to use replace 'web' middleware
below with 'sanctum', depending on your configurations but, this is just to say
the 'default' for jetstream is sanctum.

```

This is the contents of the published config file:

```
