qortex / bootstrap
Bootstraps a Qortex web application
v2.0.3
2024-11-12 17:16 UTC
Requires
- php: ^8
- illuminate/support: ^11.31
- qortex/pug-editor: ^0.0.5
- spatie/laravel-html: ^3.11
- yajra/laravel-datatables: ^11.0.0
Requires (Dev)
- orchestra/testbench: ^6|^7
- phpunit/phpunit: ^9
This package is auto-updated.
Last update: 2026-06-12 21:13:10 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) }}