Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mopo922/LaravelTreats
A collection of goodies for Laravel 5.
https://github.com/mopo922/LaravelTreats
Last synced: 13 days ago
JSON representation
A collection of goodies for Laravel 5.
- Host: GitHub
- URL: https://github.com/mopo922/LaravelTreats
- Owner: mopo922
- License: mit
- Created: 2016-10-26T23:45:23.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-03-28T17:56:24.000Z (over 2 years ago)
- Last Synced: 2024-09-17T18:45:25.082Z (about 2 months ago)
- Language: Less
- Homepage:
- Size: 124 KB
- Stars: 107
- Watchers: 7
- Forks: 30
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LaravelTreats
A collection of goodies for Laravel 5.
| :exclamation: This project is no longer maintained. :exclamation: |
|---------------------------------------------------------------------|## Installation
Add this to your project's composer.json file:
```javascript
// ...
"require": {
// ...
"mopo922/laravel-treats": "^1.0",
// ...
},
// ...
```Then run `composer update`. That's it!
## Components
* [Controllers](src/Controller)
* [Eloquent Models](src/Model)
* [View Template](README_views.md)## Service Provider
The LaravelTreatsServiceProvider is not required for all LaravelTreats features,
but does provide an interface for some benefits like the [ready-made view layout](README_views.md).Simply add the LaravelTreatsServiceProvider to the `providers` array in `config/app.php`:
```php
'providers' => [
// Other Service ProvidersLaravelTreats\LaravelTreatsServiceProvider::class,
],
```If you plan to take advantage of the default view layout, publish the necessary
files to your `app` and `resources` directories by running the following command
from your project's root directory:```bash
php artisan vendor:publish
```