{"id":19286252,"url":"https://github.com/waldz/examplezf2application","last_synced_at":"2025-06-16T23:34:52.360Z","repository":{"id":80638829,"uuid":"40678925","full_name":"Waldz/ExampleZF2Application","owner":"Waldz","description":"Example ZF2 Web Application skeleton","archived":false,"fork":false,"pushed_at":"2015-08-13T20:10:43.000Z","size":148,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-05T18:46:19.859Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Waldz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-13T19:54:40.000Z","updated_at":"2015-08-13T19:54:56.000Z","dependencies_parsed_at":"2023-03-02T03:16:24.775Z","dependency_job_id":null,"html_url":"https://github.com/Waldz/ExampleZF2Application","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Waldz%2FExampleZF2Application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Waldz%2FExampleZF2Application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Waldz%2FExampleZF2Application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Waldz%2FExampleZF2Application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Waldz","download_url":"https://codeload.github.com/Waldz/ExampleZF2Application/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240390720,"owners_count":19793782,"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":[],"created_at":"2024-11-09T21:48:43.833Z","updated_at":"2025-02-23T23:13:41.068Z","avatar_url":"https://github.com/Waldz.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Example of Soap Server application\n=======================\n\nIntroduction\n------------\nThis is a simple SOAP server application implemented with ZF2, to show code separation patterns.\n\n\nInstallation\n------------\n\nUsing Composer (recommended)\n----------------------------\nStep 1. Download and install composer to your computer (read howto at https://getcomposer.org/doc/)\n    curl -s https://getcomposer.org/installer | php --\n\nStep 2. Or manually invoke `composer` using the shipped `composer.phar`:\n    # The `self-update` directive is to download newest up-to-date `composer.phar`\n    php composer.phar self-update\n    # This install all application required libraries for first time\n    php composer.phar install\n    php composer.phar dump-autoload --optimize\n\nStep 3. Copy every file with *.dist in directory /config/autoload/\nAnd dont commit your own local stuff to PRODUCTION!!!\n    local.php.dist  -\u003e  local.php\n    doctrine.local.php.dist  -\u003e  doctrine.local.php\n    zenddevelopertools.local.php.dist  -\u003e  zenddevelopertools.local.php\n    ...\n    ...\n\nStep 4. Import DB data\n    data/schema.sql\n\n\nVirtual Host\n------------\nStep1. Notepad.exe press \"Run as Administrator\"\nStep2. Create fake domain in file  C:\\Windows\\System32\\drivers\\etc\\hosts\n    127.0.0.1       examplesoap.localhost\n\nStep3. Add virtual host and restart Web server C:/Users/Valdas/xampp/apache/conf/httpd.conf\n    \u003cVirtualHost *:80\u003e\n        ServerName examplesoap.localhost\n\n        DocumentRoot \"C:/Users/Valdas/workspace/ExampleSoapServer/public\"\n        \u003cDirectory \"C:/Users/Valdas/workspace/ExampleSoapServer/public\"\u003e\n            Options Indexes FollowSymLinks Includes ExecCGI\n            AllowOverride FileInfo\n            Order allow,deny\n            Allow from All\n        \u003c/Directory\u003e\n    \u003c/VirtualHost\u003e\n\n\nAutomated testing\n------------\n    cd module/Application/test/ \u0026\u0026 phpunit --configuration phpunit.xml\n\n\nUsing Doctrine console\n------------\nEveryday jobs:\n    # How to map entities to DB\n    http://docs.doctrine-project.org/en/2.0.x/reference/association-mapping.html\n    # Check if Entity objects are correct\n    vendor\\bin\\doctrine-module.bat orm:validate-schema\n\n    # Alter database by entities (all other times)\n    # Windows:\n    vendor\\bin\\doctrine-module.bat orm:schema-tool:update --dump-sql\n    vendor\\bin\\doctrine-module.bat orm:schema-tool:update --force\n    # UNIX:\n    ./vendor/bin/doctrine-module orm:schema-tool:update --dump-sql\n    ./vendor/bin/doctrine-module orm:schema-tool:update --force\n\nPROD deployment\n------------\nStep1. Install project required libraries\n    php composer.phar self-update\n    php composer.phar update\n\nStep2. Buildings paths of all classess makes project superfast :)\nStep2.1 Build class map (for EACH Module):\n    sudo su www-data\n    php ./vendor/bin/classmap_generator.php -l ./module/YourModuleName\n\nStep2.2 Build template map (for EACH Module):\n    cd module/YourModuleName\n    php ../../vendor/zendframework/zendframework/bin/templatemap_generator.php -w\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaldz%2Fexamplezf2application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaldz%2Fexamplezf2application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaldz%2Fexamplezf2application/lists"}