Download the PHP package jn-devops/products without Composer

On this page you can find all versions of the php package jn-devops/products. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package products

๐Ÿ  Homeful Products Package

This package is part of the Homeful ecosystem and represents a robust Eloquent-based product model for real estate or housing-related systems. It supports a wide range of property and product-related fields and implements the ProductInterface.


๐Ÿ“ฆ Product Model Overview

The Product model captures both core product identity and extended metadata such as property location, pricing, appraisal, and requirements using the SchemalessAttributes via the meta field.

โœ… Implements:


๐Ÿงฉ Traits Used

HasAdditionalAttributes

This trait defines metadata-backed accessors/mutators using the SchemalessAttributes package. Key functionalities include:

๐Ÿ”– Property Metadata Fields

Each field is encapsulated via custom getXXXAttribute() and setXXXAttribute() accessors/mutators, backed by JSON metadata.


๐Ÿ—๏ธ Model Details

Key Properties

Property Type Source
sku string Eloquent
name string Eloquent
brand string Eloquent
category string Eloquent
description string Eloquent
price Price casts via PriceCast
appraised_value Price meta
percent_down_payment float meta
down_payment_term int meta
percent_miscellaneous_fees float meta
processing_fee float meta or fallback
phased_out bool meta

๐Ÿ“ฅ Config Defaults (config/products.php)


๐Ÿงช Tests

Functional Coverage:


๐Ÿงฌ Data Transformation

ProductData

The ProductData class maps the Product model into a normalized, transport-ready DTO using Spatie Laravel Data:

Provides direct mapping to all relevant fields like:


๐Ÿ Conclusion

This package bridges the static nature of database tables and the flexibility needed for real estate product customization. By leveraging SchemalessAttributes, it ensures adaptability without schema bloat.

Behold, a new you awaits โ€” in housing, and in code. ๐Ÿกโœจ


All versions of products with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/contracts Version ^10.0||^11.0
jn-devops/common Version ^1.1
spatie/laravel-data Version ^4.8
spatie/laravel-package-tools Version ^1.16
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jn-devops/products contains the following files

Loading the files please wait ....