Download the PHP package bear/ace without Composer

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

BEAR.Ace

Ace online editor utility for PHP

BEAR.Ace is an Ace utility for PHP. (Ace is a standalone code editor written in JavaScript.) It enables you to use an editor via a web service or to fix syntax errors on the fly.

BEAR.AceはオンラインエディターAceのユーティリティです。 エディターwebサービスやシンタックスエラーのオンライン修正が可能です。

Latest Stable Version Build Status

Getting started

Installing via Composer

The recommended way to install BEAR.Ace is through Composer.

Start the online editor web service

You can now browse file content using the 'file' and 'line' (optional) query.

Editor

You can also save the file you are editing when you have write access to the web server. It supports save shortcut keys for Windows(Ctl+S) and OSX(Cmd+S).

Sample Code

Getting HTML to display in the editor.

You can specify a $file as an absolute path or as a relative path from $rootPath. Files higher than $rootPath are not accessible for security reasons.

Starting the online service is simple using the following code.

More sample code can be found in the /docs/ directory.

Syntax Error Editor

Once an error handler has been registered, when a syntax error occurs, you can not only display the error but make a fix in the browser on the fly. The browser is then automatically reloaded for you upon save. This feature can really minimize the time and frustration caused by simple careless mistakes.

Editor

edit();

You can also view file content in the editor by using the edit function. Just specify the object or file path in the argument.

xdebug.file_link_format

The online editor can be linked to in the stack trace file name using the following ini configuration of xdebug.

Syntax Error Integration in Symfony2

1) Add "bear / ace" to composer.json, then install it with the composer command.

2) Register a syntax error editor in web/app_dev.php.

3) That's it ! You can now fix syntax errors on the spot.

Requirements


All versions of ace with dependencies

PHP Build Version
Package Version
No informations.
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 bear/ace contains the following files

Loading the files please wait ....