Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/area17/twill-capsule-base
A series of opinionated base classes and helpers for faster application bootstrapping
https://github.com/area17/twill-capsule-base
Last synced: 3 months ago
JSON representation
A series of opinionated base classes and helpers for faster application bootstrapping
- Host: GitHub
- URL: https://github.com/area17/twill-capsule-base
- Owner: area17
- License: mit
- Created: 2021-05-15T16:28:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-04T10:40:30.000Z (over 3 years ago)
- Last Synced: 2024-08-03T17:12:37.098Z (6 months ago)
- Language: PHP
- Size: 11.7 KB
- Stars: 3
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-twill - Twill Capsules Base - A series of opinionated base classes and helpers for faster application bootstrapping using Twill and Capsules (Packages)
README
# Twill Capsules Base
### Description
A series of opinionated base classes and helpers for faster application bootstrapping using [Twill and Capsules](https://github.com/area17/twill).
The use of this repository is 100% optional, but some of our [Capsules](https://github.com/area17/twill-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`:
```php
public function boot()
{
$this->configureRateLimiting();$this->routes(function () {
...Route::middleware('web')
->namespace("{$this->namespace}\Front")
->name('front.')
->group(base_path('routes/front.php'));
});
}
```