PHPackages                             furious-developer/lara-bit - 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. [Templating &amp; Views](/categories/templating)
4. /
5. furious-developer/lara-bit

ActiveLibrary[Templating &amp; Views](/categories/templating)

furious-developer/lara-bit
==========================

Create Laravel views (blade template) using 'php artisan' command-line interface

v1.0.5(4y ago)5391↓100%3[1 PRs](https://github.com/ragib-mrb/larabit/pulls)MITPHPPHP ^7.3|^8.0

Since Oct 10Pushed 3y ago2 watchersCompare

[ Source](https://github.com/ragib-mrb/larabit)[ Packagist](https://packagist.org/packages/furious-developer/lara-bit)[ RSS](/packages/furious-developer-lara-bit/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (8)Used By (0)

[![](https://user-images.githubusercontent.com/36569722/136689176-8f0d31aa-f543-461c-a545-5c425231bb4e.png)](https://user-images.githubusercontent.com/36569722/136689176-8f0d31aa-f543-461c-a545-5c425231bb4e.png)

About LaraBit
-------------

[](#about-larabit)

Have you ever wonder to create Laravel views (Blade Templates) using the same type of artisan commands that you usually use to create new controllers, models and migrations etc.

LaraBit extends the power of Laravel Artisan tool and give you the command line interface to create new blade templates really easy.

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

[](#installation)

install it with [composer](https://getcomposer.org/)

```
composer require furious-developer/lara-bit

```

Getting Started
---------------

[](#getting-started)

### Create new blade template:

[](#create-new-blade-template)

To create new blade template at the root of the view folder use the command mention below.

```
php artisan make:view

```

**Example:**

if we want to create the "index.blade.php" inside the view folder then use this command and just specify the file name without any file extension.

```
php artisan make:view index

```

This command will create the index.blade.php file inside view folder and LaraBit will also output the Absolute Path of the file on the console.

### Define template type option:

[](#define-template-type-option)

LaraBit comes with 2 type of Templates

- **basic** (Default Type) : It will generate the template with basic HTML code.
- **advance** : It will generate the template with HTML code and also include some useful HTML tags as well.

**commands:**

```
php artisan make:view index1 --type basic

```

\---- or ----

```
php artisan make:view index2 --type advance

```

**or use shortcut**

```
php artisan make:view index3 -t basic

```

\---- or ----

```
php artisan make:view index4 -t advance

```

### Create new Blade Template inside Single/Multiple Folders

[](#create-new-blade-template-inside-singlemultiple-folders)

In order to create new blade template inside folder prefix the filename with the folder name and dot (.)

LaraBit use the same syntax that **view()** function use to call a view.

```
php artisan make:view layout.index

```

\-- define more folder lavel in same way

```
php artisan make:view folder1.folder2.index

```

If the Folder doesn't exists then It will create the new Folder(s). If you receive any error after running the above command then change the file permission of the views folder or Manually create the require folders and then run the command again.

Modify Templates
----------------

[](#modify-templates)

Sometimes we wish to Modify the templates that comes with the LaraBit. we can easily do that by follow the bellow steps.

**run this command**

```
php artisan vendor:publish

```

**Then find the line mention below on the console and press the number that is written in-front of it**

```
Provider: FuriousDeveloper\LaraBit\LaraBitServiceProvider

```

It will generate the basic.blade.php and advance.blade.php inside the "\\resources\\views\\vendor\\larabit" folder. Modify the template as per your requirements.

Add &amp; Use Custom Templates
------------------------------

[](#add--use-custom-templates)

Sometimes we wish to use our own templates instead of using the templates that comes with LaraBit.

Follow the **Modify Template** Steps then inside "\\resources\\views\\vendor\\larabit" place your blade template that you want to use.

**Example:**

if we wanted to use example.blade.php then we have to place/create this template inside "\\resources\\views\\vendor\\larabit" folder then to generate new blade file using your template use the command mention below.

```
php artisan make:view index6 --type example

```

\---- or ----

```
php artisan make:view index7 -t example

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

6

Last Release

1671d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9fb0b98138e08242a2ab960e5656d4253b9b63a9884c13e5b5c2e6a634fc1415?d=identicon)[Ragib MRB](/maintainers/Ragib%20MRB)

---

Top Contributors

[![ragib-mrb](https://avatars.githubusercontent.com/u/36569722?v=4)](https://github.com/ragib-mrb "ragib-mrb (13 commits)")

---

Tags

artisanbladecommandgeneratorlaravelpackagephptemplateviewsphplaravelgeneratorartisanbladetemplatecommandviews

### Embed Badge

![Health badge](/badges/furious-developer-lara-bit/health.svg)

```
[![Health](https://phpackages.com/badges/furious-developer-lara-bit/health.svg)](https://phpackages.com/packages/furious-developer-lara-bit)
```

###  Alternatives

[tomatophp/filament-plugins

Manage your modules as a plugin system with plugin generator

644.7k2](/packages/tomatophp-filament-plugins)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
