Download the PHP package stonehilt/bootstrap without Composer

On this page you can find all versions of the php package stonehilt/bootstrap. 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 bootstrap

StoneHilt Bootstrap

Integration of the Bootstrap CSS library into Laravel components. The goal is to have each key function in the Bootstrap map to a laravel component that can be easily and consistently integrated into a project.

Everything done in these components can be performed with pure HTML in a blade, however these components allow for the better abstraction of logic without using a series custom blade partials.

Usage

Installation

Include this library:

Add the CSS and Javascript in your layout(s):

Most functionality is automatically injected with from the StoneHiltBootstrapServiceProvider, though there is a couple instances where the ViewServiceProvider will need to be replaced/edited. The simple route is to include StoneHilt\Bootstrap\Providers\ViewServiceProvider::class in the app config instead of Illuminate\View\ViewServiceProvider::class (or extend it if the Illuminate class is already replaced).

Customization

All the views that back each component can be published to the app's resource directory for project customization.

To use local (ie non-cdn) assets, the configuration needs to be published and then updated. The assets themselves will need to be published if using composer based source files.

Unless there's a security or performance reason, it is not recommended to use local assets and simply use the default settings to include the CDN provided copies.

To change the version of Bootstrap used, the config will need to be published.

Available Components

Bootstrap's Component HTML Tag
Accordion x-bootstrap::component.accordion
Alert x-bootstrap::component.alert
Badge x-bootstrap::component.badge
Breadcrumb x-bootstrap::component.breadcrumb
Button x-bootstrap::component.button
Card x-bootstrap::component.card
Carousel x-bootstrap::component.carousel
Dropdown x-bootstrap::component.dropdown
List Group x-bootstrap::component.list-group
Nav x-bootstrap::component.nav
Navbar x-bootstrap::component.navbar
Offcanvas x-bootstrap::component.offcanvas
Progress x-bootstrap::component.progress
Tabs x-bootstrap::component.tabs
Form HTML Tag
Form x-bootstrap::form
Checkbox x-bootstrap::form.checkbox
Control x-bootstrap::form.control
Control Group x-bootstrap::form.control-group
Radio x-bootstrap::form.radio
Select x-bootstrap::form.select
Typography HTML Tag
Heading x-bootstrap::typography.heading
Text x-bootstrap::typography.text
General HTML Tag
Container x-bootstrap::container
Column x-bootstrap::col
Row x-bootstrap::row
Image x-bootstrap::image
Figure x-bootstrap::figure
Table x-bootstrap::table
Support HTML Tag
CSS x-bootstrap::css
Javascript x-bootstrap::javascript

Examples

See tests/Feature/views for additional examples of usages of the various parameters and layout approaches.

Bootstrap's Components

Accordion

https://getbootstrap.com/docs/5.3/components/accordion/

Badge

https://getbootstrap.com/docs/5.3/components/badge/

Breadcrumb

https://getbootstrap.com/docs/5.3/components/breadcrumb/

Dropdowns

https://getbootstrap.com/docs/5.3/components/dropdowns/

Usage of slots for the items

Navs & Tabs

https://getbootstrap.com/docs/5.3/components/navs-tabs/ Simple "nav" based navigation

Tabs styled navigation

Pills styled navigation

Dropdown as an item

Offcanvas

https://getbootstrap.com/docs/5.3/components/offcanvas/

All Options

Progress

https://getbootstrap.com/docs/5.3/components/progress/

Form

Form

Using method and action.

Using named route

General

Standard Grid

https://getbootstrap.com/docs/5.3/layout/grid/


All versions of bootstrap with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-json Version *
laravel/framework Version ~10
symfony/http-foundation Version ^6.4
stonehilt/blade Version ~10
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 stonehilt/bootstrap contains the following files

Loading the files please wait ....