{"id":30371302,"url":"https://github.com/n0nag0n/wordpress-integration-for-flight-framework","last_synced_at":"2025-08-20T05:24:18.188Z","repository":{"id":283418687,"uuid":"951700634","full_name":"n0nag0n/wordpress-integration-for-flight-framework","owner":"n0nag0n","description":"A WordPress Plugin for integration Flight Framework into your Wordpress Install","archived":false,"fork":false,"pushed_at":"2025-07-16T03:44:19.000Z","size":141,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-17T06:25:52.350Z","etag":null,"topics":["flightphp","framework","php","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/n0nag0n.png","metadata":{"files":{"readme":"readme.txt","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-20T05:24:55.000Z","updated_at":"2025-07-16T03:44:21.000Z","dependencies_parsed_at":"2025-07-17T11:18:48.225Z","dependency_job_id":"004a661c-64ad-44fa-bd1e-25f7b6c93c72","html_url":"https://github.com/n0nag0n/wordpress-integration-for-flight-framework","commit_stats":null,"previous_names":["n0nag0n/flight-framework-integration","n0nag0n/wordpress-integration-for-flight-framework"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/n0nag0n/wordpress-integration-for-flight-framework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0nag0n%2Fwordpress-integration-for-flight-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0nag0n%2Fwordpress-integration-for-flight-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0nag0n%2Fwordpress-integration-for-flight-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0nag0n%2Fwordpress-integration-for-flight-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n0nag0n","download_url":"https://codeload.github.com/n0nag0n/wordpress-integration-for-flight-framework/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0nag0n%2Fwordpress-integration-for-flight-framework/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271268859,"owners_count":24730026,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"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":["flightphp","framework","php","wordpress","wordpress-plugin"],"created_at":"2025-08-20T05:24:17.611Z","updated_at":"2025-08-20T05:24:18.179Z","avatar_url":"https://github.com/n0nag0n.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"=== n0nag0n Integration for Flight Framework ===\nContributors: n0nag0n\nTags: framework, flight, rest, api, mvc\nRequires at least: 5.0\nTested up to: 6.8\nStable tag: 1.0.0\nRequires PHP: 7.4\nLicense: GPL v2 or later\nLicense URI: https://www.gnu.org/licenses/gpl-2.0.html\n\n\nSeamlessly integrate the Flight PHP micro-framework with WordPress for building APIs and custom applications.\n\n== Description ==\n\nn0nag0n Integration for Flight Framework enables you to use the lightweight Flight PHP micro-framework within your WordPress site. This plugin bridges the gap between WordPress's content management capabilities and Flight's simple yet powerful routing system for building custom applications and APIs.\n\n= Features =\n\n* **Seamless Integration**: Route requests to either Flight or WordPress based on URL patterns\n* **MVC Architecture**: Organize your code with controllers, models, and views\n* **Folder Structure Creator**: Easily set up the recommended Flight application structure\n* **Database Options**: Use WordPress's database connection or configure your own\n* **Configuration Control**: Fine-tune how Flight interacts with WordPress\n* **Easy Setup**: Simple admin interface to configure all aspects of the integration\n\nThis plugin is perfect for developers who want to build custom applications or APIs within their WordPress site while maintaining a clean, organized codebase.\n\n== Installation ==\n\n1. Upload the `flight-integration` folder to the `/wp-content/plugins/` directory\n2. Activate the plugin through the 'Plugins' menu in WordPress\n3. Go to Settings \u003e Flight Framework to configure the plugin\n4. Set the vendor path to your Flight installation or use Composer to install Flight\n5. Configure your app folder path and create the folder structure\n6. Start building your Flight application!\n\n== Frequently Asked Questions ==\n\n= What is Flight PHP framework? =\n\nFlight is a fast, simple, extensible PHP micro-framework. It's designed to be easy to learn and use while still providing the features needed for modern web applications. Learn more at [docs.flightphp.com](https://docs.flightphp.com/en/v3/awesome-plugins/n0nag0n-wordpress).\n\n= Do I need to know Flight to use this plugin? =\n\nYes, this plugin is intended for developers who want to use Flight within WordPress. Basic knowledge of Flight's routing and request handling is recommended.\n\n= Will this plugin slow down my WordPress site? =\n\nNo, the plugin only processes requests that match your Flight routes. All other requests pass through to WordPress as usual with minimal overhead.\n\n= Can I use WordPress functions in my Flight application? =\n\nYes! You have full access to all WordPress functions, hooks, and the global variables from within your Flight routes and controllers.\n\n= How do I create custom routes? =\n\nDefine your routes in the `config/routes.php` file in your app folder. See the sample file created by the folder structure generator for examples.\n\n== Screenshots ==\n\n1. n0nag0n Flight Framework settings page\n2. Created folder structure\n\n== Usage Examples ==\n\n= Basic Route Example =\n\nIn your app/config/routes.php file:\n\n```php\nFlight::route('GET /api/hello', function() {\n    Flight::json(['message' =\u003e 'Hello World!']);\n});\n```\n\n= Controller Example =\n\n```php\n// app/controllers/ApiController.php\nnamespace app\\controllers;\n\nuse Flight;\n\nclass ApiController {\n    public function getUsers() {\n        // Using WordPress functions inside Flight\n        $users = get_users();\n        $result = [];\n        \n        foreach($users as $user) {\n            $result[] = [\n                'id' =\u003e $user-\u003eID,\n                'name' =\u003e $user-\u003edisplay_name,\n                'email' =\u003e $user-\u003euser_email\n            ];\n        }\n        \n        Flight::json($result);\n    }\n}\n\n// In your routes.php:\nFlight::route('GET /api/users', [app\\controllers\\ApiController::class, 'getUsers']);\n```\n\n== Changelog ==\n\n= 1.0.0 =\n* Initial release\n\n== Upgrade Notice ==\n\n= 1.0.0 =\nInitial release of the n0nag0n Integration for Flight Framework plugin for WordPress.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn0nag0n%2Fwordpress-integration-for-flight-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn0nag0n%2Fwordpress-integration-for-flight-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn0nag0n%2Fwordpress-integration-for-flight-framework/lists"}