Giter Site home page Giter Site logo

codefyphp / codefy Goto Github PK

View Code? Open in Web Editor NEW
12.0 0.0 0.0 194 KB

A PHP framework for codefying and building complex applications using Domain-Driven Design, CQRS, and Event Sourcing.

Home Page: https://codefyphp.com/

License: MIT License

PHP 100.00%
cqrs cqrs-es domain-driven-design event-sourcing domain-driven-development domain-driven-framework hacktoberfest

codefy's Introduction

CodefyPHP Logo

Latest Stable Version PHP 8.2 License Total Downloads CodefyPHP Support Forum


CodefyPHP is not a framework such as the likes of Symfony, Laravel, Codeigniter or CakePHP. Codefy is a simple, light framework providing interfaces and implementations for architecting a Domain Driven project with CQRS, Event Sourcing and implementations of PSR-3, PSR-6, PSR-7, PSR-11, PSR-12, PSR-15, PSR-16 and PSR-17.

The philosophy of Codefy is that code should be systematized, maintainable, and follow OOP (Object-Oriented Programming). CodefyPHP tries not to be too opinionated, yet encourages best practices and coding standards by following Qubus Coding Standards. Use Codefy as you see fit. You can tap into all, some or none of the features and instead use the interfaces to build your own implementations for a domain driven project.

UserId ValueObject

๐Ÿ“ Requirement

  • PHP 8.2+
  • Additional constraints based on which components are used.

๐Ÿ† Highlighted Features

  • A powerful routing engine
  • Robust dependency injector for bootstrapping
  • Adapters for cookies, sessions and cache storage
  • Provides a simple hook and event system without affecting core code
  • Encourages object-oriented programming
  • Multiple PSR implementations
  • Dual query builders with migrations
  • Scheduler for scheduling tasks/jobs
  • Security and sanitizing helpers
  • Dual templating engines

๐Ÿ“ฆ Installation

You can use the composer command below to install the library, or by creating a new Codefy project using the skeleton package.

composer require codefyphp/codefy

๐Ÿ•‘ Releases

Version Minimum PHP Version Release Date Bug Fixes Until Security Fixes Until
1 8.2 September 2023 July 2024 March 2025
2 - LTS 8.2 January 2024 January 2027 January 2028
3 8.3 January 2024 November 2024 July 2025
4 - LTS 8.3 May 2024 May 2027 May 2028

๐Ÿ“˜ Documentation

Documentation is still a work in progress. Between the Qubus Components documentation and CodefyPHP's documentation, that should help you get started. If you have questions or need help, feel free to ask for help in the forums.

๐Ÿ™Œ Sponsors

If you use CodefyPHP or you are interested in supporting the continued development of my opensource projects, please consider sponsoring me via Github or Ko-fi.

๐Ÿ–‹ Contributing

CodefyPHP could always be better! If you are interested in contributing enhancements or bug fixes, here are a few rules to follow in order to ease code reviews, and discussions before I accept and merge your work.

  • You MUST follow the QubusPHP Coding Standards.
  • You MUST write (or update) unit tests.
  • You SHOULD write documentation.
  • Please, write commit messages that make sense, and rebase your branch before submitting your Pull Request.
  • Please squash your commits too. This is used to "clean" your Pull Request before merging it (I don't want commits such as fix tests, fix 2, fix 3, etc.).

๐Ÿ” Security Vulnerabilities

If you discover a vulnerability in the code, please email [email protected].

๐Ÿ“„ License

CodefyPHP is opensource software licensed under the MIT License.

codefy's People

Contributors

parkerj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.