Welcome PHPenalva Microframework

PHPenalva is a simple and efficient PHP microframework for building web applications.

Requirements

  • PHP Version: PHP 7.4 or higher is required.
  • Web Server: You'll need a web server with URL rewriting enabled.
  • Supported Servers: PHPenalva plays nicely with Apache, Nginx, and IIS.
  • Database Compatibility: PHPenalva is compatible with MySQL, MariaDB, PostgreSQL, and SQLite.
  • Platform: PHPenalva can be used on Linux, Windows, and macOS.

Installation

Getting started with PHPenalva is a breeze. You can install it via Composer with the following command in your project directory:

composer require phpenalva/phpenalva

Documentation

Our comprehensive documentation is readily available at {{TODO}}. We're continually working on enhancing it to help you make the most of PHPenalva's features.

Routes Example

Here are some example routes that you can define in your PHPenalva application:

Route with views:
  • GET /posts: List all posts. Access it in your browser to view the posts.
  • GET /post/{id}: View details of a specific post. Replace {id} with the desired post ID in the URL.
Route without views:
  • POST /post: Create a new post. Send a POST request to this route with the required parameters to create a new post.
  • PUT /post/{id}: Update an existing post. Send a PUT request to this route with the required parameters to update an existing post. Replace {id} with the desired post ID in the URL.
  • DELETE /post/{id}: Delete an existing post. Send a DELETE request to this route with the required parameters to delete an existing post. Replace {id} with the desired post ID in the URL.

Feel free to explore these routes in your browser to see PHPenalva in action!

Contributing

PHPenalva is an open-source project, and we warmly welcome contributions from the community. Whether it's bug fixes, new features, or improvements, your input is valuable to us. Please see our CONTRIBUTING.md for guidelines on how to contribute.

License

PHPenalva is released under the MIT License. For more details, please refer to the LICENSE file. If you need any assistance or have questions, don't hesitate to reach out to us.

Thank you for choosing PHPenalva for your development needs! Enjoy coding with PHPenalva! 🚀🌐