{"id":17189452,"url":"https://github.com/nadar/ifw","last_synced_at":"2025-07-12T17:36:44.173Z","repository":{"id":27561214,"uuid":"31043205","full_name":"nadar/ifw","owner":"nadar","description":"Project for testing purposes","archived":false,"fork":false,"pushed_at":"2015-08-10T16:53:18.000Z","size":348,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-16T01:11:40.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"brakmic/Julia-Cheat-Sheet","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nadar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-19T23:49:31.000Z","updated_at":"2015-12-27T13:46:12.000Z","dependencies_parsed_at":"2022-09-02T11:11:12.901Z","dependency_job_id":null,"html_url":"https://github.com/nadar/ifw","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/nadar%2Fifw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nadar%2Fifw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nadar%2Fifw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nadar%2Fifw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nadar","download_url":"https://codeload.github.com/nadar/ifw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227795408,"owners_count":17821007,"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-10-15T01:11:40.726Z","updated_at":"2024-12-02T20:08:39.520Z","avatar_url":"https://github.com/nadar.png","language":"PHP","readme":"IFW\n====\nProject for testing purposes, strongly inspired by the Yii2 framework!\n\nFeatures\n--------\n\nThose features are already integrated:\n\n- ActiveRecord (basic integration)\n- Url Routing (parse rules, url creation)\n- Behaviors\n- Session Component\n- Request Component\n- Response Component\n- Database Component\n- Action Classes\n- Terminal Commands (clis)\n- Assets (only basics js and css files, copy images to cache asset folder)\n\nTodo\n----\n\n- AR delete\n- AR events (atache behavior to test addError() method)\n- Database Migrations\n- Basic Rest implementation\n- User Auth implementation ($app-\u003euser)\n- Admin Controllers (how to access?)\n- Rest Controllers (how to access?)\n- Move DI container to ifw static (re-use object on request ... user components?)\n\nINSTALLATION\n============\n\nProject directory structur:\n```\n├── modules\n│   └── \u003cmodule_name\u003e\n│       ├── actions\n│       ├── controllers\n│       └── models\n├── public_html\n├── vendor\n└── views\n    ├── layouts\n    └── \u003cmodule_name\u003e\n        └── \u003caction_name\u003e\n```\n\nadd composer.json file inside the root folder of your project with the content:\n````json\n{\n    \"require\" : {\n        \"nadar/ifw\" : \"*\"\n    }\n}\n```\n\nrun the composer installation\n```\ncomposer install --prefer-dist\n```\n\ncreate index.php file inside the public_html folder with following example content:\n```php\nrequire_once '../vendor/autoload.php';\n\n$config = new \\ifw\\Config(dirname(__DIR__), 'test');\n$config-\u003emodule('test', '\\\\app\\\\modules\\\\test\\\\Module');\n$config-\u003ecomponent('db', ['dsn' =\u003e 'mysql:host=localhost;dbname=DATABASE', 'user' =\u003e 'USERNAME', 'password' =\u003e 'PASSWORD']);\n\nifw::init($config-\u003eget());\n\necho ifw::$app-\u003erun();\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnadar%2Fifw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnadar%2Fifw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnadar%2Fifw/lists"}