# Tomato Ecommerce

<figure><img src="https://117397612-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSlG6RrSDmGrQX2xjM6AT%2Fuploads%2FyAjxIDcuKZMtty09Zv7Z%2Fscreenshot.png?alt=media&#x26;token=e45209e5-1248-4939-bc66-66c9088a7203" alt=""><figcaption></figcaption></figure>

<figure><img src="https://117397612-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSlG6RrSDmGrQX2xjM6AT%2Fuploads%2FTvCX56nmfAJhBNJSr9JA%2FScreenshot%202023-11-23%20at%204.52.57%E2%80%AFPM.png?alt=media&#x26;token=b1b2201b-dc1a-4fae-b015-be8c5e58e360" alt=""><figcaption></figcaption></figure>

before starting to install tomato-ecommerce make sure that you have this package installed and configured

* [Tomato Admin](https://github.com/tomatophp/docs/blob/master/plugins/tomato-ecommerce/broken-reference/README.md)
* [Tomato Roles](https://docs.tomatophp.com/plugins/tomato-roles)
* [Tomato Settings](https://docs.tomatophp.com/plugins/tomato-settings)
* [Tomato Translations](https://docs.tomatophp.com/plugins/tomato-translations)
* [Tomato Menus](https://docs.tomatophp.com/plugins/tomato-menus)
* [Tomato Category](https://docs.tomatophp.com/plugins/tomato-category)
* [Tomato Notifications](https://docs.tomatophp.com/plugins/tomato-notifications)
* [Tomato Forms](https://docs.tomatophp.com/plugins/tomato-forms)
* [Tomato CRM](https://docs.tomatophp.com/plugins/tomato-crm)
* [Tomato CMS](https://docs.tomatophp.com/plugins/tomato-cms)
* [Tomato Wallet](https://docs.tomatophp.com/plugins/tomato-wallet)
* [Tomato Products](https://docs.tomatophp.com/plugins/tomato-products)
* [Tomato Orders](https://docs.tomatophp.com/plugins/tomato-orders)
* [Tomato Coupons](https://docs.tomatophp.com/plugins/tomato-coupons)
* [Tomato Sections](https://docs.tomatophp.com/plugins/tomato-sections)
* [Tomato Support](https://docs.tomatophp.com/plugins/tomato-support)
* [Tomato Themes](https://github.com/tomatophp/docs/blob/master/plugins/tomato-themes/README.md)

### Before Installation

Ensure that PHP sodium extension is enabled.

### Steps to Enable Sodium Extension

* Run the following command in the terminal and note the php.ini file path

```
  php --ini
```

Example path: C:\laragon\bin\php\php-8.1.10-Win32-vs16-x64\php.ini

* Locate and open the php.ini file in a text editor.
* Find the line containing `extension=sodium` and uncomment it by removing the semicolon (;) at the beginning.
* Save the file and restart your PHP environment.

Now, the sodium extension should be active for your PHP installation.

### Installation

```
composer require tomatophp/tomato-ecommerce
```

or as Module

```
composer require tomatophp/tomato-ecommerce-module
```

after installing your package please run this command

```
php artisan tomato-ecommerce:install
```

### Changelog

Please see [CHANGELOG](https://github.com/tomatophp/tomato-ecommerce/blob/master/CHANGELOG.md) for more information on what has changed recently.

### Security

Please see [SECURITY](https://github.com/tomatophp/tomato-ecommerce/blob/master/SECURITY.md) for more security information.

### Credits

* [Fady Mondy](mailto:info@3x1.io)

### License

The MIT License (MIT). Please see [License File](https://github.com/tomatophp/tomato-ecommerce/blob/master/LICENSE.md) for more information.
