Download the PHP package pavloniym/nova-iframe-page without Composer

On this page you can find all versions of the php package pavloniym/nova-iframe-page. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nova-iframe-page

Nova Iframe Page Tool for Laravel Nova

This Laravel Nova package allows you to create pages with iframe content, making it easy to embed external websites or internal application pages within your Nova admin panel. The package is fully customizable, enabling you to adjust the iframe's appearance and behavior to suit your needs.

Features

Requirements

Installation

You can install the package via Composer:

Usage

Registering the Routes

To register the routes for the iframe page, you need to modify your NovaServiceProvider. Add the following code to the routes method:

Adding the Tool to the Sidebar Menu

To add the iframe page tool to the Nova sidebar menu, modify the tools method in your NovaServiceProvider as follows:

Customization Options

The package provides several methods to customize the iframe page:

1. Set the Iframe Source

Set the URL of the page you want to display in the iframe.

2. Set the Height

You can adjust the height of the iframe using the setHeight method. The height can be any valid CSS height value.

3. Disable Scrolling

If you want to disable scrolling within the iframe, use the setNoScroll method.

4. Disable Top Padding

To remove the default top padding of the iframe content, use the setNoTopPadding method.

5. Remove Iframe Border

To remove the iframe's border, use the setNoFrameBorder method.

6. Set Border Radius

You can enable or disable the border radius around the iframe using the setWithBorderRadius method.

7. Custom Iframe Styles

You can pass an array of styles to the iframe using the setIframeStyles method.

8. Custom Iframe Options

Additional iframe options can be passed using the setIframeOptions method.

Example

Here's a complete example of how to configure and use the NovaIframePage tool in your Nova admin panel:

In this example, the iframe page is configured to display a custom page from https://example.com with specific styles, options, and settings.

Conclusion

The Nova Iframe Page Tool for Laravel Nova provides a flexible way to embed external content directly within your Nova admin panel. With customizable settings and easy integration, you can enhance your admin interface by adding iframe pages tailored to your needs.

License

This package is open-source software licensed under the MIT license. Feel free to contribute, report issues, or suggest improvements!


All versions of nova-iframe-page with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package pavloniym/nova-iframe-page contains the following files

Loading the files please wait ....