Distilleries / Integration by Kezho

Tool to have a dashboard of component of the app.
1,265
0
3
Package Data
Maintainer Username: Kezho
Maintainer Contact: kezho@me.com (Maxime Francois)
Package Create Date: 2017-07-11
Package Last Update: 2019-06-12
Language: HTML
License: MIT
Last Refreshed: 2024-04-26 03:10:46
Package Statistics
Total Downloads: 1,265
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 3
Total Forks: 1
Total Open Issues: 0

Total Downloads Latest Stable Version License

#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:

    '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',
            ]
        ]
    ];

Field | Usage ----- | ----- path_partial_component | Path where to load partial component controller | Controller and methode use to get detail iframe prefix_uri | Uri prefix for integration route disabled | Disable the integration generation pages | Table of static page

##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