An open API service indexing awesome lists of open source software.

https://github.com/phalcon/traits

Traits used primarily in the v6 package but also available as a helper package for applications
https://github.com/phalcon/traits

hacktoberfest phalcon phalcon-framework traits

Last synced: 3 months ago
JSON representation

Traits used primarily in the v6 package but also available as a helper package for applications

Awesome Lists containing this project

README

          

## Phalcon Traits

[![Phalcon CI](https://github.com/phalcon/traits/actions/workflows/main.yml/badge.svg?branch=1.x)](https://github.com/phalcon/traits/actions/workflows/main.yml)
[![PDS Skeleton](https://img.shields.io/badge/pds-skeleton-blue.svg?style=flat-square)](https://github.com/php-pds/skeleton)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=phalcon_traits&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=phalcon_traits)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=phalcon_traits&metric=coverage)](https://sonarcloud.io/summary/new_code?id=phalcon_traits)

This package contains traits with methods that are used for Phalcon v6 onward.

It can also be useful to others that want short snippets of code that perform
a task, without having to reinvent the wheel.

Some of these methods are just wrappers to PHP functions, thus allowing developers
to mock the method in order to get different results and cover paths of the
application with relevant tests.

[Documentation](docs/general.md)