Adam Anderly

Husband, Father, Developer

  • About
  • Blog
  • Archives
  • Plugins
    • WooCommerce MailChimp
    • Wistia Responsive
  • Contact

Copyright © 2023
Adam Anderly ยท Log in

Laravel User Timezone Aware Trait

December 21, 2017 By Adam Leave a Comment

Next up in the series on useful Laravel model traits is the `UserTimezoneAware` Trait. This trait is useful when you have dates on models that you need to display in the user's timezone. ```php // … [Read more...]

Filed Under: Laravel, Laravel Traits, PHP Tagged With: Laravel, Laravel Traits, PHP

Useful Laravel Model Traits: Gravatar

September 9, 2016 By Adam Leave a Comment

Starting a little series here on useful Laravel model traits. This first one I use quite often. // app\Traits\HasGravatar.php namespace App\Traits; trait HasGravatar { /** * The … [Read more...]

Filed Under: Laravel, Laravel Traits Tagged With: Laravel, Laravel Traits

Laravel Transformable – An Eloquent Model Trait for Consumable Models

September 8, 2016 By Adam 1 Comment

In working on a new Laravel-based REST API over an existing database, I quickly realized the need to shield API consumers from my underlying database structure, especially since I knew the structure … [Read more...]

Filed Under: Laravel, PHP, REST Tagged With: APIs, Laravel, PHP, REST

RSS

RSS Feed

Subscribe

Enter your email address to subscribe and receive new posts by email.

Find It Here

Top Posts

  • Cross-Cutting Concerns with MediatR Pipeline Behaviors
  • Create your own branded url-shortener in under 10 minutes using ASP.NET MVC 2
  • Laravel User Timezone Aware Trait
  • Laravel Transformable - An Eloquent Model Trait for Consumable Models

Recent Posts

  • Cross-Cutting Concerns with MediatR Pipeline Behaviors
  • Laravel User Timezone Aware Trait
  • Useful Laravel Model Traits: Gravatar
  • Laravel Transformable – An Eloquent Model Trait for Consumable Models
  • Gravity Forms + Microsoft Dynamics CRM

Categories

  • .NET (12)
  • ASP.NET Core (1)
  • ASP.NET MVC (7)
  • Dependency Injection (3)
  • Laravel (3)
  • Laravel Traits (2)
  • MediatR (1)
  • Node.js (2)
  • NuGet (5)
  • PHP (2)
  • REST (4)
  • Silverlight (5)
  • Uncategorized (3)
  • WordPress (7)
  • WordPress Plugins (7)

Tags

.NET APIs ASP.NET Core ASP.NET MVC Azure Caching cli CRM Dependency Injection dns dnsimple Dynamics Dynamics CRM Expansive Fallback Gravity Forms iPhone Laravel Laravel Traits MailChimp MediatR Microsoft Dynamics CRM MobileMe Node.js NuGet PHP Polly REST Retry Rounding Scrutor Silverlight SimpleMembership sublime-text-2 VS2010 Wistia WooCommerce WordPress WordPress Plugins
  • About
  • Blog
  • Archives
  • Plugins
    • WooCommerce MailChimp
    • Wistia Responsive
  • Contact