{"id":37232989,"url":"https://github.com/modulusphp/modulusphp","last_synced_at":"2026-01-15T03:51:50.432Z","repository":{"id":57018901,"uuid":"124400024","full_name":"modulusphp/modulusphp","owner":"modulusphp","description":"A cool API framework for PHP.","archived":true,"fork":false,"pushed_at":"2019-11-07T23:35:23.000Z","size":1355,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"2.0","last_synced_at":"2026-01-14T13:57:12.399Z","etag":null,"topics":["cmodulus","modulus","mvc","php","react","vue"],"latest_commit_sha":null,"homepage":"https://www.modulusphp.com","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/modulusphp.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}},"created_at":"2018-03-08T14:04:36.000Z","updated_at":"2026-01-05T11:21:35.000Z","dependencies_parsed_at":"2022-08-22T20:31:03.642Z","dependency_job_id":null,"html_url":"https://github.com/modulusphp/modulusphp","commit_stats":null,"previous_names":[],"tags_count":29,"template":true,"template_full_name":null,"purl":"pkg:github/modulusphp/modulusphp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modulusphp%2Fmodulusphp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modulusphp%2Fmodulusphp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modulusphp%2Fmodulusphp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modulusphp%2Fmodulusphp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/modulusphp","download_url":"https://codeload.github.com/modulusphp/modulusphp/tar.gz/refs/heads/2.0","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modulusphp%2Fmodulusphp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28442357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"online","status_checked_at":"2026-01-15T02:00:08.019Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cmodulus","modulus","mvc","php","react","vue"],"created_at":"2026-01-15T03:51:49.815Z","updated_at":"2026-01-15T03:51:50.425Z","avatar_url":"https://github.com/modulusphp.png","language":"PHP","readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/modulusphp/icons/master/assets/banner-template.png\" width=\"450px\"/\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://packagist.org/packages/modulusphp/framework\"\u003e\u003cimg src=\"https://poser.pugx.org/modulusphp/framework/d/total.svg\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/modulusphp/framework\"\u003e\u003cimg src=\"https://poser.pugx.org/modulusphp/framework/v/stable.svg\" alt=\"Latest Stable Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/modulusphp/framework\"\u003e\u003cimg src=\"https://poser.pugx.org/modulusphp/framework/license.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Getting Starterd\n\n### Create a new Modulus application\n\nTo create a new Modulus application, we need to run the following command.\n\n```\ncomposer create-project modulusphp/modulusphp application-name\n```\n\n\u003e `\u003capp-name\u003e` is the name of your application. e.g. `blog`\n\n*I assume, you already have composer installed, if not. Check out this link https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-ubuntu-16-04*\n\n## Setting up the environment\n\nRename `.env.example` to `.env`\n\n```\n# Application\nAPP_NAME=Modulus\nAPP_ENV=local\nAPP_DEBUG=true\nAPP_URL=http://localhost\n\n# Bugsnag\nBUGSNAG_API_KEY=\n\n# Database\nDB_CONNECTION=mysql\nDB_HOST=127.0.0.1\nDB_PORT=3306\nDB_DATABASE=modulus\nDB_USERNAME=root\nDB_PASSWORD=secret\n\n# Mail\nMAIL_USERNAME=example@domain.com\nMAIL_PASSWORD=secret\nMAIL_FROM_NAME=foo\nMAIL_HOST=smtp.domain.com\nMAIL_PORT=465 # or 587\nMAIL_SMTP_SECURE=ssl # or tls\n\n# Queues\nQUEUE_CONNECTION='queue'\nQUEUE_DUMP=\"framework/data/.queues\"\n```\n\n## Getting the application ready\n\n### Node.js NPM (optional)\n\nMake sure you have nodejs and npm installed then install the dependencies using `npm install`.\n\nBut before running the `npm install` command, you might want to change the current frontend framework. The default frontend framework is `react`. You can easily change it by running `php craftsman frontend:switch`.\n\n*If you don't have node.js, follow this tutorial: https://www.taniarascia.com/how-to-install-and-use-node-js-and-npm-mac-and-windows/*\n\n### Migrations (optional)\n\nThis part is optional (but recommended). The following command will create a couple of tables to get your application ready. (You will be able to edit these tables at a later stage if you want to make any changes).\n\n```\nphp craftsman migrate all\n```\n\n*This will create a users, password_resets, verified_users, magic_links and migrations table*\n\n\u003e Make sure, you have set the **\"DB_DATABASE\"**, **\"DB_USERNAME\"** and the **\"DB_PASSWORD\"** in the .env before running the `migrate all` command.\n\n### Seeders (optional)\n\nCraftsman makes it easy to add testing (fake) data into your application database. You can do this by creating a new seed. You can run `php craftsman craft:seeder \u003cname\u003e --table=\"\u003ctable_name\u003e\"` to create a new seed.\n\ne.g\n`php craftsman craft:seeder users --table=\"users\"`\n\nAnd you can run this seed, using the following command `php craftsman seed users --count=10`\n\nThe `--count=\u003cint\u003e` represents the number of rows, the seed will add.\n\n*Please note, your application already has the \"users\" seed.*\n\n\u003e Make sure, you have set the **\"DB_DATABASE\"**, **\"DB_USERNAME\"** and the **\"DB_PASSWORD\"** in the .env before running the seeder.\n\n## Running the application\n\nRun the following command to boot up your Application.\n\n```\nphp craftsman serve\n```\n\nIf port `8000` is already in use, just set your own port. e.g\n\n```\nphp craftsman serve --port=8001\n```\n\n*You can now visit your Application on `http://localhost:\u003cport\u003e`*\n\nThat's all!\n\n\u003e Author: Donald Pakkies\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodulusphp%2Fmodulusphp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodulusphp%2Fmodulusphp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodulusphp%2Fmodulusphp/lists"}