{"id":16676050,"url":"https://github.com/ajenbo/agcms","last_synced_at":"2025-03-21T18:31:40.376Z","repository":{"id":37588048,"uuid":"92227033","full_name":"AJenbo/agcms","owner":"AJenbo","description":"A simple battle proven CMS with a Laravel like code base","archived":false,"fork":false,"pushed_at":"2024-05-18T15:30:14.000Z","size":19467,"stargazers_count":3,"open_issues_count":12,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T03:35:53.024Z","etag":null,"topics":["cms"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AJenbo.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":"2017-05-23T22:44:46.000Z","updated_at":"2024-05-18T15:30:17.000Z","dependencies_parsed_at":"2024-05-18T16:32:10.470Z","dependency_job_id":"a4285c26-db93-43ed-a32c-0d3f9d03bf44","html_url":"https://github.com/AJenbo/agcms","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AJenbo%2Fagcms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AJenbo%2Fagcms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AJenbo%2Fagcms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AJenbo%2Fagcms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AJenbo","download_url":"https://codeload.github.com/AJenbo/agcms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244848617,"owners_count":20520557,"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":["cms"],"created_at":"2024-10-12T13:08:54.927Z","updated_at":"2025-03-21T18:31:39.998Z","avatar_url":"https://github.com/AJenbo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AGcms\n\n[![Test](https://github.com/AJenbo/agcms/actions/workflows/test.yml/badge.svg)](https://github.com/AJenbo/agcms/actions/workflows/test.yml)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/5d172d5d3df840c4bf958fed492d54b5)](https://www.codacy.com/gh/AJenbo/agcms/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=AJenbo/agcms\u0026amp;utm_campaign=Badge_Grade)\n[![Maintainability](https://api.codeclimate.com/v1/badges/9fe78b598a206a6162d7/maintainability)](https://codeclimate.com/github/AJenbo/agcms/maintainability)\n[![codebeat badge](https://codebeat.co/badges/16e1065d-d41c-4082-a86c-22af842274f1)](https://codebeat.co/projects/github-com-ajenbo-agcms-master)\n[![codecov](https://codecov.io/gh/AJenbo/agcms/branch/master/graph/badge.svg?token=hFHGd8QVSo)](https://codecov.io/gh/AJenbo/agcms)\n\nAGcms is a simple CMS that I built around 2004, since it still has active users, I try to maintain the code base and use it to experiment with differnet tools. The maintenance mostly revolve around keeping the backend in decent shape, code wise.\n\n## Development setup\n\n### PHP\n\nThe PHP source is found in application/inc\nIt's structured to be similar to [Laravel](https://laravel.com/)\n\n### JavaScript\n\nThe JavaScript source is found in source/javascript\nIt's transpiled using webpack, meaning you can write ES6 and having it still work on older browsers that only support ES5\n\n### Prerequisites\n\n- [Composer](https://getcomposer.org/doc/00-intro.md)\n- [Docker Compose](https://docs.docker.com/get-docker/)\n- [NodeJS](https://nodejs.org/en/download/package-manager/)\n- [PHP](https://www.php.net/manual/en/install.php)\n\nIt's recommended to follow the install guides for each prerequisite linked above\n`build.sh` also depends on wget and unzip\n\n### Install dependencies\n\nExecuting `build.sh` will install the project dependencies, except for php development dependencies\n\n#### Install development dependencies\n\nRun the following three commands if you would like to install all dependencies\n\n```bash\n./build.sh\ncd application\ncomposer install\n```\n\n### Running the project\n\nThe project comes with a docker-compose.yml that will run an nginx server on port 80 and MySQL on 3306 by default\nTo start it simply run:\n\n```bash\ndocker compose up -d\n```\n\nIf you want to setup a server manually you need to point it to the application folder, you will find the needed sql files for the database in the source folder.\n\n### Running tests\n\nYou can run the PHP unit tests via the following command from the project root\n\n```bash\nphp application/vendor/bin/phpunit\n```\n\n## Preparing a release\n\nRun the `build.sh` script\nUpload the content of the application folder to your webserver\n\n## Security Vulnerabilities\n\nIf you discover a security vulnerability within AGcms, please create an issue on [github](https://github.com/AJenbo/agcms/issues)\nAll security vulnerabilities will be promptly addressed\n\n## License\n\nAGcms is open-sourced software licensed under the [GPL-2.0 license](https://opensource.org/licenses/GPL-2.0)\nAs such you are free to base your site on it\nIf you decide to do so I would love to hear about it :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajenbo%2Fagcms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajenbo%2Fagcms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajenbo%2Fagcms/lists"}