Thank you for your interest in contributing to CIN Framework! We welcome contributions from developers of all skill levels and are committed to maintaining the highest standards of code quality, security, and architectural integrity.
This project adheres to our Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to contact@cin-framework.com.
- Use our Reporting Guidelines for detailed instructions
- Search existing issues before creating a new one
- Provide clear, detailed descriptions with steps to reproduce
- Include relevant system information and error messages
- Use appropriate issue labels and templates
- Open an issue with the "enhancement" label
- Clearly describe the feature and its benefits
- Explain how it aligns with CIN Framework's philosophy
- Provide use cases and examples
- Consider backward compatibility implications
- Fork the repository
- Clone your fork locally
- Create a new branch for your feature/fix
- Make your changes following our standards
- Test thoroughly across different environments
- Submit a pull request with detailed description
PHP Code (Backend)
- Follow PSR-12 coding standards strictly
- Use PHPDoc blocks for all classes, methods, and functions
- No inline comments - documentation through PHPDoc only
- Each file must include proper header with:
declare(strict_types=1);at the top- PHPDoc block with component name
@package CIN Framework@author Ayoub Alarjani (MAWI MAN)@license Proprietary - All rights reserved to CIN Framework
- No external dependencies or Composer packages
- Raw, native PHP solutions only
Frontend Code
- Follow existing code style and patterns
- Ensure cross-browser compatibility
- Optimize for performance and accessibility
- Test on mobile devices and various screen sizes
- Use semantic HTML and modern CSS practices
General Guidelines
- Write clear, self-documenting code
- Include comprehensive tests for new functionality
- Update documentation as needed
- Ensure backward compatibility
- Follow security best practices
- Optimize for performance
-
Before Submitting
- Ensure your code follows our standards
- Test your changes thoroughly
- Update relevant documentation
- Rebase your branch on the latest main
- Run all existing tests
-
Pull Request Requirements
- Clear, descriptive title
- Detailed description of changes
- Reference related issues
- Include screenshots for UI changes
- List any breaking changes
- Provide testing instructions
-
Review Process
- All PRs require review from maintainers
- Address feedback promptly and professionally
- Keep discussions constructive
- Be patient - thorough reviews take time
- Maintain code quality throughout iterations
- Keep documentation up-to-date with code changes
- Use clear, concise, professional language
- Include practical examples where helpful
- Follow existing documentation style and structure
- Ensure accuracy and completeness
- PHP 7.x or 8.x or higher
- Web server (Apache/Nginx)
- Modern web browser
- Text editor or IDE with PHP support
- Git for version control
- Clone the repository
- Set up your web server to serve the project
- Configure any necessary environment variables
- Test the setup by accessing the main page
- Verify all components are working correctly
For framework operations, use the official CIN CLI tool.
For security-related issues, please follow our Security Policy. Do not report security vulnerabilities through public issues. Contact admin@cin-framework.com directly.
Contributors will be recognized in:
- Project documentation and release notes
- Community acknowledgments
- Significant contributions may be acknowledged in project credits
- Annual contributor recognition program
If you have questions about contributing:
- Check our FAQ
- Search existing documentation and closed issues
- Visit our official website for comprehensive guides
- Contact us at support@cin-framework.com
- Support: support@cin-framework.com
- General Contact: contact@cin-framework.com
- Administration: admin@cin-framework.com
- Developer: dev@cin-framework.com
- Creator: mawi@cin-framework.com
Copyright © CIN FRAMEWORK. All Rights Reserved.
Developed by Ayoub Alarjani (Mawi Man) | Official Website Mawi Man: mawiman.com
By contributing to CIN Framework, you agree that your contributions will be licensed under the same proprietary license as the project. All contributions become part of the CIN Framework ecosystem and are subject to our licensing terms.
This contributing guide is governed by the laws of Morocco and is effective as of 2025.
Official Slogan: CIN FRAMEWORK – WEB 4 – POWERED BY LOCAL SELF-SUFFICIENCY AND AGGRESSIVE SECURITY