PHPackages                             helvetiapps/jetstrap - 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. helvetiapps/jetstrap

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

helvetiapps/jetstrap
====================

A Laravel 8 package to easily switch TailwindCSS resources generated by Laravel Jetstream to Bootstrap 4 or 5.

v2.5.2(3y ago)010MITVuePHP ^7.3|^8.0|^8.1

Since Sep 24Pushed 3y agoCompare

[ Source](https://github.com/daredloco/jetstrap)[ Packagist](https://packagist.org/packages/helvetiapps/jetstrap)[ RSS](/packages/helvetiapps-jetstrap/feed)WikiDiscussions v2.x Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (37)Used By (0)

Jetstrap
========

[](#jetstrap)

[![Latest Stable Version](https://camo.githubusercontent.com/9ce851ef59034f0fb55704380962fd46bb8cb3d3b7df60fb2ab9d492b8d27e64/68747470733a2f2f706f7365722e707567782e6f72672f6e617363656e742d6166726963612f6a657473747261702f76)](//packagist.org/packages/nascent-africa/jetstrap)[![Total Downloads](https://camo.githubusercontent.com/734c004a4777a687152c45095d8182b520fe84b2fd3d648a29981389cf0cc84f/68747470733a2f2f706f7365722e707567782e6f72672f6e617363656e742d6166726963612f6a657473747261702f646f776e6c6f616473)](//packagist.org/packages/nascent-africa/jetstrap)[![License](https://camo.githubusercontent.com/6ec77db8bbe61296f3887d34272a25c6f0e7645a2d92a39596af2cd9ce7bf64e/68747470733a2f2f706f7365722e707567782e6f72672f6e617363656e742d6166726963612f6a657473747261702f6c6963656e7365)](//packagist.org/packages/nascent-africa/jetstrap)

Description
-----------

[](#description)

Jetstrap is a lightweight laravel 8 package that focuses on the `VIEW` side of [Jetstream](https://github.com/laravel/jetstream) / [Breeze](https://github.com/laravel/breeze) package installed in your Laravel application, so when a swap is performed, the `Action`, `MODEL`, `CONTROLLER`, `Component` and `Action` classes of your project is still 100% handled by Laravel development team with no added layer of complexity.

Table of Content
----------------

[](#table-of-content)

- [Installation](#installation)
    - [Installing Jetstream](#installing-jetstream)
        - [Install Jetstream With Livewire](#install-jetstream-with-livewire)
        - [Or, Install Jetstream With Inertia](#or--install-jetstream-with-inertia)
    - [Install Jetstrap](#install-jetstrap)
    - [Finalizing The Installation](#finalizing-the-installation)
    - [Extras](#extras)
        - [Pagination](#pagination)
- [Presets](#presets)
    - [Core Ui](#core-ui)
    - [AdminLTE](#adminlte)
- [Breeze](#breeze)
    - [Swapping Breeze resources](#swapping-breeze-resources)
    - [Swapping Breeze inertia resources](#swapping-breeze-inertia-resources)
- [Testing](#testing)
- [License](#license)

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

[](#installation)

### Installing Jetstream

[](#installing-jetstream)

You may use Composer to install Jetstream into your new Laravel project:

```
composer require laravel/jetstream

```

If you choose to install Jetstream through Composer, you should run the jetstream:install Artisan command. This command accepts the name of the stack you prefer (livewire or inertia). You are highly encouraged to read through the entire documentation of Livewire or Inertia before beginning your Jetstream project. In addition, you may use the --teams switch to enable team support:

#### Install Jetstream With Livewire

[](#install-jetstream-with-livewire)

```
php artisan jetstream:install livewire --teams

```

#### Or, Install Jetstream With Inertia

[](#or-install-jetstream-with-inertia)

```
php artisan jetstream:install inertia --teams

```

### Install Jetstrap

[](#install-jetstrap)

Use Composer to install Jetstrap into your new Laravel project as dev dependency:

```
composer require nascent-africa/jetstrap --dev

```

Regardless how you install Jetstream, Jetstrap commands are very similar to that of Jetstream as it accepts the name of the stack you would like to swap (livewire or inertia).

> It is important you install and configure [Laravel Jetstream](https://github.com/laravel/jetstream) before performing a swap.

You are highly encouraged to read through the entire documentation of [Jetstream](https://jetstream.laravel.com/1.x/introduction.html)before beginning your Jetstrap project. In addition, you may use the `--teams` switch to swap team assets just like you would in Jetstream:

```
php artisan jetstrap:swap livewire

or

php artisan jetstrap:swap livewire --teams

php artisan jetstrap:swap inertia --teams
```

This will publish overrides to enable Bootstrap like the good old days!

### Finalizing The Installation

[](#finalizing-the-installation)

After installing Jetstrap and swapping Jetstream resources, remove tailwindCSS and its dependencies if any from your package.json and then install and build your NPM dependencies and migrate your database:

```
npm install && npm run dev

php artisan migrate

```

### Extras

[](#extras)

#### Pagination

[](#pagination)

It is also important to point out that Laravel 8 still includes pagination views built using Bootstrap CSS. To use these views instead of the default Tailwind views, you may call the paginator's useBootstrap method within your AppServiceProvider:

```
