phpugph / components
Common PHP8.2 Patterns and Constructs
Installs: 1 937
Dependents: 3
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=8.2
Requires (Dev)
- php-coveralls/php-coveralls: 2.6.0
- phpunit/phpunit: 10.3.3
- squizlabs/php_codesniffer: 3.7.2
README
Install
composer install phpugph/components
Components
- Curl - cURL wrapper class that helps making cUrl calls easier
- Data - Manages data structs of all kinds. Models, Collections and Registry objects are covered here
- Event - Similar to JavaScript Events. Covers basic and wildcard events.
- Helper - Miscellaneous traits used to add class features
- Http - Deals with Routers, Request, Response and Middleware
- i18n - Covers Language translations and timezone conversions
- Image - Dynamic Image processor
- Profiler - Assists with troubleshooting code
- Resolver - IoC to manage dependency injections
Contributing
Please be aware that master branch contains all edge releases of the current version. Please check the version you are working with and find the corresponding branch. For example v1.1.1
can be in the 1.1
branch.
Bug fixes will be reviewed as soon as possible. Minor features will also be considered, but give me time to review it and get back to you. Major features will only be considered on the master
branch.
- Fork the Repository.
- Fire up your local terminal and switch to the version you would like to contribute to.
- Make your changes.
- Always make sure to sign-off (-s) on all commits made (git commit -s -m "Commit message")
Making pull requests
- Please ensure to run phpunit and phpcs before making a pull request.
- Push your code to your remote forked version.
- Go back to your forked version on GitHub and submit a pull request.
- All pull requests will be passed to Travis CI to be tested. Also note that Coveralls is also used to analyze the coverage of your contribution.