https://github.com/initphp/framework3
InitPHP 3rd generation MVC Framework
https://github.com/initphp/framework3
framework mvc php-framework php-mvc php-mvc-framework php8
Last synced: 10 months ago
JSON representation
InitPHP 3rd generation MVC Framework
- Host: GitHub
- URL: https://github.com/initphp/framework3
- Owner: InitPHP
- License: mit
- Created: 2023-12-15T08:12:12.000Z (about 2 years ago)
- Default Branch: develop
- Last Pushed: 2023-12-24T13:25:11.000Z (about 2 years ago)
- Last Synced: 2024-04-24T05:03:42.156Z (over 1 year ago)
- Topics: framework, mvc, php-framework, php-mvc, php-mvc-framework, php8
- Language: PHP
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# InitPHP Framework3
InitPHP Framework, is the most minimalist web framework manager using MVC architecture.
[](https://packagist.org/packages/initphp/framework3) [](https://packagist.org/packages/initphp/framework3) [](https://packagist.org/packages/initphp/framework3) [](https://packagist.org/packages/initphp/framework3) [](https://packagist.org/packages/initphp/framework3)
This framework offers only the most essential infrastructure tools and structure. Although it is minimalist, the most basic libraries it offers have the ability to compete with large frameworks.
### What does it offer?
It offers basic libraries that every project needs, such as Configurations, HTTP Routing, Database Abstraction and ORM, Multi-Language Support, Triggerable Events, User Inputs, Logger, Validation.
If you need more; You can simply integrate any Init PHP library or a different library into your project.
## Installation
```
composer create-project initphp/framework3 MyProject
```
```
cp ./.env.example ./.env
```
```
php init key:generate
```
## Usage
It has a file and directory structure similar to the MVC frameworks that developers are used to. The classes and libraries of your application are in the `/application/` directory.
**_Note :_** If your project runs in a subdirectory, specify it in the `BASE_PATH` configuration in the `/.env` file.
You can find Route and other definitions in files and classes in the `/routes/` directory.
To see the available console commands;
```
php init list
```
## Docker
Docker allows you to set up your working environment and conduct your work from there. However, the Docker configuration is set up for a development environment, not for a production environment. You will need to appropriately modify the configurations for use in a production environment.
```
docker-compose build
docker-compose up -d
```
If the process has been successfully completed, your project will be waiting for you at the following address.
```
http://localhost:8000
```
## Getting Help
If you have questions, concerns, bug reports, etc, please file an issue in this repository's Issue Tracker.
## Contributing
> All contributions to this project will be published under the MIT License. By submitting a pull request or filing a bug, issue, or feature request, you are agreeing to comply with this waiver of copyright interest.
- Fork it ( https://github.com/InitPHP/Framework3/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am "Add some feature")
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
## Credits
- [Muhammet ŞAFAK](https://www.muhammetsafak.com.tr) <>
## License
Copyright © 2022 [MIT License](./LICENSE)