{"id":22445651,"url":"https://github.com/netgen-layouts/layouts-core","last_synced_at":"2025-04-05T08:07:56.351Z","repository":{"id":32882807,"uuid":"145000181","full_name":"netgen-layouts/layouts-core","owner":"netgen-layouts","description":"Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.","archived":false,"fork":false,"pushed_at":"2025-02-10T15:23:51.000Z","size":17587,"stargazers_count":35,"open_issues_count":2,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-29T07:08:31.625Z","etag":null,"topics":["layouts","php","symfony"],"latest_commit_sha":null,"homepage":"https://netgen.io/layouts","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/netgen-layouts.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-16T14:35:23.000Z","updated_at":"2025-02-10T14:51:29.000Z","dependencies_parsed_at":"2023-11-10T15:26:52.476Z","dependency_job_id":"1b0cbc7d-e87d-41b7-97a9-e00e9ad7b606","html_url":"https://github.com/netgen-layouts/layouts-core","commit_stats":{"total_commits":5195,"total_committers":11,"mean_commits":"472.27272727272725","dds":0.09239653512993262,"last_synced_commit":"ba8b80367629d738edc919080529d88db0f64d6b"},"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgen-layouts%2Flayouts-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgen-layouts%2Flayouts-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgen-layouts%2Flayouts-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgen-layouts%2Flayouts-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netgen-layouts","download_url":"https://codeload.github.com/netgen-layouts/layouts-core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305934,"owners_count":20917208,"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":["layouts","php","symfony"],"created_at":"2024-12-06T03:16:08.177Z","updated_at":"2025-04-05T08:07:56.332Z","avatar_url":"https://github.com/netgen-layouts.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Netgen Layouts\n\nThis repository is the core/kernel of Netgen Layouts. It is not to be installed\nas a standalone package. Instead, read the [installation instructions](https://docs.netgen.io/projects/layouts/en/latest/getting_started/install_existing_project.html)\non how to install the complete Netgen Layouts to your Symfony based app.\n\n## For developers\n\nIf you intend to develop Netgen Layouts, fix a bug, send a pull request and so\non, please read the following sections on how to run various test suites.\n\nRunning tests requires that you have complete vendors installed, so run\n`composer install` before running the tests.\n\n### Unit tests\n\nRun the unit tests by calling `composer test` from the repo root:\n\n```\n$ composer test\n```\n\nThis will use an in memory SQLite database.\n\nYou can also run unit tests on a real database. Create an empty MySQL database\nand run the tests with:\n\n```\n$ DATABASE=mysql://root@localhost/nglayouts composer test\n```\n\nwhere `mysql://root@localhost/nglayouts` is a DSN to your MySQL database.\n\nYou can also use PostgreSQL:\n\n```\n$ DATABASE=pgsql://user:pass@localhost/nglayouts composer test\n```\n\n### Layout editing app REST API tests\n\nRun the REST API tests for layout editing app by calling `composer test-api`\nfrom the repo root:\n\n```\n$ composer test-api\n```\n\nJust as with unit tests, this will use a temporary SQLite database.\n\nYou can also use the `DATABASE` environment variable to run the tests\nwith a MySQL or PostgreSQL database:\n\n```\n$ DATABASE=mysql://root@localhost/nglayouts composer test-api\n```\n\n### Behat tests\n\nSome parts of the administration interface are covered with Behat tests. These\ntests use Chrome WebDriver to run. Before running tests, you need to install\nthe Chrome WebDriver and run it, together with the Symfony CLI used for testing.\nThere is a convenient shell script `tests/prepare_behat.sh`, which will download\nthe latest Chrome WebDriver and Symfony CLI and start the test web server.\n\nTo run the tests, just execute the following:\n\n```\n$ composer behat\n```\n\nThis will run the tests with the Chrome UI visible.\n\nTo run the tests without the Chrome UI and save some seconds, you can use:\n\n```\n$ chrome behat-headless\n```\n\n### Static analysis\n\nAll code is statically analysed with PHPStan and Psalm. Make sure that both tools\ngive the OK for the entire codebase after your changes. Run the following commands to\nrun PHPStan and Psalm for the library/bundle code and for tests code, respectively:\n\n```\n$ composer phpstan\n```\n\n```\n$ composer phpstan-tests\n```\n\n```\n$ composer psalm\n```\n\n### Coding standards\n\nThis repo uses PHP CS Fixer and rules defined in `.php-cs-fixer.php` file to enforce coding\nstandards. Please check the code for any CS violations before submitting patches:\n\n```\n$ php-cs-fixer fix\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetgen-layouts%2Flayouts-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetgen-layouts%2Flayouts-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetgen-layouts%2Flayouts-core/lists"}