eloquent
Here are 869 public repositories matching this topic...
-
Updated
Mar 17, 2022 - PHP
-
Updated
Mar 6, 2022 - PHP
-
Updated
Apr 28, 2022 - PHP
-
Updated
Apr 1, 2022 - PHP
-
Updated
Feb 23, 2022 - PHP
需要绑定的变量对应的tag未生效
-
Updated
Feb 23, 2022 - PHP
-
Updated
Feb 8, 2022 - PHP
-
Updated
Apr 15, 2022 - PHP
Is your feature request related to a problem? Please describe.
I understand that a change within a translation does not affect a translated model's database table.
However, logically it changes the model's attributes, so it would be nice to also get the changed translation values with their corresponding keys within the result when calling $model->getChanges()
within an update operation.
Brief description
We're running into an issue with this package - when our client goes to add/delete something on a BelongsToMany
relation on the Product model, the list reloads but there's no change. I also see the same list in our site's frontend but the database is updated correctly.
Implementation
We're using this package on our Product
model, relevant code below:
-
Updated
Apr 6, 2022 - PHP
-
Updated
Apr 1, 2022 - PHP
-
Updated
Jan 26, 2022 - PHP
-
Updated
Mar 4, 2022 - PHP
-
Updated
Dec 28, 2021 - PHP
-
Updated
Apr 25, 2022 - PHP
-
Updated
May 31, 2020 - PHP
Improve this page
Add a description, image, and links to the eloquent topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the eloquent topic, visit your repo's landing page and select "manage topics."
Corcel Version: "jgrossi/corcel": "2.5.*",
Framework Name & Version: "laravel/framework": "5.5.*",
PHP Version: 7.1
Description:
Cant find model... for
// clean and simple all posts from a category
$cat = Category::slug('uncategorized')->posts->first();
$cat->posts->each(function($post) {
echo $post->post_title;
});