distilleries / integration
Tool to have a dashboard of component of the app.
Installs: 1 265
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 0
Language:HTML
Requires
- php: >=7.1.3
- illuminate/database: ~5.6|~5.7|~5.8
- illuminate/support: ~5.6|~5.7|~5.8
- illuminate/translation: ~5.6|~5.7|~5.8
Requires (Dev)
- fzaninotto/faker: 1.6.*
- mockery/mockery: 0.9.*
- orchestra/database: ~3.6|~3.7|~3.8
- orchestra/testbench: ~3.6|~3.7|~3.8
- orchestra/testbench-browser-kit: ~3.6|~3.7|~3.8
- phpunit/phpunit: 7.1.*
README
Integration
Integration is package to work with frontend developer.
Table of contents
Installation
Auto detect package has been set on this release.
Add on your composer.json
"require": { "distilleries/integration": "1.*", }
run composer update
.
Add Service provider to config/app.php
:
(or auto-loaded if Laravel >= 5.7)
'providers' => [ // // Package Service Providers... // Distilleries\Integration\IntegrationServiceProvider::class, ]
Configurations
return [ 'path_partial_component' => resource_path('views/frontend/integration/components/partials'), 'controller' => '\Distilleries\Integration\Http\Controllers\Frontend\IntegrationController@getComponentDetail', 'prefix_uri' => 'integration', 'disabled' => false, 'pages' => [ [ 'name' => 'Page FAQ Example', 'slug' => 'faq', 'status' => 'done', //done,in_progress,todo 'view' => 'integration::frontend.integration.pages.faq', ], ], ];
Usage
@component('frontend.components.forms.buttons',transform('Forms\ButtonsTransformer', [ 'type' => 'submit', 'background' => '', 'border' => 'border-enabled', 'text_color' => 'text-grey', 'size' => 'small', ])) @slot('label') EDIT @endslot @endcomponent