{"id":19005051,"url":"https://github.com/codeedu/zf2-zenddb","last_synced_at":"2026-04-21T10:30:18.126Z","repository":{"id":92091870,"uuid":"41516537","full_name":"codeedu/zf2-zenddb","owner":"codeedu","description":"Exemplo de um CRUD de clientes feito com zend-db no Zend Framework 2","archived":false,"fork":false,"pushed_at":"2015-08-27T23:50:02.000Z","size":432,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-01T19:27:08.923Z","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/codeedu.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-27T23:35:07.000Z","updated_at":"2020-04-14T09:10:22.000Z","dependencies_parsed_at":"2023-03-13T17:34:43.672Z","dependency_job_id":null,"html_url":"https://github.com/codeedu/zf2-zenddb","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/codeedu%2Fzf2-zenddb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeedu%2Fzf2-zenddb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeedu%2Fzf2-zenddb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeedu%2Fzf2-zenddb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeedu","download_url":"https://codeload.github.com/codeedu/zf2-zenddb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240027433,"owners_count":19736212,"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-08T18:25:55.135Z","updated_at":"2026-04-21T10:30:18.055Z","avatar_url":"https://github.com/codeedu.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"ZendSkeletonApplication\n=======================\n\nIntroduction\n------------\nThis is a simple, skeleton application using the ZF2 MVC layer and module\nsystems. This application is meant to be used as a starting place for those\nlooking to get their feet wet with ZF2.\n\nInstallation using Composer\n---------------------------\n\nThe easiest way to create a new ZF2 project is to use [Composer](https://getcomposer.org/). If you don't have it already installed, then please install as per the [documentation](https://getcomposer.org/doc/00-intro.md).\n\n\nCreate your new ZF2 project:\n\n    composer create-project -n -sdev zendframework/skeleton-application path/to/install\n\n\n\n### Installation using a tarball with a local Composer\n\nIf you don't have composer installed globally then another way to create a new ZF2 project is to download the tarball and install it:\n\n1. Download the [tarball](https://github.com/zendframework/ZendSkeletonApplication/tarball/master), extract it and then install the dependencies with a locally installed Composer:\n\n        cd my/project/dir\n        curl -#L https://github.com/zendframework/ZendSkeletonApplication/tarball/master | tar xz --strip-components=1\n    \n\n2. Download composer into your project directory and install the dependencies:\n\n        curl -s https://getcomposer.org/installer | php\n        php composer.phar install\n\nIf you don't have access to curl, then install Composer into your project as per the [documentation](https://getcomposer.org/doc/00-intro.md).\n\nWeb server setup\n----------------\n\n### PHP CLI server\n\nThe simplest way to get started if you are using PHP 5.4 or above is to start the internal PHP cli-server in the root\ndirectory:\n\n    php -S 0.0.0.0:8080 -t public/ public/index.php\n\nThis will start the cli-server on port 8080, and bind it to all network\ninterfaces.\n\n**Note:** The built-in CLI server is *for development only*.\n\n### Vagrant server\n\nThis project supports a basic [Vagrant](http://docs.vagrantup.com/v2/getting-started/index.html) configuration with an inline shell provisioner to run the Skeleton Application in a [VirtualBox](https://www.virtualbox.org/wiki/Downloads).\n\n1. Run vagrant up command\n\n    vagrant up\n\n2. Visit [http://localhost:8085](http://localhost:8085) in your browser\n\nLook in [Vagrantfile](Vagrantfile) for configuration details.\n\n### Apache setup\n\nTo setup apache, setup a virtual host to point to the public/ directory of the\nproject and you should be ready to go! It should look something like below:\n\n    \u003cVirtualHost *:80\u003e\n        ServerName zf2-app.localhost\n        DocumentRoot /path/to/zf2-app/public\n        \u003cDirectory /path/to/zf2-app/public\u003e\n            DirectoryIndex index.php\n            AllowOverride All\n            Order allow,deny\n            Allow from all\n            \u003cIfModule mod_authz_core.c\u003e\n            Require all granted\n            \u003c/IfModule\u003e\n        \u003c/Directory\u003e\n    \u003c/VirtualHost\u003e\n\n### Nginx setup\n\nTo setup nginx, open your `/path/to/nginx/nginx.conf` and add an\n[include directive](http://nginx.org/en/docs/ngx_core_module.html#include) below\ninto `http` block if it does not already exist:\n\n    http {\n        # ...\n        include sites-enabled/*.conf;\n    }\n\n\nCreate a virtual host configuration file for your project under `/path/to/nginx/sites-enabled/zf2-app.localhost.conf`\nit should look something like below:\n\n    server {\n        listen       80;\n        server_name  zf2-app.localhost;\n        root         /path/to/zf2-app/public;\n\n        location / {\n            index index.php;\n            try_files $uri $uri/ @php;\n        }\n\n        location @php {\n            # Pass the PHP requests to FastCGI server (php-fpm) on 127.0.0.1:9000\n            fastcgi_pass   127.0.0.1:9000;\n            fastcgi_param  SCRIPT_FILENAME /path/to/zf2-app/public/index.php;\n            include fastcgi_params;\n        }\n    }\n\nRestart the nginx, now you should be ready to go!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeedu%2Fzf2-zenddb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeedu%2Fzf2-zenddb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeedu%2Fzf2-zenddb/lists"}