Aspose.Cells .NET for PHP

Getting Started

Introduction

System Requirements and Supported Platforms

System Requirements

Following are the system requirements to use Aspose.Cells .NET for PHP:

  • IIS with PHP and PHP Manager installed.
  • Aspose.Total APIs.
  • Aspose.Cells the Interop dll and tlb file.

Supported Platforms

Following are the supported platforms:

  • PHP 5.3 or above
  • Windows OS

Download and Configure

Download Required Libraries

Download required libraries mentioned below. These are the required for executing Aspose.Cells Java for PHP examples.

If you download MSI version, you will find Aspose.Cells.dll in installed location which is C:\Program Files (x86)\Aspose\Aspose.Cells for .NET\Bin\net2.0 folder by default. However in case you have downloaded DLL version you can extract it and then copy Aspose.Cells.dll from .NET 2.0 folder to your c:\temp folder for ease of use. Similarly extract interop zip file and copy Aspose.Inteop.dll to c:\temp

Download Examples from Social Coding Sites

Following releases of running examples are available to download on below mentioned social coding sites:


GitHub

How to configure the source code on Windows Platform

Please follow these simple steps in order to open and extend the source code while using:

1. Register both dll and interop.dll files e.g. Aspose.Cells.dll and Aspose.Cells.Interop.dll.
 Register both dll and interop.dll files e.g. Aspose.Cells.dll and Aspose.Cells.Interop.dll.

C:\Windows\Microsoft.NET\Framework\v2.0.50727>regasm c:\cells\Aspose.Cells.dll /codebase

Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.7905

Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

Types registered successfully

C:\Windows\Microsoft.NET\Framework\v2.0.50727>regasm c:\cells\Aspose.Cells.Interop.dll /codebase
2. Enable COM and DOTNET Extensions in PHP.

In IIS open PHP Manager and then Click ‘Enable to Disable and Extension‘. Find php_com_dotnet.dll and make sure it is enabled.

3. Configure Aspose.Cells .NET for PHP Examples
Method 1

Clone PHP Examples from github and run the following command

 composer install
Method 2

In your PHP Project’s composer.json file add following lines

 {

    "require": {

        "aspose-cells/Aspose.Cells-for-.NET_for_php": "dev-master"

    }

}

and run the install command

 composer install

To read about composer visit https://getcomposer.org/

Support Extend and Contribute

Support

From the very first days of Aspose, we knew that just giving our customers good products would not be enough. We also needed to deliver good service. We are developers ourselves and understand how frustrating it is when a technical issue or a quirk in the software stops you from doing what you need to do. We’re here to solve problems, not create them.

This is why we offer free support. Anyone who uses our product, whether they have bought them or are using an evaluation, deserves our full attention and respect.

You can log any issues or suggestions related to Aspose.Cells .NET for PHP using any of the following platforms:

Extend and Contribute

Aspose.Cells .NET for PHP is open source and its source code is available on the major social coding websites listed below. Developers are encouraged to download the source code and contribute by suggesting or adding new feature or improving the existing ones, so that others could also benefit from it.

Source Code

You can get the latest source code from one of the following locations

Sample Code Examples

This section includes the following topics