Download the PHP package aimeos/aimeos-symfony2 without Composer

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

Aimeos logo

Aimeos Symfony bundle

Total Downloads Build Status Coverage Status Scrutinizer Code Quality

:star: Star us on GitHub — it helps!

Aimeos is THE professional, full-featured and ultra fast e-commerce package for Symfony! You can install it in your existing Symfony application within 5 minutes and can adapt, extend, overwrite and customize anything to your needs.

Aimeos Symfony demo

Table of content

Installation

This document is for the latest Aimeos 2023.10 and Symfony 6.3+.

If you want to upgrade between major versions, please have a look into the upgrade guide!

The Aimeos Symfony e-commerce bundle is a composer based library that can be installed easiest by using Composer. If you don't have an existing Symfony application, you can create a skeleton application using

These settings need to be added to the ./config/packages/fos_user.yaml file:

The Aimeos components have to be configured as well to get authentication working correctly. You need to take care of three things: Using the correct customer manager implementation and password encryption method as well as the right path for the storages. All must be appended at the end of the ./config/packages/aimeos_shop.yaml:

To configure the Aimeos routing, create the file ./config/routes/aimeos_shop.yaml with these lines:

The same applies for the FosUser bundle. Create the file ./config/routes/fos_user.yaml containing:

Make sure that the database is set up and it is configured in your ./config/packages/doctrine.yaml:

Also, you have to configure your database credentials in the .env file:

DATABASE_URL=mysql://db_user:[email protected]:3306/db_name

If you want to use a database server other than MySQL, please have a look into the article about supported database servers and their specific configuration.

If you don't use Sendmail but SMTP for sending e-mails, you have to adapt the MAILER_URL configuration in your .env file, e.g.:

MAILER_URL=smtp://smtp.mailtrap.io:2525?encryption=tls&auth_mode=login&username=...&password=...

Composer

Then add these lines to your composer.json of your Symfony project:

Afterwards, install the Aimeos shop bundle using

composer update

In a production environment or if you don't want that the demo data gets installed, use the --no-dev option:

SYMFONY_ENV=prod composer update --no-dev

If you get an exception that the SensioGeneratorBundle isn't found, follow the steps described in the Aimeos Symfony forum post

Start the PHP web server in the base directory of your application to do some quick tests:

Then, you should be able to call the catalog list page in your browser using

Login and Admin

Setting up the administration interface is a matter of configuring the Symfony firewall to restrict access to the admin URLs.

Setting up the security configuration is the most complex part. The firewall setup in ./config/packages/security.yaml should look like this one:

Caution: The order of the configuration settings in this file is important!

These settings will protect the URLs from unauthorized access from someone without admin privileges.

The /profile URL is protected by the FOS user bundle as well, which also offers user registration.

As last step, you have to create an admin account using the Symfony command line:

The e-mail address is the user name for login and the account will work for the frontend too. To protect the new account, the command will ask you for a password. The same command can create limited accounts by using "--editor" instead of "--admin". If you use "--super" the account will have access to all sites.

If the PHP web server is still running (php -S 127.0.0.1:8000 -t public), you should be able to call the admin login page in your browser using

and authenticating with your e-mail and the password which has been asked for by the aimeos:account command.

Hints

To simplify development, you should configure to use no content cache. You can do this by adding these lines to ./config/packages/aimeos_shop.yaml:

License

The Aimeos Symfony bundle is licensed under the terms of the MIT license and is available for free.

Links


All versions of aimeos-symfony2 with dependencies

PHP Build Version
Package Version
Requires php Version ~7.1
composer-runtime-api Version ^2.1
aimeos/aimeos-core Version 2021.10.*
aimeos/ai-gettext Version 2021.10.*
aimeos/ai-monolog Version 2021.10.*
aimeos/ai-symfony Version 2021.10.*
aimeos/ai-swiftmailer Version 2021.10.*
aimeos/ai-admin-jqadm Version 2021.10.*
aimeos/ai-admin-jsonadm Version 2021.10.*
aimeos/ai-controller-jobs Version 2021.10.*
aimeos/ai-controller-frontend Version 2021.10.*
aimeos/ai-client-jsonapi Version 2021.10.*
aimeos/ai-client-html Version 2021.10.*
aimeos/ai-fosuser Version 2021.10.*
aimeos/ai-twig Version 2021.10.*
doctrine/common Version ^2.8||^3.0
symfony/asset Version ~3.4||~4.0||~5.0
symfony/monolog-bundle Version ~3.0
symfony/form Version ~3.4||~4.0||~5.0
symfony/framework-bundle Version ~3.4||~4.0||~5.0
symfony/security-bundle Version ~3.4||~4.0||~5.0
symfony/swiftmailer-bundle Version ~3.0
symfony/templating Version ~3.4||~4.0||~5.0
symfony/twig-bundle Version ~3.4||~4.0||~5.0
symfony/psr-http-message-bridge Version ~1.0
sensio/framework-extra-bundle Version ~3.4||~4.0||~5.0
nyholm/psr7 Version ~1.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 aimeos/aimeos-symfony2 contains the following files

Loading the files please wait ....