{"id":23960505,"url":"https://github.com/mojtabagh0098/simple-mvc-framework","last_synced_at":"2025-02-24T12:19:31.279Z","repository":{"id":270463700,"uuid":"910459624","full_name":"mojtabagh0098/simple-mvc-framework","owner":"mojtabagh0098","description":"This project is a simple MVC (Model-View-Controller) framework written in PHP.","archived":false,"fork":false,"pushed_at":"2024-12-31T10:36:34.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T11:29:29.234Z","etag":null,"topics":["mvc","mvc-framework","mvc-php-framework","php","php-framework"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"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/mojtabagh0098.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}},"created_at":"2024-12-31T10:32:05.000Z","updated_at":"2024-12-31T10:38:30.000Z","dependencies_parsed_at":"2024-12-31T11:29:53.731Z","dependency_job_id":"d534ce3a-4df4-44f0-b4f9-84bd7be51242","html_url":"https://github.com/mojtabagh0098/simple-mvc-framework","commit_stats":null,"previous_names":["mojtabagh0098/simple-mvc-framework"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojtabagh0098%2Fsimple-mvc-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojtabagh0098%2Fsimple-mvc-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojtabagh0098%2Fsimple-mvc-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojtabagh0098%2Fsimple-mvc-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mojtabagh0098","download_url":"https://codeload.github.com/mojtabagh0098/simple-mvc-framework/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240475231,"owners_count":19807292,"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","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":["mvc","mvc-framework","mvc-php-framework","php","php-framework"],"created_at":"2025-01-06T19:28:58.679Z","updated_at":"2025-02-24T12:19:31.255Z","avatar_url":"https://github.com/mojtabagh0098.png","language":"PHP","readme":"# Simple MVC Framework\n\nThis project is a simple MVC (Model-View-Controller) framework written in PHP. It is designed for developers who want to build web applications with a clear separation of concerns. The framework provides a structured way to manage your code, making it easier to maintain and scale. It is suitable for both beginners and experienced developers looking for a lightweight and easy-to-use framework.\n\n## Installation\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/mojtabagh0098/simple-mvc-framework.git\n    ```\n2. Navigate to the project directory:\n    ```bash\n    cd simple-mvc-framework\n    ```\n3. Install dependencies:\n    ```bash\n    npm install\n    ```\n\n## Usage\n\n## Usage\n\nTo use this project, follow these steps:\n\n1. Start the development server:\n    ```bash\n    php -S localhost:8000\n    ```\n\n2. Open your web browser and navigate to:\n    ```\n    http://localhost:8000\n    ```\n\n3. You should see the default homepage of the MVC framework.\n\n### Example\n\nTo create a new controller, follow these steps:\n\n1. Create a new PHP file in the `controllers` directory, for example `ExampleController.php`:\n    ```php\n    \u003c?php\n\n    class ExampleController {\n        public function index() {\n            echo 'Hello, world!';\n        }\n    }\n    ```\n\n2. Define a route for your new controller in the `routes.php` file:\n    ```php\n    $router-\u003eaddRoute('/example', 'ExampleController::class','index');\n    ```\n\n3. Navigate to `http://localhost:8000/example` in your web browser to see the output.\n\nThis is a basic example to get you started. You can create more complex controllers, models, and views as needed.\n\n## Contributing\n\nWe invite everyone to contribute and improve this MVC framework. Your contributions are valuable and will help make this project better for the community.\n\n1. Fork the repository.\n2. Create a new branch:\n    ```bash\n    git checkout -b feature-branch\n    ```\n3. Make your changes and commit them:\n    ```bash\n    git commit -m 'Add some feature'\n    ```\n4. Push to the branch:\n    ```bash\n    git push origin feature-branch\n    ```\n5. Open a pull request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmojtabagh0098%2Fsimple-mvc-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmojtabagh0098%2Fsimple-mvc-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmojtabagh0098%2Fsimple-mvc-framework/lists"}