178 Commits

Author SHA1 Message Date
Rodrigo
ebdc220ecb New test case to test casting with custom column names. 2023-09-21 11:22:47 -03:00
Rodrigo
750c21baf4 Fix casting with custom column name 2023-09-21 11:21:19 -03:00
Marvin Osswald
f0d3a62c57 🚨 (event handling) fixed some linting issues 2023-09-21 16:05:48 +02:00
Marvin Osswald
998337b0bf new: #[Dispatches(UserSaved::class)], implicitly maps to the saved event 2023-09-21 15:45:56 +02:00
Marvin Osswald
d6f06debf3 Changed Attributes to Listener, Observer and Dispatches 2023-09-21 15:12:08 +02:00
Wendell Adriel
4da3c5c108 Merge pull request #57 from misakstvanu/inheritable-castable-properties
Make Model Castable Porperties inheritable
2023-09-18 11:33:51 +01:00
Marvin Osswald
32194fdac5 Eloquent Model Event Handling Attributes e.g. #[Created] 2023-09-10 20:12:23 +02:00
Michal Štván
b8b240e700 Remove nullability 2023-09-09 22:15:43 +00:00
Michal Štván
7b9c342805 Make Model Castable Porperties inheritable 2023-09-09 21:43:25 +00:00
Wendell Adriel
dd3a00f643 Merge pull request #56 from WendellAdriel/attribute-cast-workaround
Add cast helper methods
2023-09-06 12:57:37 +01:00
Wendell Adriel
c9eee2c471 Create cast helper methods 2023-09-06 12:32:37 +01:00
Wendell Adriel
27e6f3845c Update test to better check errors with casting 2023-09-06 10:50:40 +01:00
Wendell Adriel
2dd764b4a2 Fix issue with other test cases 2023-09-06 10:44:20 +01:00
Wendell Adriel
c3e724032c Merge pull request #53 from edalzell/array-cast
Failing test for `array` cast.
2023-09-06 10:42:22 +01:00
Wendell Adriel
9e4f45f395 Merge branch 'attribute-cast-workaround' into array-cast 2023-09-06 10:41:34 +01:00
Wendell Adriel
5f508bfb23 Merge pull request #54 from misakstvanu/merge-hidden-attributes
Merge hidden attribute list instead of replacing it (same way it is done with fillable etc.)
2023-09-05 10:41:58 +01:00
Michal Štván
040a5556ef Merge hidden attribute list instead of replacing it (same way it is done with fillable etc.) 2023-09-05 10:25:34 +02:00
edalzell
a8897a1566 array cast 2023-09-04 18:41:45 -04:00
Wendell Adriel
9b57adc647 Update docs to separate repository 2023-09-04 17:50:02 +01:00
Wendell Adriel
c4e1b6490e Merge pull request #49 from WendellAdriel/fixes-and-features
Fixes and new features for Validation and Relationships
2023-09-04 12:36:59 +01:00
Wendell Adriel
78547776c0 Add ability to customize the relationship name 2023-09-04 12:33:49 +01:00
Wendell Adriel
3883785177 Fix issue with validation messages and add support for localization on error messages 2023-09-04 10:51:20 +01:00
Wendell Adriel
7b5e7e33e2 Merge pull request #42 from adelf/patch-1
Create ide.json
2023-09-04 10:02:03 +01:00
adelf
ae0668eeb9 completions for WendellAdriel\Lift\Attributes\Config parameters 2023-09-03 20:48:03 +04:00
Wendell Adriel
28d91b246f Merge pull request #43 from nimah79/fix/missing-class-imports
Add missing class imports to relationships
2023-09-03 14:07:21 +01:00
Nima HeydariNasab
d19f6e02f9 Add missing class imports to relationships 2023-09-03 10:49:02 +03:30
Adel
fea96827a6 Create ide.json
add validation rules and Eloquent casts completion for IDE
2023-09-02 22:02:32 +04:00
Wendell Adriel
e5f809a1f0 Merge pull request #38 from WendellAdriel/feature/create-update-rules
Add `CreateRules` and `UpdateRules` attributes
2023-09-01 15:57:22 +01:00
Wendell Adriel
d0a471ba95 Fix typo 2023-09-01 15:56:16 +01:00
Wendell Adriel
425d5ee466 Add docs for new methods 2023-09-01 15:48:18 +01:00
Wendell Adriel
15ff36a407 Add CreateRules and UpdateRules attributes 2023-09-01 15:38:38 +01:00
Wendell Adriel
65b496b666 Merge pull request #37 from WendellAdriel/fix-boolean-default-issue
Fix issue with non-string default values
2023-09-01 14:02:38 +01:00
Wendell Adriel
7e7e448c41 Fix issue with non-string default values 2023-09-01 14:01:02 +01:00
Wendell Adriel
89334a3e7f Merge pull request #36 from peterfox/patch-1
Update Badge URL
2023-09-01 13:11:09 +01:00
Peter Fox
f3c28dfa28 Update Badge URL
Noticed this in the README and thought I'd PR a fix
2023-09-01 13:09:27 +01:00
Wendell Adriel
249d8867ca Merge pull request #33 from PerryvanderMeer/main
Fix typo
2023-09-01 12:29:22 +01:00
PerryvanderMeer
b5018dfa0f fix test 2023-09-01 12:44:31 +02:00
Wendell Adriel
11ca5b4957 Merge pull request #32 from szepeviktor/fix-typos
Fix typos
2023-09-01 11:05:36 +01:00
Viktor Szépe
c15deff5e7 Fix typos 2023-08-31 20:48:01 +00:00
Wendell Adriel
44a0160c13 Update image for the header 2023-08-31 20:33:58 +01:00
Wendell Adriel
2e33f1f429 Merge pull request #31 from ludoguenet/main
added laravel lift banner
2023-08-31 20:27:53 +01:00
Ludovic Guénet
c446ad4613 added laravel lift banner 2023-08-31 21:24:50 +02:00
Wendell Adriel
fd4893e8be Merge pull request #30 from scottzirkel/main
Added PNG
2023-08-31 18:41:01 +01:00
Scott Zirkel
9c88f17562 Merge branch 'WendellAdriel:main' into main 2023-08-31 12:38:05 -05:00
Scott Zirkel
8c1b2cca15 Added png 2023-08-31 12:37:26 -05:00
Wendell Adriel
98a88a9c7b typo in table name 2023-08-31 18:28:22 +01:00
Wendell Adriel
92d9ac105a Merge pull request #29 from WendellAdriel/lift-migration-update
Lift migration update table
2023-08-31 18:21:05 +01:00
Wendell Adriel
602543f079 Update docs for lift:migration command 2023-08-31 18:17:36 +01:00
Wendell Adriel
0a6252b43e Update LiftMigration to generate update migrations based in the model and the table structure 2023-08-31 18:05:07 +01:00
Wendell Adriel
2186a3161b Merge pull request #27 from WendellAdriel/fix-timestamps-duplication
Fix issue of duplicating timestamps fields on migration files
2023-08-31 16:46:46 +01:00