Download the PHP package philip1337/php-extjs-loader without Composer
On this page you can find all versions of the php package philip1337/php-extjs-loader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download philip1337/php-extjs-loader
More information about philip1337/php-extjs-loader
Files in philip1337/php-extjs-loader
Package php-extjs-loader
Short Description Sencha - ExtJS 4.0.x - 6.2.x Architect project loader
License GPL v3
Informations about the package php-extjs-loader
Sencha Architect ExtJS Project Loader
This library allows you to load architect projects directly into your application without loading the js files separately.
The supplied internal project parser is resolving all conflicts and provides the sorted code.
Add MVC Support for your ExtJS project
You can build a modular project by loading projects into containers without modifying any of your projects files.
Extending the internal parser
You can easily extend the internal project parser
\ExtJSLoader\ProjectParser::registerParser((
new Parser()
));
Dump the project files for remote deployment without any *.xds files or metadata
If you provide the application to external customers and you don't want to deploy your project files, you can load project from a 'compiled' (dump) file.
$loader = new \ExtJSLoader\Project(
"TestArchitectProject", // Application name
__DIR__ . "/../test/TestArchitectProject", // Root directory
__DIR__ . "/TestCompiledProject.xvt", // Compiled path!
"test-destination" // Target div (render destination)
);
// Use compiled project if exists
$loader->load(true, true);
// Get code
echo $loader->getCode();
Examples
Easy implementation
- Load architect project
- Load compiled architect project
- Extend loader with a custom parser
- Minify / Compress JS output
Installation
To use this library you need to add the following in your composer.json
philip1337/php-extjs-loader
or run the following command in your project root
composer require philip1337/php-extjs-loader
License / Copying
This project is released under the GPL v3 license, so feel free to share or modify it.
Bug report
To get a faster bug resolvement please provide an example code.