PHPackages                             ybansan/crestapps-bootstrap4-templates - 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. ybansan/crestapps-bootstrap4-templates

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

ybansan/crestapps-bootstrap4-templates
======================================

Bootstrap 4 templates for the excellent code Generator from CrestApps

v2.3.1(6y ago)55451MITPHP

Since Aug 30Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Ybansan/crestapps-bootstrap4-templates)[ Packagist](https://packagist.org/packages/ybansan/crestapps-bootstrap4-templates)[ RSS](/packages/ybansan-crestapps-bootstrap4-templates/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)DependenciesVersions (4)Used By (0)

Introduction
------------

[](#introduction)

Bootstrap 4 templates for the excellent Laravel Code Generator from CrestApps (). These templates are simply an update of some files from the Code Generator default templates.

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

[](#installation)

Version 2.3 of this package (crestapps-bootstrap4-templates) should work with versions &gt;= 2.2.11 and &lt;= 2.3.2 of the Code Generator. It was not tested with greater versions. Your Laravel project should have crestapps/laravel-code-generator package already installed.

1. To download this package into your laravel project, use the command-line to execute the following command:

    ```
    composer require ybansan/crestapps-bootstrap4-templates:2.3.1 --dev

    ```
2. Publish the package templates using the command line:

    ```
    php artisan vendor:publish --provider="Ybansan\CrestappsBootstrap4Templates\CrestTemplatesServiceProvider"

    ```
3. Update the Code Generator custom config file.

    - Edit the config file: \[your\_project\_folder\]\\config\\codegenerator\_custom.php (version 2.2.\*) or ...\\laravel-code-generator.php (version 2.3.\*)
    - Add this key:

    ```
    'laravel_collective_templates' => [
        'default-collective',
        'collective-bootstrap4',
    ],

    ```
4. Use the template as a parameter for the Code Generator generating resources from the command line. Example:

    ```
    php artisan create:resources Foo --template-name=collective-bootstrap4
    php artisan create:layout MyApp --template-name=collective-bootstrap4

    ```

The package contains two templates wich names are:

- bootstrap4
- collective-bootstrap4

Since **Glyphicons** were dropped from Bootstrap 4 the templates now use **Fonts Awesome** instead.

To create the Bootstrap 4 templates only a few files have been modified. The package contains only the modified files:

- create.blade.stub
- edit.blade.stub
- form-helper-field.blade.stub
- index.blade.stub
- layout.stub
- layout-with-validation.stub
- show.blade.stub

The other files are the same as those of the default code generator templates. You will need to copy them in addition if you want to publish the package manually.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

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 ~165 days

Total

3

Last Release

2480d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/886316b18a86a04951c742ef73d64b552270e85642fe795a42eb674759e7ee4a?d=identicon)[ybansan](/maintainers/ybansan)

---

Top Contributors

[![Ybansan](https://avatars.githubusercontent.com/u/42271181?v=4)](https://github.com/Ybansan "Ybansan (54 commits)")

---

Tags

laravelgeneratorcode generatortemplatetemplatescrudgeneratorscrud generatorlaravel crud generatorbootstrap 4laravel code generatorlaravel crudlaravel crud buildercrud builderCrestAppsYbansan

### Embed Badge

![Health badge](/badges/ybansan-crestapps-bootstrap4-templates/health.svg)

```
[![Health](https://phpackages.com/badges/ybansan-crestapps-bootstrap4-templates/health.svg)](https://phpackages.com/packages/ybansan-crestapps-bootstrap4-templates)
```

###  Alternatives

[crestapps/laravel-code-generator

An intelligent code generator for Laravel framework that will save you time! This awesome tool will help you generate resources like views, controllers, routes, migrations, languages and/or form-requests! It is extremely flexible and customizable to cover many on the use cases. It is shipped with cross-browsers compatible template, along with a client-side validation to modernize your application.

76591.7k1](/packages/crestapps-laravel-code-generator)[mrdebug/crudgen

Create a Laravel Crud in a few seconds

31826.8k](/packages/mrdebug-crudgen)

PHPackages © 2026

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