HT2 environment and Laravel Generators #22
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added HT2 specific environment to bootstrap/start.php - not ideal but prevents having to edit this file upon every commit. The actual environment specifics are contained within an ignored folder at the app/config level - so nothing else is affected by this addition.
Also added Jeffrey Way's Generators (https://github.com/JeffreyWay/Laravel-4-Generators) - a really useful tool set for generating Laravel specific components. Ideally I would have added this to the
require-devsection of composer, but it requires a service provider addition in the app.php file - so unless these can be done in an environment specific way then it will need to be in therequiresection of composer.I have also moved some generic API functions to the xapi/BaseContoller.php to allow usage from within the Documents API