In some of the customised Ubuntu systems, such as Amazon EC2 instance, the name of the default system user is ubuntu. On the other hand www-data is the user and group name that web servers on Ubuntu (Apache, nginx, for…
Month: March 2023
How to Remove Appends Attributes from Laravel Eloquent Model
In Laravel the set{Attribute}Attribute accessor methods are used to set new attributes in a model. For example, we do use $appends property to create our popular “full_name” attribute to combine “first_name” and “last_name” attributes. Following the syntax to define $appends…