Download the PHP package afto/microservice without Composer

On this page you can find all versions of the php package afto/microservice. 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 microservice

Afto.online

Afto is an optimized solution for PHP developers supporting the PSR-4 autoloading standard. It is designed for easy integration, microservice architecture, and optimized performance. This project provides a solid foundation for PHP developers to create scalable and maintainable applications.

Features

Installation

1. Create a New Project

To create a new project, run the following command:

This will create a new project using the afto/microservice template.

2. Install Dependencies

Once the project is created, navigate into the project directory and install the necessary dependencies using Composer:

3. Start the PHP Built-in Server

Once the dependencies are installed, you can start the PHP built-in server for testing purposes:

4. Run Docker

To run the application inside Docker, use the following command to build and start the Docker container in detached mode:

This will build the Docker container and run it in the background.

5. PHPUnit Testing

To run the PHPUnit tests and check the functionality of your code, navigate to the core directory and use the following command:

6. Remove Docker

To clean up your Docker environment and remove all stopped containers, unused networks, and volumes, use the following command:

This will remove unused Docker resources and free up disk space.

7. Run psalm.dev

To check the code quality and find potential issues, run Psalm, a static analysis tool for PHP:

This will analyze your code and provide suggestions to improve it.

GitHub Repository

Visit the Afto GitHub Repository for more details, issues, pull requests, and contributions.

Repository Statistics

Contributing

We welcome contributions to Afto. If you would like to improve or report bugs in the project, please open an issue or submit a pull request on GitHub.

To contribute:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/your-feature)
  3. Make your changes
  4. Commit your changes (git commit -am 'Add a new feature')
  5. Push to the branch (git push origin feature/your-feature)
  6. Create a new pull request

License

This project is licensed under the MIT License - see the LICENSE file for details.


Crafted with ❤️ by Seyed Mohammad Hosseini


All versions of microservice with dependencies

PHP Build Version
Package Version
Requires vlucas/phpdotenv Version ^5.6
nikic/fast-route Version ^1.3
twig/twig Version ^3.0
mouf/nodejs-installer Version ^1.0
predis/predis Version ^2.3
phpredis/phpredis Version ^6.1
openai-php/client Version ^0.10.3
symfony/http-client Version ^7.2
nyholm/psr7 Version ^1.8
guzzlehttp/guzzle Version ^7.9
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 afto/microservice contains the following files

Loading the files please wait ...