Download the PHP package hiyan/phpenalva without Composer

On this page you can find all versions of the php package hiyan/phpenalva. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package phpenalva

PHPenalva 𓅓

Overview

PHPenalva is a lightweight PHP micro-framework designed on the Model-View-Controller (MVC) architecture.
Built with simplicity in mind, PHPenalva empowers you to swiftly create APIs and web applications.

Note: This project is currently under construction. Please bear with us as we work to make it even better.

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 create-project hiyan/phpenalva your_project_name

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 Authenticated Routes:
    To use route authentication in PHPenalva, add 'auth' to your route definition. For example: $route[] = ['GET', '/posts', 'PostController@index', 'auth'];. To access an authenticated route, you must log in via the /api/login route. If you don't have an account, create one using /user/create. You can then log in to your account via /api/login. After logging in, you'll receive an access token. You can use this token to access authenticated routes. To do so, add the token to the Authorization header of your request. For example: Authorization: Bearer {token}. Replace {token} with the access token you received after logging in. You can also use the token as a query parameter. For example: /posts?token={token}. Replace {token} with the access token you received after logging in. ### 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. ### 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](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! 🚀🌐

  • All versions of phpenalva with dependencies

    PHP Build Version
    Package Version
    Requires php Version >=8.0.0
    vlucas/phpdotenv Version ^5.5
    Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

    The package hiyan/phpenalva contains the following files

    Loading the files please wait ....