antonioribeiro / twill-capsule-base

A series of opinionated base classes and helpers for faster application bootstrapping

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twill Capsules Base

Description

A series of opinionated base classes and helpers for faster application bootstrapping using Twill and Capsules.

The use of this repository is 100% optional, but some of our Capsules may be already using it to speed up things.

It's recommended to fork or just download this repository and put it on app/Twill/Base.

Assumptions

This module assumes your application frontend routes are all prefixed by front.. This can be done easily by configuring them on your RouteServiceProvider.php:

public function boot()
{
    $this->configureRateLimiting();

    $this->routes(function () {
        ...

        Route::middleware('web')
            ->namespace("{$this->namespace}\Front")
            ->name('front.')
            ->group(base_path('routes/front.php'));
    });
}

About

A series of opinionated base classes and helpers for faster application bootstrapping

License:MIT License


Languages

Language:PHP 100.0%