https://github.com/truemedia/regeneration-character
Character package for regeneration
https://github.com/truemedia/regeneration-character
Last synced: 3 months ago
JSON representation
Character package for regeneration
- Host: GitHub
- URL: https://github.com/truemedia/regeneration-character
- Owner: Truemedia
- License: mit
- Created: 2015-02-04T20:54:52.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-21T15:34:55.000Z (almost 10 years ago)
- Last Synced: 2025-01-12T21:42:19.622Z (4 months ago)
- Language: JavaScript
- Size: 273 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# regeneration-character
Character package for regenerationInstallation / Usage
--------------------1. Install via composer in the root directory of a Laravel 5 application
``` sh
$ composer require regeneration/character
```2. Add the following line to /config/app.php inside the 'providers' array to use the service provider
``` php
'Regeneration\Character\CharacterServiceProvider',
```3. Run Composer update in the root directory: `composer update`
4. Navigate to the URL provided in the commandline and you should now see the package installation success page.== CLI commands for this package ==
1) Run the following command in the root directory of your laravel installation:
php artisan controller:make NewController --bench=regeneration/character2) Add the following line after the first php opening tag of the newly generated file inside the packages `controller` folder
namespace Regeneration\Character\Controllers;3) Run the following command in the root directory and your package directory
composer dump-autoload=== Accessing admin area ===
Admin controller is restful, therefore has following pages available:
/character/manage/
/character/manage/create
/character/manage/{lobby_id}
/character/manage/{lobby_id}/edit