{"id":20275529,"url":"https://github.com/workofstan/seablast-dist","last_synced_at":"2026-02-22T20:16:51.399Z","repository":{"id":209752412,"uuid":"661943169","full_name":"WorkOfStan/seablast-dist","owner":"WorkOfStan","description":"Distribution of Seablast for PHP - a seed application","archived":false,"fork":false,"pushed_at":"2025-03-01T20:44:24.000Z","size":20,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T21:27:15.619Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WorkOfStan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-04T03:01:19.000Z","updated_at":"2024-12-05T20:34:01.000Z","dependencies_parsed_at":"2024-04-30T07:41:47.140Z","dependency_job_id":"9a1c5d82-6697-41bd-bc27-bc89c42357c5","html_url":"https://github.com/WorkOfStan/seablast-dist","commit_stats":null,"previous_names":["workofstan/seablast-dist"],"tags_count":3,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WorkOfStan%2Fseablast-dist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WorkOfStan%2Fseablast-dist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WorkOfStan%2Fseablast-dist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WorkOfStan%2Fseablast-dist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WorkOfStan","download_url":"https://codeload.github.com/WorkOfStan/seablast-dist/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241767269,"owners_count":20016909,"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-14T13:09:44.413Z","updated_at":"2026-02-22T20:16:51.390Z","avatar_url":"https://github.com/WorkOfStan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# seablast-dist\n\nDistribution of a seed application for `Seablast for PHP`\n\n## Deployment\n\nCreate database with `Collation=utf8_general_ci` or rather `utf8mb3_general_ci` (create also separate testing database so that phinxlog migration_name doesn't overlap)\n\nBefore starting to develop on this boilerplate, rename the namespace according to your app.\n\nRun [./blast.sh](./blast.sh) or [./vendor/seablast/seablast/blast.sh](https://github.com/WorkOfStan/seablast/blob/v0.2.10.1/blast.sh) to\n\n- create `conf/phinx.local.php` based on [conf/phinx.dist.php](conf/phinx.dist.php) including the name of the database (and testing database) created above\n- create `conf/app.conf.local.php` based on [conf/app.conf.dist.php](conf/app.conf.dist.php) including the phinx environment to be used and change any settings you like. (OPTIONAL)\n\nEdit these two configuration files; then re-run blast.sh\n\nNote: the current configuration is in the `conf/phinx.local.php` so that it is automatically NOT commited to Git\n\nIf PHPStan reports `Constant APP_DIR not found.` error, just uncomment lines in [conf/phpstan.webmozart-assert.neon](conf/phpstan.webmozart-assert.neon).\n\n```sh\n# For all the deployment and development options, run\n./vendor/seablast/seablast/blast.sh -?\n```\n\n### Folders, where web can write\n\n- cache and log (and also e.g. app specific uploads)\n- rights: 2775\n- owner: server user, e.g. composerit\n- group: web user, e.g. www-data\n- run [permissions.sh](permissions.sh) to set up these permissions\n- upload_max_filesize in php.ini set to 8M\n\n### Security\n\n- enforcing HTTP to HTTPS MUST happen on the server-side, e.g. like this in `/etc/apache2/sites-enabled/www.plysonika.cz.conf`\n\n```htaccess\n\u003cVirtualHost *:80\u003e\n        RewriteEngine On\n        RewriteCond %{REQUEST_URI} !^/server-status.*\n        RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]\n```\n\n## Examples\n\n- try /redir to see how it is redirected to /kontakt\n- try /use-mirror to see how API call works\n- try /arithmetic to see a simple MVC + Latte + DB demo\n\n## App directory description\n\n| Directory | Description                                                                                       |\n| --------- | ------------------------------------------------------------------------------------------------- |\n| .github/  | Automations                                                                                       |\n| assets/   | Frontend assets. When dealing with numerous assets, categorize them into specific subdirectories. |\n| cache/    | Latte cache (deployed by [blast.sh](blast.sh))                                                    |\n| conf/     | All configuration files: Seablast app, PHPStan, phinx                                             |\n| log/      | All kind of logs                                                                                  |\n| src/      | Classes with respecitve subfolders src/Data, src/Exceptions, src/Models...                        |\n| views/    | Latte templates                                                                                   |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkofstan%2Fseablast-dist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkofstan%2Fseablast-dist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkofstan%2Fseablast-dist/lists"}