{"id":20282232,"url":"https://github.com/teqneers/ext-application-bundle","last_synced_at":"2025-04-11T07:58:28.849Z","repository":{"id":35186738,"uuid":"39444589","full_name":"teqneers/ext-application-bundle","owner":"teqneers","description":"A Symfony bundle to integrate Sencha Ext JS into a Symfony application","archived":false,"fork":false,"pushed_at":"2022-07-25T08:24:17.000Z","size":189,"stargazers_count":4,"open_issues_count":3,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-20T02:02:53.021Z","etag":null,"topics":["bundle","extjs","php","php-library","sencha","symfony","symfony-bundle"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teqneers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-21T12:41:25.000Z","updated_at":"2022-03-23T07:59:46.000Z","dependencies_parsed_at":"2022-09-15T11:22:43.282Z","dependency_job_id":null,"html_url":"https://github.com/teqneers/ext-application-bundle","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teqneers%2Fext-application-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teqneers%2Fext-application-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teqneers%2Fext-application-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teqneers%2Fext-application-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teqneers","download_url":"https://codeload.github.com/teqneers/ext-application-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248360113,"owners_count":21090653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bundle","extjs","php","php-library","sencha","symfony","symfony-bundle"],"created_at":"2024-11-14T14:08:38.319Z","updated_at":"2025-04-11T07:58:28.810Z","avatar_url":"https://github.com/teqneers.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ext-application-bundle\n\nA Symfony bundle to integrate Sencha Ext JS into a Symfony application\n\n[![Build Status](https://github.com/teqneers/ext-application-bundle/actions/workflows/php.yml/badge.svg)](https://github.com/teqneers/ext-application-bundle/actions/workflows/php.yml)\n\n## Installation\n\nYou can install this bundle using composer\n\n    composer require teqneers/ext-application-bundle\n\nor add the package to your composer.json file directly.\n\nAfter you have installed the package, you just need to add the bundle to your AppKernel.php file:\n\n```php\n// in AppKernel::registerBundles()\n$bundles = array(\n    // ...\n    new TQ\\Bundle\\ExtJSApplicationBundle\\TQExtJSApplicationBundle(),\n    // ...\n);\n```\n\n## Configuration\n\nThe *ext-application-bundle* requires some initial configuration so that it can find the correct files.\n\n    # Default configuration for extension with alias: \"tq_ext_js_application\"\n    tq_ext_js_application:\n        app_path:             ~ # Required\n        builds:               # Required\n            # Prototype\n            name:\n                development:          # Required\n                    build_path:           ~ # Required\n                    microloader:          /bootstrap.js\n                    manifest:             /bootstrap.json\n                    app_cache:            null\n                production:           # Required\n                    build_path:           ~ # Required\n                    microloader:          microloader.js\n                    manifest:             app.json\n                    app_cache:            cache.appcache\n\nBecause the bundle provides its own controller to serve micro-loader, manifest and application cache manifest, you also\nneed to configure your routing to include the bundle routes at a given prefix. Edit your `app/config/routing.yml`:\n\n    # ...\n    ext_app:\n        resource: \"@TQExtJSApplicationBundle/Resources/config/routing.yml\"\n        prefix:/\n    # ...\n\n### Example\n\nGiven the following directory structure of a fictitious Symfony application\n\n    ./\n    |-- app/            Application configuration and assets\n    |-- src/            Application source code\n    |-- web/            Public web-facing directory (document root)\n    |   |-- app.php     Symfony production front controller\n    |   |-- app_dev.php Symfony development front controller\n    |   |-- app/        Root folder for Ext JS application production build\n    |-- ExampleApp/     The Ext JS application source folder\n\nyour configuration might look like this\n\n    tq_ext_js_application:\n        app_path: '%kernel.project_dir%/ExampleApp'\n        builds:\n            default:\n                development:\n                    build_path:  build/development/ExampleApp\n                    microloader: /bootstrap.js\n                    manifest:    /bootstrap.json\n                    app_cache:   ~\n                production:\n                    build_path:  build/production/ExampleApp\n                    microloader: microloader.js\n                    manifest:    app.json\n                    app_cache:   cache.appcache\n\n## Usage\n\nUsing the Twig extension provided by the bundle you can easily integrate the Ext JS application resources into your\napplication templates.\n\n```twig\n\u003c!DOCTYPE HTML\u003e\n\u003chtml manifest=\"{{ extjsAppCachePath() }}\" lang=\"en\"\u003e\n\u003chead\u003e\n    \u003cmeta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"\u003e\n    \u003cmeta charset=\"UTF-8\"\u003e\n    \u003cmeta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\"/\u003e\n    \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\"\u003e\n    \u003ctitle\u003eWelcome!\u003c/title\u003e\n\n    \u003cscript type=\"text/javascript\"\u003e\n        var Ext = Ext || {};\n        Ext.manifest = '{{ extjsManifestPath()|e('js') }}';\n    \u003c/script\u003e\n    \u003cscript id=\"microloader\" data-app=\"{{ extjsApplicationId() }}\" type=\"text/javascript\" src=\"{{ extjsBootstrapPath() }}\"\u003e\u003c/script\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2015 TEQneers GmbH \u0026 Co. KG\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\ndocumentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the\nrights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit\npersons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the\nSoftware.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteqneers%2Fext-application-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteqneers%2Fext-application-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteqneers%2Fext-application-bundle/lists"}