qortex/bootstrap

Bootstraps a Qortex web application

v1.9.4 2022-10-17 06:54 UTC

README

Installs

Use Composer:

$ composer require qortex/bootstrap

Adds commands

$ php artisan make:service {serviceClassName}

Creates a service class for model. Service class contains methods that represent scenarios for creating, reading, updating and deleting models.

$ php artisan qortex:make:model {ModelClassName}

Extends laravel make:model command empowering it with --service option. This option makes command to create service class along with model.

Adds Laravel Collective Forms Macros for Bootstrap

cpFilterDatetime

{{ Form::cpFilterDatetime($label, $fieldName, $defaultValue, $fieldValue, $required) }}

cpFilterSelectMultiple

{{ Form::cpFilterSelectMultiple($label, $fieldName, $values, $fieldValue, $attributes) }}

cpFilterSelect

{{ Form::cpFilterSelect($label, $fieldName, $values, $fieldValue, $attributes) }}

cpFormDatetime

{{ Form::cpFormDatetime($label, $fieldName, $defaultValue, $fieldValue, $required) }}

cpFormSelectMultiple

{{ Form::cpFormSelectMultiple($label, $fieldName, $values, $fieldValue, $attributes) }}

cpFormSelect

{{ Form::cpFormSelect($label, $fieldName, $values, $fieldValue, $attributes) }}

cpFormText

{{ Form::cpFormText($label, $fieldName, $defaultValue, $fieldValue, $attributes) }}

cpFormEmail

{{ Form::cpFormEmail($label, $fieldName, $defaultValue, $fieldValue, $attributes) }}

cpFormPhone

{{ Form::cpFormPhone($label, $fieldName, $defaultValue, $fieldValue, $attributes) }}

cpFormPassword

{{ Form::cpFormPassword($label, $fieldName, $fieldValue, $attributes) }}

cpFormTextarea

{{ Form::cpFormTextarea($label, $fieldName, $defaultValue, $fieldValue, $attributes) }}

cpFormCheckbox

{{ Form::cpFormCheckbox($label, $fieldName, $checked, $required, $attributes) }}

cpFormInfo

{{ Form::cpFormInfo($label, $fieldName, $attributes) }}

cpFormButton

{{ Form::cpFormButton($label, $fieldName, $value, $attributes) }}

cpFormDangerButton

{{ Form::cpFormDangerButton($label, $fieldName, $value, $attributes) }}