Download the PHP package northeastern-web/blade-components without Composer

On this page you can find all versions of the php package northeastern-web/blade-components. 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 blade-components

kernl(ui) Blade

Package of Blade components for Northeastern University websites

Prequisites

In order to use this package

Installation

You can install the package via composer:

Note: In order to load the scripts needed for the kernl-ui blade package, you will need to include the scripts just before the closing </body> tag in your main template. Example

Blade Template

WordPress Example (via index.php)

Note: You may need to add the following to your composer.json file before installing the package.

If your project is using PurgeCss, merge the default PurgeCss content from the @northeaster-web/kernl-ui package in your tailwind.config.js:

Usage

Laravel app

To use the components in a Laravel app, the Service Provider should be loaded automatically, requiring no extra configuration.

Tighten Jigsaw

To use the components in a tightenco/jigsaw, load the Northeastern\Blade\JigsawServiceProvider class in the Jigsaw beforeBuild event:

Components

Local Header

To use the local header component, add the following markup to your Blade template.

Props

General Site Info
Menu Items
Menu Options
Search Options
Mega Menu Options

Accordions

To use the accordion component, add the following markup to your Blade template.

Alternatively, you can use the x-kernl-accordion.with-left-icon component for a slightly different design.

x-kernl-accordion.base Props

x-kernl-accordion.item/x-kernl-accordion.with-left-icon Props

Alerts

To use the alert components, add the following markup to your Blade template.

Alternatively, you can use the x-kernl-alert.full-width component for a slightly different design.

x-kernl-alert.container and x-kernl-alert.full-width Props

Any additional classes or attributes you put on the component will be passed through.

Banners

With Offset Card

To use the With Offset Card Banner component, add the following markup to your Blade template.

x-kernl-banners.with-offset-card Props

Bottom Title

To use the Bottom Title Banner component, add the following markup to your Blade template.

x-kernl-banners.bottom-title Props

Buttons

To use the Solid Button and Outline Button components, add the following markup to your Blade template.

By default, the button components will render a button element. If you need an anchor element instead, just include the href prop.

Any additional classes or attributes you put on the component will be passed through.

x-kernl-button.solid and x-kernl-button.outline Props

Carousels

Base and Base Slide

To use the Carousel Base and Base Slide component, add the following markup to your Blade template.

x-kernl-carousel.base Props

x-kernl-carousel.base.slide Props

Any additional attributes you add to the Base Slide component (style, etc.), will be passed through to the background element.

Split and Split Slide

To use the Split Carousel and Split Slide component, add the following markup to your Blade template.

x-kernl-carousel.split Props

x-kernl-carousel.split.slide Props

Any additional attributes you add to the Split Slide component (style, etc.), will be passed through to the background element.

Loaders

To use the Loader component, light or dark, add the following markup to your Blade template.

Light

x-kernl-loaders.light Props

Dark

x-kernl-loaders.dark Props

Tags

Solid

To use the Solid Tag component, add the following markup to your Blade template.

x-kernl-tags.solid Props

Outline

To use the Outline Tag component, add the following markup to your Blade template.

x-kernl-tags.outline Props

Modals

Base Modal

To use the Base Modal component, add the following markup to your Blade template. The modal can be triggered from anywhere on your page using the NUModals.open and NUModals.close methods.

x-kernl-modals.base Props

Footer

Local

To use the Local Footer component, add the following markup to your Blade template.

Props

PreFooter

To use the PreFooter component, use the following markup to your Blade Template. Note, for a multi-column layout the element will need to be wrapped in a foreach loop, or manually populated.

x-kernl-footers.base Props

x-kernl-footers.base Props

Tabs

Underlined

x-kernl-tabs.underlined Props

x-kernl-tabs.underlined.item Props

Any additional classes or attributes you put on the item component will be passed through.

Bordered

x-kernl-tabs.bordered Props

x-kernl-tabs.bordered.item Props

Any additional classes or attributes you put on the item component will be passed through.

Detached

x-kernl-tabs.detached Props

x-kernl-tabs.detached.item Props

Any additional classes or attributes you put on the item component will be passed through.

Heroes

Split Layout Media Content

x-kernl-heroes.split-layout-content-media Props

Any additional classes or attributes you put on the component will be passed through.

Note: when using the \$slot version, title, body, call-to-action and call-to-action-url are not required.

Full Background Media Centered Content

x-kernl-heroes.full-centered-content Props

Any additional classes or attributes you put on the component will be passed through.

Note: when using the \$slot version, title, body, call-to-action and call-to-action-url are not required.

Interior Navigation

x-kernl-interior-navigation.base Props

Any additional classes or attributes you put on the base component will be passed through the root div component.

Cards

Simple Link

x-kernl-cards.simple-link Props

Any additional classes or attributes you put on the component will be passed through.

Note: \$slot version has two named slots: 'main' and 'footer'. Use them to override the main and footer content respectively.

Simple With Actions

x-kernl-cards.simple-with-actions Props

Any additional classes or attributes you put on the component will be passed through.

Note: \$slot version has two named slots: 'main' and 'actions'. Use them to override the main and actions content respectively.

Link With Media

x-kernl-cards.link-with-media Props

Any additional classes or attributes you put on the component will be passed through.

Note: \$slot version has two named slots: 'main' and 'footer'. Use them to override the main and footer content respectively.

Note: The @tailwindcss/aspect-ratio plugin is required for the this component to work correctly. Please see documentation

Link With Media And Actions

x-kernl-cards.link-with-media-and-actions Props

Any additional classes or attributes you put on the component will be passed through.

Note: \$slot version has two named slots: 'main' and 'actions'. Use them to override the main and actions content respectively.

Note: The @tailwindcss/aspect-ratio plugin is required for the this component to work correctly. Please see documentation

Event

x-kernl-cards.event Props

Any additional classes or attributes you put on the component will be passed through.

Note: \$slot version has two named slots: 'main' and 'footer'. Use them to override the main and footer content respectively.

Note: The @tailwindcss/aspect-ratio plugin is required for the this component to work correctly. Please see documentation

Select

x-kernl-selects.select Props

Any additional classes or attributes you put on the component will be passed through.

Note: The @tailwindcss/forms plugin is required for the this component to work correctly. Please see documentation

Paginators

x-kernl-paginators.base Props

When listening for the page-changed event in js mode, you may access the new page via $event.detail.page.


All versions of blade-components with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2
illuminate/support Version ^7.0|^8.0
illuminate/view Version ^7.0|^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 northeastern-web/blade-components contains the following files

Loading the files please wait ....