-
Tradução do arquivo eloquent.md
-
:+1:
-
### Summary
Hi, I'm not sure if this a feature request or a bug.
I'm trying to implement this package in a Statamic (Flat-file CMS for Laravel) project. Out of the box, Statamic users are stored…
-
Example:
```php
declare(strict_types=1);
namespace App;
use Orchid\Platform\Models\User as Authenticatable;
class User extends Authenticatable
{
/**
* @return st…
-
Hi! Thanks for greate plugin!
Is possible generate some properties for classes too? Like that for laravel Eloquent model:
![image](https://github.com/kkoomen/vim-doge/assets/672903/4999ca8b-3219-4…
-
Hi. I searched the web and I think there is no way to cache an eloquent relationship.
This would be useful for example when I have posts and want to cache only their comments.
```PHP
// App\Model…
-
Love being able to have DB JSON types cast to arrays using the `'json'` `$casts` property.
One thing I noticed was that because arrays are always copied (rather than referenced), you end up with ve…
-
Hi,
I couldn’t find the exact answer to my question.
Basically we have performance issues as a new connection is opened on the fly instead of using a connection pool.
My question is, is Elo…
-
Top of model:
```php
class UserProfile extends Model
{
# Whereas, this explicitly tells Eloquent to use the table `user_profile`:
protected $table = 'user_profile';
// don't add ti…
-
I would like to create a pull request to add these traits for eloquent models. I would change it a bit to use this lib instead of hashid directly, but you get the idea.
I use these two alot and thi…