PHPackages                             huenisys/stir - 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. [Framework](/categories/framework)
4. /
5. huenisys/stir

ActiveStir-package[Framework](/categories/framework)

huenisys/stir
=============

starter package for Laravel 5.5

1.1.4(8y ago)069MITCSSPHP &gt;=7.0.0

Since Oct 16Pushed 8y agoCompare

[ Source](https://github.com/huenisys/stir)[ Packagist](https://packagist.org/packages/huenisys/stir)[ RSS](/packages/huenisys-stir/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (22)Used By (0)

huenisys/stir
=============

[](#huenisysstir)

Bootstrap Laravel 5 with common pages and authentication

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

[](#installation)

- add this package:

    - $ `composer require "huenisys/stir"`
    - $ `composer require guzzlehttp/guzzle`
    -
- add app provider:

    - `Stir\StirServiceProvider::class,`
- setup a database: $ `art vendor:publish --tag=stir-sqlite`
- update /.env to use DB\_CONNECTION=sqlite, delete all other DB config entries
- do a fresh migration with seeds: $ `php artisan migrate:refresh --seeder=StirSeeder`
- install node deps: $ `yarn install` after updating /package.json with below

```
"devDependencies": {
  "axios": "^0.17.1",
  "bootstrap": "^4.0.0-beta.2",
  "bootstrap-sass": "^3.3.7",
  "cross-env": "^5.0.1",
  "jquery": "^3.1.1",
  "laravel-mix": "^1.5.0",
  "lodash": "^4.17.4",
  "popper.js": "^1.13.0",
  "vue": "^2.5.11",
  "vuex": "^3.0.1",
  "vue-router": "^3.0.1",
  "bootstrap-vue": "^1.4.0"
}

```

- publish assets: $ `php artisan vendor:publish --tag=stir-assets`
- replace favicon.ico, robots.txt with your own in the /resources/stir folder
- update /webpack.mix.js like below

```
// huenisys/stir
mix
.autoload({
  'jquery': ['jQuery', '$'],
  'popper.js/dist/umd/popper.js': ['Popper'],
  lodash: ['_']
})
.js(['resources/assets/stir/js/app-stir-guest.js'], './public/js')
.js(['resources/assets/stir/js/app-stir-admin.js'], './public/js')
.js(['resources/assets/stir/js/app-stir-user.js'], './public/js')
.copyDirectory('resources/assets/stir/font-awesome-4.7.0/fonts', 'public/fonts')
.copyDirectory('resources/assets/stir/images', 'public/images')
.copyDirectory('resources/assets/stir/favicon', 'public/favicon')
.sass('resources/assets/stir/sass/app-stir.scss', './public/css')
.sass('resources/assets/stir/font-awesome-4.7.0/scss/font-awesome.scss', './public/css')
.copy('resources/assets/stir/favicon/favicon.ico', 'public/favicon.ico')
.copy('resources/assets/stir/robots.txt', 'public/robots.txt')
.copy('resources/assets/stir/.htaccess', 'public/.htaccess')
.extract(['jquery','popper.js', 'bootstrap', 'lodash', 'vue', 'vue-router', 'bootstrap-vue'])
.sourceMaps()
.version();
```

- update public folder: $ `npm run dev` or $ `npm run prod`
- remove Laravel's default root route and replace with Stir::authRoutes();
- install laravel passport

### Default users

[](#default-users)

- , welcome1$
- , welcome1$

### More info

[](#more-info)

The service provider replaces the guest middleware with 'guest' =&gt; \\Stir\\Http\\Middleware\\RedirectIfAuthenticated::class, and adds 'admin' =&gt; \\Stir\\Http\\Middleware\\IsAdmin::class

### Author notes

[](#author-notes)

For local dev, add these entries in composer.json

```
"repositories": [
	{"type": "path", "url": "../packages/stir"}
],
"require": {
	"huenisys/stir": "dev-master",
},
```

### ENV

[](#env)

```
STIR_NTFR_TO=paul+admin@huenits.com
STIR_NTFR_CC=paul+cc@huenits.com

```

### Composer

[](#composer)

- $ `composer require guzzlehttp/guzzle` # SparkPost requirement
- $ `composer require albertcht/invisible-recaptcha`

### MySQL

[](#mysql)

```
use Illuminate\Support\Facades\Schema;

public function boot()
{
  Schema::defaultStringLength(191);
}
```

### using Invisible Recaptcha

[](#using-invisible-recaptcha)

- demo: [/multirecaptcha](/multirecaptcha)
- add configs:

```
GRECAPTCHA_KEY=
GRECAPTCHA_SECRET=

```

- use validation rule like below:

```
'g-recaptcha-response' => ['required', new \Stir\Rules\Grecaptcha]
```

- add class grecaptcha-form to form tag
- make sure there's a submit button of type=submit
- add below snippet to page

```

  @push('scripts')

        var setupGrecaptchaForms = function() {

          $('.grecaptcha-form').each(function(i, em){
            // finds anything with type=submit
            em.onSubmit = function(token) {
              $(em).submit();
            };

            grecaptcha.render($(em).find('[type=submit]')[0], {
              'sitekey' : "{{config('stir.gcapkey')}}",
              'callback' : em.onSubmit,
              'badge': 'inline'
            });
          })
        };

  @endpush

  @push('styles')

    /*hides badge*/
    .grecaptcha-badge {
      display:none
    }

  @endpush
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity67

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

Total

21

Last Release

3052d ago

Major Versions

0.0.5 → 1.0.02017-10-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/e92cab60b244eeea33acb1155545f4968618f321d55d47cea244cee06b9be6f3?d=identicon)[huenisys](/maintainers/huenisys)

---

Top Contributors

[![huenisys](https://avatars.githubusercontent.com/u/26238062?v=4)](https://github.com/huenisys "huenisys (33 commits)")

---

Tags

laravelinitialization package

### Embed Badge

![Health badge](/badges/huenisys-stir/health.svg)

```
[![Health](https://phpackages.com/badges/huenisys-stir/health.svg)](https://phpackages.com/packages/huenisys-stir)
```

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k96.9M672](/packages/laravel-socialite)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M255](/packages/laravel-dusk)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.4k10.6M272](/packages/laravel-boost)[laravel/slack-notification-channel

Slack Notification Channel for laravel.

89069.7M111](/packages/laravel-slack-notification-channel)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k84.2M224](/packages/laravel-horizon)[laravel/envoy

Elegant SSH tasks for PHP.

1.6k5.5M17](/packages/laravel-envoy)

PHPackages © 2026

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