178 Commits

Author SHA1 Message Date
Your GitHub Username
bb41143bcd Update README.md for fork 2025-02-28 13:45:22 +08:00
Your GitHub Username
8074ffb5d0 Add Laravel 12 support and change package name 2025-02-28 13:45:04 +08:00
Wendell Adriel
b600d95db4 Merge pull request #89 from BadJacky/feature/add-enum-cast-support
feature: Add enum support for column casting
2024-11-05 10:56:27 +00:00
BadJacky
10f601f0df feature: Add enum support for Enum column casting 2024-10-28 13:49:16 +08:00
Wendell Adriel
508158cab9 Merge pull request #87 from mickverm/cast-named-parameters
Support named parameter 'type' in the Cast attribute.
2024-09-13 12:58:28 +01:00
Michiel Vermeersch
cbc0997b20 Normalize the file content line ending in 'toBeFileWithContent()'. 2024-09-13 13:56:20 +02:00
Michiel Vermeersch
3c94467a9c No longer use RefreshDatabase::class during tests. 2024-09-13 13:51:26 +02:00
Michiel Vermeersch
13421702b9 Fixed PHPStan errors in LiftMigration. 2024-09-13 09:07:27 +02:00
Michiel Vermeersch
c808059eff Fixed pint errors. 2024-09-12 16:55:47 +02:00
Michiel Vermeersch
ab7f9db928 Support named parameter 'type' in the Cast attribute. 2024-09-12 16:39:24 +02:00
Wendell Adriel
1c3b292d88 Merge pull request #85 from BadJacky/bugfix/fix-namespace-concatenation-with-duplicate-slash
Fixing Namespace Option Ending with Backslash in LiftMigration Command
2024-05-28 17:16:12 +01:00
JackyChen
2e593f2c44 Ensure namespace option in LiftMigration command does not end with backslashes 2024-05-28 23:53:40 +08:00
Wendell Adriel
32a3aad2d3 Merge pull request #82 from WendellAdriel/laravel-11
Laravel 11
2024-03-13 13:12:46 +00:00
Wendell Adriel
2ad23349c3 Remove defaultName 2024-03-13 13:11:41 +00:00
Wendell Adriel
d5cb259cf4 Fix PHPStan issue 2024-03-13 13:08:31 +00:00
Wendell Adriel
aff788f876 Drop Laravel 9 support 2024-03-13 13:06:46 +00:00
Wendell Adriel
9dc7f270e6 Update dependencies 2024-03-13 13:03:41 +00:00
Wendell Adriel
96247016b9 Laravel 11 support 2024-03-13 13:00:29 +00:00
Wendell Adriel
87221dbaaf Merge pull request #77 from naxvog/refactor-reflection-parts
Refactor reflection parts
2023-11-13 16:09:56 +00:00
naxvog
75c7461f19 Merge branch 'main' into refactor-reflection-parts
# Conflicts:
#	src/Lift.php
2023-11-10 21:46:32 +01:00
naxvog
7831f90047 Pint formatting 2023-11-10 19:57:13 +01:00
naxvog
591059c7cf added missing return types 2023-11-10 19:55:37 +01:00
naxvog
f94806ce66 improved type hinting for non-scalar types 2023-11-10 19:55:36 +01:00
naxvog
91ee93e4b1 Improved readability 2023-11-10 19:53:46 +01:00
naxvog
c625bb0e54 Improved phpdoc annotation 2023-11-10 19:53:28 +01:00
naxvog
1729e648e7 Reflection cache 2023-11-10 19:52:09 +01:00
Wendell Adriel
e13cf1514b Merge pull request #74 from vovarudomanenko/refresh-model
fix having stale properties after refreshing a model
2023-11-10 10:32:31 +00:00
naxvog
b376b8b110 Refactored get*WithAttributes methods 2023-11-10 00:23:24 +01:00
naxvog
8274210411 Refactored reflection properties 2023-11-10 00:20:44 +01:00
naxvog
7cd5247e28 Refactored reflection methods 2023-11-10 00:20:19 +01:00
Vladimir
b9c0145cbd match the return type of overwritten setRawAttributes method with its parent 2023-11-10 01:03:23 +02:00
Vladimir
a5aa3ceb7c fix refresh method 2023-11-10 00:45:05 +02:00
Vladimir
19ba81bc04 fix refresh method without copying base refresh method 2023-11-09 19:46:10 +02:00
Vladimir
a62b2fe4f2 fix model refreshment after an inderect update was made 2023-11-09 12:46:31 +02:00
Vladimir
28e1e68c66 extend the test 2023-11-08 20:00:52 +02:00
Vladimir
22674dd085 fix having stale properties after refreshing a model 2023-11-07 21:11:50 +02:00
Wendell Adriel
b635e87817 Merge pull request #72 from naxvog/ignore-properties-attribute
Add attribute to ignore public properties
2023-10-30 11:24:07 +00:00
naxvog
6d748a57b4 Add attribute to ignore public properties 2023-10-27 23:51:05 +02:00
naxvog
290501ad19 Add attribute to ignore public properties 2023-10-27 23:48:06 +02:00
Wendell Adriel
450e218a9e Merge pull request #70 from wizzymore/fix-null-issues
Fix null value assignment
2023-10-16 10:24:23 +01:00
Cristian Bilu
26d17fe62f Add a fix for the issue plus one extra test 2023-10-14 02:22:57 +03:00
Cristian Bilu
57b26236cb Add failing test 2023-10-14 01:38:33 +03:00
Wendell Adriel
0b10e4cb2a Merge pull request #67 from WendellAdriel/fix-model-conflicts
Fix Model Conflicts
2023-10-02 11:34:02 +01:00
Wendell Adriel
f076f9731c Fix code style issue 2023-10-02 11:32:38 +01:00
Wendell Adriel
757bbcdb36 Fix issues with ULIDs and UUIDs 2023-10-02 11:29:36 +01:00
Wendell Adriel
58de8d57f9 Fix issues with Timestamps 2023-10-02 11:17:01 +01:00
Wendell Adriel
0cca8066ca Merge pull request #58 from marvinosswald/event-handling
Add Eloquent Model Event Handling Attributes e.g. #[Listener('created')]
2023-09-26 13:10:14 +01:00
Marvin Osswald
a4c3f5177f fixed: requested code style changes 2023-09-22 13:46:46 +02:00
Wendell Adriel
ee2005716b Merge pull request #66 from rxdrigocosta/custom-column-cast
Fix casting with custom column name
2023-09-22 10:14:50 +01:00
Rodrigo
2949d2c2fd Lint 2023-09-21 11:23:54 -03:00