revosystems / thrust
A simple resource crud generator
Requires
- php: ^8.0
- intervention/image: ^2.5
- laravel/framework: ^8.0|^9.0|^10.0|^11.0
- psr/container: ^1.0|^2.0
- revosystems/dejavu: ^0.2
Requires (Dev)
- nunomaduro/collision: ^6.3
- orchestra/testbench: ^7.17
- dev-master
- 11.8.1
- 11.8.0
- 11.7.7
- 11.7.6
- 11.7.5
- 11.7.4
- 11.7.3
- 11.7.2
- 11.7.1
- 11.7.0
- 11.6.4
- 11.6.3
- 11.6.2
- 11.6.1
- 11.6.0
- 11.5.3
- 11.5.2
- 11.5.1
- 11.5.0
- 11.4.3
- 11.4.2
- 11.4.1
- 11.4.0
- 11.3.1
- 11.3.0
- 11.2.0
- 11.1.1
- 11.1.0
- 11.0.11
- 11.0.10
- 11.0.9
- 11.0.8
- 11.0.7
- 11.0.6
- 11.0.5
- 11.0.4
- 11.0.3
- 11.0.2
- 11.0.1
- 11.0.0
- 10.0.60
- 10.0.59
- 10.0.58
- 10.0.57
- 10.0.56
- 10.0.55
- 10.0.54
- 10.0.53
- 10.0.52
- 10.0.51
- 10.0.50
- 10.0.49
- 10.0.48
- 10.0.47
- 10.0.46
- 10.0.45
- 10.0.44
- 10.0.43
- 10.0.42
- 10.0.41
- 10.0.40
- 10.0.39
- 10.0.38
- 10.0.37
- 10.0.36
- 10.0.35
- 10.0.34
- 10.0.33
- 10.0.32
- 10.0.31
- 10.0.30
- 10.0.29
- 10.0.28
- 10.0.27
- 10.0.26
- 10.0.25
- 10.0.24
- 10.0.23
- 10.0.22
- 10.0.21
- 10.0.20
- 10.0.19
- 10.0.18
- 10.0.17
- 10.0.16
- 10.0.15
- 10.0.14
- 10.0.13
- 10.0.12
- 10.0.11
- 10.0.10
- 10.0.9
- 10.0.8
- 10.0.7
- 10.0.6
- 10.0.5
- 10.0.4
- 10.0.3
- 10.0.2
- 10.0.1
- 10.0.0
- 9.9.22
- 9.9.21
- 9.9.20
- 9.9.19
- 9.9.18
- 9.9.17
- 9.9.16
- 9.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- 0.2.2
- 0.2.1
- 0.2
- 0.1
- dev-feature/singleResourceActions
- dev-refactor/trait-boots
- dev-bugfix/rev-17309
- dev-bugfix/rev-17172
- dev-bugfix/rev-16829
- dev-bugfix/fix-missing-type
- dev-feature/rev-16213
- dev-feature/rev-15654
- dev-feature/a
- dev-hotfix/rev-15584
- dev-feature/rev-11832
- dev-feature/components
- dev-feature/9.x
- dev-feature/rev-14763
- dev-bugfix/fixed-check-switch
- dev-feature/fix-sortable-on-deleted
- dev-feature/morph
- dev-feature/REV-14152-show-popup-from-popup
- dev-feature/rev-13833
- dev-feature/rev-13150
- dev-bugfix/REV-13441-onFound-callback
- dev-feature/REV-13429
- dev-bugfix/REV-13381
- dev-bugfix/REV-13367
- dev-bugfix/rev-13003
- dev-bugfix/rev-13066
- dev-bugfix/REV-12050-display-correct-actions-while-searching
- dev-feature/rev-12685
- dev-feature/rev-12665
- dev-bugfix/REV-12637
- dev-feature/rev-12341
- dev-feature/rev-12275
- dev-laravel-10
- dev-revert-71-feature/rev-12144
- dev-feature/rev-12144
- dev-feature/rev-11808
- dev-feature/REV-11882
- dev-feature/REV-11528
- dev-added-time-range-field
- dev-hotfix/thrust-fields-inside-a-panel-not-rendered-properly
- dev-feature/fix-check-policy-and-before-comparision
- dev-feature/use-package-name-space-on-tests
- dev-fix-select-empty-array
- dev-feature/import
- dev-hotfix/change-storage-visibility-method
- dev-hotfix/laravel-8
- dev-bugfix/REV-10129
- dev-hotfix/add-visiblity-to-image-field
- dev-bugfix/REV-9507-toogle-tabs-on-invalid-fields
- dev-feature/addCategoriesToSelect
- dev-bugfix/REV-6597
- dev-feature/REV-8889
- dev-hotfix/remove-hurricane-styles
- dev-hotfix/import-can-not-delete-exception
- dev-feature/visibilityForNullValues
- dev-php7
- dev-feature/validation-with-arrays
- dev-feature/on-resource-updated-event
- dev-feature/visibility
- dev-feature/modernize
- dev-eduard/rev-6701-errors-permisos-nomes-visualitzacio
- dev-feature/inline-create
- dev-feature/resourceFetchRowsProtected
- dev-feature/can-set-description-on-has-many-controller
- dev-eduard/rev-5104-back-xef-activacio-i-edicio-de
- dev-badchoice/master
- dev-dependabot/npm_and_yarn/jquery-3.5.0
- dev-dependabot/npm_and_yarn/bootstrap-sass-3.4.1
- dev-dependabot/npm_and_yarn/ssri-6.0.2
- dev-dependabot/npm_and_yarn/elliptic-6.5.4
- dev-dependabot/composer/laravel/framework-7.30.4
- dev-laravel5.5
- dev-dependabot/npm_and_yarn/http-proxy-1.18.1
- dev-dependabot/composer/symfony/http-kernel-5.1.5
- dev-dependabot/npm_and_yarn/websocket-extensions-0.1.4
- dev-dependabot/npm_and_yarn/bower-1.8.8
- dev-feature/edit-and-delete-fields
- dev-feature/metrics
This package is auto-updated.
Last update: 2024-12-26 11:41:29 UTC
README
#Thrust
Fields
- Validation rules
- Show in Index / Edit
- Visibility
Basic Types
- Check
- Check Switch
- Color
- Currency
- Date
- Datetime
- Hidden
- Integer
- Link
- Password
- Percentage
- Range
- Select
- Text
- Textarea
- Time
- Url
Powered up
- Panel
- Image
- Place
- Gravatar
- ParentId
Relationships
- HasMany
- HasOne
- Belongs to
- Belongs to many
Resource
- Sortable
- Search
- Pagination
- Single resource
- Single resource search
- Automatic with
- Main Actions
- Row Actions
- Inline Edit
- Save and continue
- Table density
- Uses laravel policies for the crud related actions
Events
It uses the standard Laravel events, but if you want to add some events only on Thrust pages you can do it like this in you AppServiceProvider
Thrust::serving(function () {
User::observe(UserObserver::class);
});
This way the observers will only be registered when using a thrust function
TODO:
[x] Migrate to select2 4.0
[x] Make check fields to be toggable from the index
[x] Pin validation not working (digits 4)
[x] Update validation
[x] Configurable route prefix
[x] Make the service provider deffered as it doesn't need to be called in the API
[x] Panel visibility by check and select
[x] Make visibleWhen (for checkboxes, or type of printers... etc)
[x] BelongsTo many ajax searchable
[x] Prunable files, should be deleted when deleting resource
[x] Update saveOrder function to use a thrust one instead of the retail/xef yet
[x] Update saveOrder function to use the plural version of the resource name (the one we use on whole thrust) instead of the singular one
[x] ThrustRelationshipController to use the $relationDisplayName instead of name
[x] Employee, photo upload...
[x] Add save and continue editing functionality
[x] Inline editing!
[x] Table density
[x] Custom events to be different than the standard ones?
[x] Quan sortable, afegir x defecte la main action save order
[x] Make the resource found in app service provider recursive into thrust directory ?
[x] Improved ResourceFilters\Search by words, fer-ho per el primer fields nomes?
[x] Search through relationships
[] Save image in thrust to use the same route as display
[] Relationship rules, apply to field, and should apply to foreing_key when saving
[] Use the search route into searcher, and pass the search parameter to query instead of a new url path parameter
[] Delete validation
[] Make sortable relationships (right now it uses the relationship name instead of the underling field)
[] Add latlang to algolia places search?
[] Search limitar-lo a 100 (configurable) sense pagination
[] Make hideWhen and showWhen to make it work with Array fields