Implementation Highlights

Frameworks Integration

  • Designed to work with Laravel Eloquent models.

Code Concepts

  • Strict typed code.
  • Using Null Object design pattern instead of null values.
  • Non extendable classes declared as final.
  • Using contracts to keep high customization capabilities.
  • Using traits to get functionality out of the box.
  • Throws only custom exceptions with LoveThrowable interface.
  • Using Facade design pattern to expose simpler high-level API.

Database

  • Using database foreign keys to keep data integrity.
  • All database tables have love_ prefix.

Testing

  • Covered with PHPUnit tests.

Follows PHP Standard Recommendations