Download the PHP package chrisrhymes/bulma-blade-ui without Composer

On this page you can find all versions of the php package chrisrhymes/bulma-blade-ui. 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 bulma-blade-ui

Bulma Blade UI

Packagist Downloads GitHub Repo stars GitHub forks GitHub Workflow Status

A set of Laravel Blade components for the Bulma Frontend Framework. Built for Laravel 8.x and Bulma 0.9.x.

This package also contains authentication views to use with Laravel Fortify.

Contents

Getting Started

The package should auto discover in Laravel 8.

Alpine JS

Some components have some interactivity, such as notifications being dismissed. The components in this package have been pre-configured to use Alpine JS as it is a small and easy to use JavaScript package.

Therefore, to make use of this interactivity you will need to include Alpine JS within your Laravel app.

Publishing Views & Config

If you want to use the auth views in the package then you will need to publish the config so you can overwrite the default configuration.

php artisan vendor:publish --tag=config --provider=BulmaBladeUi\\BulmaBladeUiServiceProvider

If you would like to publish the views you can do so with the following command. It may lead to difficulties updating at a later if you customise the components.

php artisan vendor:publish --provider=BulmaBladeUi\\BulmaBladeUiServiceProvider

Components

The package has the following components available:

The components are in the bbui namespace.

Inputs

Options

Select, radio and multi-checkboxes expect an array of options :options="['value' => 'label', 'value2 => 'label2']"

Read Only

The following input components can be made readonly by setting :readonly="true"

Placeholder

The following input components can have a placeholder set by setting the placeholder="The placeholder text"

Additional Classes

Bulma allows you to set the colours, sizes and states for input, textarea and select. You can pass in the additional classes and they will be added to the component.

This applies to the following input components

Livewire Inputs (Experimental)

To use inputs with Livewire, set the wire:model="modelName" as an attribute with the relevant model name. You don't need to set the value="" if using the wire:model.

You can also add defer, lazy or debounce to the following inputs:

Card

The card allows a card with a title or with an image. The card also allows a footer by using the named slot.

Media

Media accepts an image for the media-left, the content and an optional media right using the named slot.

Message

The message allows you to override the type from the default 'is-info'. Alpine.js is required to dismiss the message.

From v0.1.3 the title is optional. If no title is provided then the message-header will not be displayed.

Notification

The notification allows you to override the type from the default 'is-info'. Alpine.js is required to dismiss the notification.

Tabs

The tabs component uses Alpine.js to show and hide the tab content.

Modal

There are modal and modal-card components. Both require Alpine.js.

Views

Pagination

The pagination view provides next, previous and a pagination list of page numbers. The page numbers are centered between the next and previous page buttons.

You can use the pagination view for the package by setting the view in the ->links() method, as shown below, or using other methods described in the Laravel docs.

For Livewire pagination, use the bbui::livewire.pagination view. This replaces the href with the relevant wire:click settings.

Simple Pagination

The simple pagination view provides next and previous page buttons.

You can use the simple pagination view for the package by setting the view in the ->links() method, as shown below, or using other methods described in the Laravel docs.

For Livewire simple pagination, use the bbui::livewire.simple-pagination view. This replaces the href with the relevant wire:click settings.

Auth Views

If you use Laravel Fortify and want to make use of the package's authentication views then set the below in the boot() method of your App\Providers\FortifyServiceProvider

Then set the view component you wish to extend by updating the 'auth_extends' => 'bbui::default-layout' in the bulma-blade-ui.php config file.

Tests

The package has basic tests for the components. To run the tests


All versions of bulma-blade-ui with dependencies

PHP Build Version
Package Version
No informations.
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 chrisrhymes/bulma-blade-ui contains the following files

Collapse All

.github

   workflows

    php.yml
  FUNDING.yml

config

  bulma-blade-ui.php

resources

   views

     auth
     components
     livewire
    pagination.blade.php
    simple-pagination.blade.php

src

  BulmaBladeUiServiceProvider.php

tests

   Components

    TabsTest.php
    SelectTest.php
    ReadOnlyInputComponentTests.php
    RadioTest.php
    PlaceholderInputTests.php
    NotificationTest.php
    MultiCheckboxTest.php
    ModalTest.php
    ModalCardTest.php
    LivewireModelTests.php
    MessageTest.php
    InputTest.php
    HorizontalTextareaTest.php
    HorizontalSelectTest.php
    HorizontalRadioTest.php
    HorizontalMultiCheckboxTest.php
    HorizontalInputTest.php
    CheckboxTest.php
    CardTest.php
    BaseInputComponentTests.php
    TextareaTest.php

   Models

    User.php

   Views

    PaginationTest.php
    SimplePaginationTest.php
  DBTestCase.php
  TestCase.php
.editorconfig
.gitignore
LICENSE
README.md
composer.json
phpunit.xml