rtmatt / boilerplate
RedTrain Web Services Boilerplate
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=5.5.9
- intervention/image: ^2.3
- laravel/framework: 5.1.*
- laravelcollective/html: ^5.1
- rtmatt/abstractresource: 1.0.*
Requires (Dev)
- fzaninotto/faker: ~1.4
- mockery/mockery: 0.9.*
- phpspec/phpspec: ~2.1
- phpunit/phpunit: ~4.0
README
Sick of doing the same shit over and over? So was I.
This should help speed shit up. Fast shit is fun.
Features
- Integrated with v1 of RedTrain Abstract Resource Manager. Ships with example model and migration.
- Main and Admin site layouts.
- Main and Admin less and js files with gulpfile for builds (bootstrap imported).
- Auth views have been brought back for ease.
- Intervention Image and Form facade come pre-installed
- Post create-project commands to make your life easier
- Routes for main, admin and auth set up
Installation
Via Composer
$ composer create-project rtmatt/boilerplate [directory]
This will download the source files, change ownership and permissions on requred laravel directories as well as create a public/uploads folder with the proper permissions.
Configure
Set up your .env file to hook into your DB. If you want to enable Admin Demo Mode (shows all versions of modified images) add
DEMO=true
Migrate
Boilerplate ships with a example resource. Run
$ php artisan migrate
to create the table for it, or run
$ rm -f database/migrations/2015_08_03_235354_create_test_resources_table.php app/TestResource.php app/Http/Controllers/Admin/TestResourcesController.php
to remove the test model, migration and controller. You will still need to remove the route from app/Http/routes.php