Download the PHP package addiks/symfony_generics without Composer

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

Scrutinizer Build Status Scrutinizer Code Quality Code Coverage

Total Downloads Licence Version PHP

Symfony Generic Components

This is a collection of configurable generic components to use for symfony. (Currently it mostly consists of generic controllers.) I believe that as a developer you should focus your work as much as possible to model and mold your domain of choice into software. Other technical necessities (such as controllers) should be reduced as much as possible.

The generic components in this library are built in a way that they can be re-used multiple times in different configurations to replace components in your software that you would otherwise would have to build from scratch. This not only saves you time, it also improves the quality of your software because all the components in this library are fully tested and thus by extension a bigger part of your application becomes tested.

Additionally, if you use generic components instead of writing everything by hand, your application becomes more uniform and machine-readable & -interpretable. For example: If you use generic controllers it is easy to tell which controllers just render a template, you could write a smoke-test that just executes all template-render-controllers and checks if any errors happen. Because you know that these controllers just render a template and do nothing else, you know that you can execute them without side-effect. Without doing much, you would have already tested a big portion of your application. (I actually plan to include such a smoke-test in this library in the future.)

In short, these are the advantages of using this library:

These components currently exist in the library:

Type Name Description
Controller API/GenericEntityCreateController API to create an entity.
Controller API/GenericEntityFetchController API to download an entity.
Controller API/GenericEntityInvokeController API to call a method on an entity.
Controller API/GenericEntityListingController API to get a list of entities.
Controller API/GenericEntityRemoveController API to remove an entity.
Controller API/GenericServiceInvokeController API to call a method on a service.
Controller GenericTemplateRenderController Renders a template with arguments.
Controller GenericExceptionResponseController Handle different exceptions.
Command EntityInvokeCommand Invoke Entity-Methods from CLI.
Command ServiceInvokeCommand Invoke Service-Methods from CLI.
Service ArgumentCompiler More versatile alternative to symfony expression-language
Router RoutingLoaderDecorator Decorates a router to allow service-tag-based routes
Voter Owned (Interface) Entity-Access-Authorization: Entities can specify an owner user
Voter OwnedFacade (Interface) Entity-Access-Authorization: Entities can specify if they are owned by a user
Voter Owner (Interface) Entity-Access-Authorization: User can specify if he own an entity
Voter OwnershipVoter Voter than can restrict acces based on interfaces above

All versions of symfony_generics with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
symfony/serializer Version ^4.4 || ^5.3 || ^6.2
symfony/http-foundation Version ^v4.4 || ^5.3 || ^6.2
symfony/property-access Version ^4.4 || ^5.3 || ^6.2
symfony/security-bundle Version ^4.4 || ^5.3 || ^6.2
symfony/framework-bundle Version ^4.4 || ^5.3 || ^6.2
symfony/form Version ^4.4 || ^5.3 || ^6.2
doctrine/orm Version ^2.6 || ^2.7 || ^2.8 || ^2.9 || ^2.14
twig/twig Version ^2.13 || ^2.14 || ^3.0 || ^3.1 || ^3.2 || ^3.3 || ^3.5
webmozart/assert Version ^1.3
psr/container Version ^1.0 || ^2.0
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 addiks/symfony_generics contains the following files

Loading the files please wait ....