PHPackages                             angellco/portal - 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. angellco/portal

AbandonedArchivedCraft-plugin[Utility &amp; Helpers](/categories/utility)

angellco/portal
===============

Brings enhanced Live Preview capabilities to Craft, including a device toggle and additional targets in the main Live Preview tool.

1.1.3(7y ago)209.9k1proprietaryPHP

Since Sep 26Pushed 5y ago2 watchersCompare

[ Source](https://github.com/angell-co/Portal)[ Packagist](https://packagist.org/packages/angellco/portal)[ RSS](/packages/angellco-portal/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (1)Versions (9)Used By (0)

This plugin is no longer necessary! Support for device previews was added to the Craft core in [3.6](https://github.com/craftcms/cms/pull/7375).

---

Portal
======

[](#portal)

Portal brings advanced Live Preview capabilities to Craft CMS.

[![Banner](resources/img/banner.png)](resources/img/banner.png)

Preview your content on tablet &amp; mobile in the device emulator and add additional target templates for users to switch to, all within the primary Live Preview window.

[![Screenshot](resources/img/screenshot.png)](resources/img/screenshot.png)

Check out the [introductory video](https://youtu.be/BWXoswTiUGk).

**Available in the plugin store for $29.**

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

[](#requirements)

This plugin requires Craft CMS 3.0.15 or later.

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require angellco/portal

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Portal.

Usage
-----

[](#usage)

There are two parts to Portal right now and both affect Live Preview.

### Device Emulator

[](#device-emulator)

The device emulator is a tool that lets your users preview their content as it will look on different device screens, for simplicity there are only three options: Desktop, Tablet and Mobile. It looks like this:

[![Screenshot](resources/img/screenshot.png)](resources/img/screenshot.png)

You can switch between devices, change the orientation and also the zoom level.

If you wish to disable this feature then add the following to `config/portal.php`:

```
