Download the PHP package yceruto/micro-symfony without Composer

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

Micro-Symfony Tools

Class helpers for Symfony applications.

ci

Installation

AbstractBundle

Bundles are a very important piece of code in your Symfony applications, and most of the time they require special configuration and DI extensions to achieve their goal.

In that sense, this AbstractBundle class will help you to create a concise and small bundle, fastly, focusing on what you only need to define and import by providing useful shortcuts and configurators:

With this class you don't have to create a separate class for Extension or Configuration. Further, all methods contain configurators that allow you to import a definition or config file in any supported format (yaml, xml, php, etc.)

This is how the configuration definition should look when you are importing it from a file:

AbstractExtension

In some cases, mainly for bundle-less approach, you might want to add a DI extension to your application without a bundle class. This AbstractExtension class will help you to simplify your extension definition by providing the same useful shortcuts and configurators:

You can register your extension directly into the Kernel this way:

MicroKernelTrait

This class is an implementation of the base Kernel + MicroKernelTrait that allows you to create a single "one-file" application for your cloud worker, microservice, or any other small application.

You can use the same index.php as console application to perform the common cache clear operations or any other command you need to run.

Symfony 6.1 Support

This feature is fully implemented since Symfony 6.1, so you can remove this package from your dependencies after upgrading accordingly.

Symfony 7.1 Support

The $container->import() method support in prependExtension was implemented in Symfony 7.1, so you can remove this package from your dependencies after upgrading accordingly.

Symfony 7.2 Support

The MicroKernelTrait optional capabilities were implemented in Symfony 7.2, so you can remove this package from your dependencies after upgrading accordingly.

Upgrade Notes

All classes included in this package are registered under the MicroSymfony namespace, however, they follow the same organization that Symfony. Thus, to upgrade just remove the Micro prefix from all imported classes and everything should keep working as before.

License

This software is published under the MIT License


All versions of micro-symfony with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
symfony/http-kernel Version ^7.1
symfony/config Version ^7.1
symfony/dependency-injection Version ^7.1
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 yceruto/micro-symfony contains the following files

Loading the files please wait ....