Skip to content

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

License

Notifications You must be signed in to change notification settings

cwsdigital/twill-capsule-base

 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%