{"id":15187778,"url":"https://github.com/awebdesign/opencore","last_synced_at":"2025-10-27T08:31:23.915Z","repository":{"id":117322397,"uuid":"229083839","full_name":"awebdesign/opencore","owner":"awebdesign","description":"OpenCore - Laravel for OpenCart","archived":false,"fork":false,"pushed_at":"2022-04-29T07:36:26.000Z","size":971,"stargazers_count":44,"open_issues_count":4,"forks_count":18,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-02-01T04:31:35.538Z","etag":null,"topics":["laravel","laravel-application","laravel-framework","laravel5","opencart","opencart-2x","opencart-3x","opencart-development","opencart-extension","opencart-framework","opencart-module","opencart-plugin","opencore"],"latest_commit_sha":null,"homepage":"https://github.com/awebdesign/nexus","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/awebdesign.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":"support/Entities/.gitkeep","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-19T15:28:58.000Z","updated_at":"2024-11-26T11:30:34.000Z","dependencies_parsed_at":"2023-03-22T18:08:54.965Z","dependency_job_id":null,"html_url":"https://github.com/awebdesign/opencore","commit_stats":{"total_commits":180,"total_committers":5,"mean_commits":36.0,"dds":0.1611111111111111,"last_synced_commit":"812c8a3ea47ad9d2946c5d7f8cb7e41affc5ca05"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awebdesign%2Fopencore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awebdesign%2Fopencore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awebdesign%2Fopencore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awebdesign%2Fopencore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awebdesign","download_url":"https://codeload.github.com/awebdesign/opencore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238463793,"owners_count":19476774,"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":["laravel","laravel-application","laravel-framework","laravel5","opencart","opencart-2x","opencart-3x","opencart-development","opencart-extension","opencart-framework","opencart-module","opencart-plugin","opencore"],"created_at":"2024-09-27T19:00:26.760Z","updated_at":"2025-10-27T08:31:22.053Z","avatar_url":"https://github.com/awebdesign.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eThis project is abandoned!\u003c/h1\u003e\n\n**We suggest you to use Nexus for OpenCart.**\n\nNexus can be found here \u003ca target=\"_blank\" href=\"https://github.com/awebdesign/nexus\"\u003eGitHub Nexus\u003c/a\u003e and is a module like package which can be added in OpenCart and will let you call methods in the same manner as Laravel.\nFor the moment it doesn't have the same complexity of OpenCore but with a little help from you I'm sure it will be much better than it.\nThe best thing is that the footprint is much smaller and the speed is much faster!\n\n\n\n\u003ch1 align=\"center\"\u003eOpenCore\u003c/h1\u003e\n\n**An application built on Laravel which can run as a subsystem for OpenCart system.**\n\nOpenCore is an application made on Laravel for OpenCart which let's you develop new features or overwrite the existing ones in Laravel instead of the old OpenCart framework. The application comes with built-in features which help the developers to create new modules or new functionalities for OpenCart ecommerce platform. Also, stand-alone features (independent of OpenCart) can be easily added.\n\n## OpenCore - Laravel for OpenCart\nOfficial website [OpenCore](https://opencore.me).\nproject made with the help of \u003ca target=\"_blank\" href=\"https://www.awebdesign.ro/en/\"\u003eAweb Design\u003c/a\u003e\n\n\n## WORK IN PROGRESS\n\nPlease note that this package is still under active development. We encourage everyone to try it, give feedback and if possible, contribute.\n\n## Features\n\n* All Laravel's 5.8 built-in helpers / features\n* Error logs by \u003ca target=\"_blank\" href=\"https://github.com/ARCANEDEV/LogViewer\"\u003eARCANEDEV\u003c/a\u003e\n* Cronjob system management by \u003ca target=\"_blank\" href=\"https://github.com/codestudiohq/laravel-totem\"\u003eCodestudiohq\u003c/a\u003e\n* WYSIWYG Email HTML/Markdown editor\n* Auto update feature\n* Module management by \u003ca target=\"_blank\" href=\"https://github.com/nWidart/laravel-modules\"\u003enWidart Modules\u003c/a\u003e\n* many more to come...\n\n## System Requirements\n\n* PHP \u003e= 7.1.3\n* BCMath PHP Extension\n* Ctype PHP Extension\n* JSON PHP Extension\n* Mbstring PHP Extension\n* OpenSSL PHP Extension\n* PDO PHP Extension\n* Tokenizer PHP Extension\n* XML PHP Extension\n\ncheck Laravel requirements because they may differ depending on the used version\n\n## Other Requirements\n* OpenCart 2.x / 3.x installed\n* root .htaccess.txt renamed to .htaccess\n* change admin settings from admin / setting / server / Use SEO URLs: Yes\n\n## Installation\n\n1. Install Git and Composer on your system\n2. go to your OpenCart root folder, open a console and run the following commands step by step\n3. `git clone https://github.com/opencorero/opencore.git core`\n4. `cd core/`\n5. `composer update`\n6. `php artisan key:generate`\n7. `php artisan migrate`\n8. `php artisan opencore:register-routes`\n9. copy OpenCart extension files from core/opencart-module/(2.x|3.x)/upload to you OpenCart root folder\n10. go to OpenCart admin panel / extensions / extensions / modules, find OpenCore module and install it\n11. click on the OpenCore icon from admin / left column / section \"System Requirements\" and make sure there's nothing marked with red\n12. Optional: in order to enable Developer \u0026 Example modules you need to access admin / user / user groups section and add permission for them\n\nEnjoy!\n\n## Update\n\n1. `cd core/`\n2. `git update`\n3. `composer update`\n4. `php artisan migrate`\n5. `php artisan opencore:register-routes`\n6. copy OpenCart extension files from core/opencart-module/(2.x|3.x)/upload to you OpenCart root folder\n7. Optional: go to OpenCart / extensions / modules, disable and then re-enable the OpenCore module\n\n## How does it works ?\n\nLet's take this file from OpenCart system: `/admin/controller/common/header.php`\nAs you probably know, this file is commonly used for inserting the header part in all admin sections (there's one for catalog as well in `catalog/controller/common/header.php`) and it is called in other controllers this way:\n\n```php\n$data['header'] = $this-\u003eload-\u003econtroller('common/header');\n```\n\nand if it does not have another slash after header then the default index() method will be loaded from header controller.\nSo, if you would like to rewrite this section using Laravel, you can create a custom Controller and a GET route 'common/header' which will point to the newly created controller and that's it! You are now able to write whatever custom code you want for the header file.\n\nExample:\n\n```php\n$router-\u003eget('common/header', 'ExampleController@commonColumnLeftReplace')-\u003ename('common.header');\n```\n\nIf you want to create a new functionality, the process is the same but instead of using an existing route you will need to create a unique one.\n\nExample:\n\n```php\n$router-\u003eget('example', 'ExampleController@index')-\u003ename('example');\n```\n\nSo, everytime you call `/admin/example` this controller will reply with the content.\n\nJust remember that routes are split in two:\n`admin.php` and `catalog.php` routes files which can be found in `/core/app/routes/` or in any module _e.g._: `/core/modules/Example/routes/`\n\n## Is it fast?!\nYes, it is! As long as your server has the minimum requirements for Laravel 5.8 to work, everything should be good. The module is very fast and has no delay of any kind. The integration of Laravel Framework through OpenCart doesn't affect at all the speed of any of them. That is happenning thanks to the multiple optimizations done in the code and to the MySQL shared connector which will help sharing the database active connection between OpenCart and Laravel/OpenCore.\n\n## Documentation\n\nDocumentation for OpenCore can be found on the [Official website](https://opencore.me).\n* right now it is under development but everything will be there soon\n\n## Security\n\nIf you discover any security related issues, please email author at [support@opencore.ro](mailto:support@opencore.ro) instead of using the issue tracker.\n\n## License\n\nMIT license. Please see the [license file](LICENSE) for more information.\n\n\n## TODO\n\n* create a console command for faster instalation / update\n* force paginator-\u003eappends to automatically add token/user_token param for admin requests only\n* when enabling a module the permission must be added automatically for the user who made the action\n* Example \u0026 Developer modules should be disabled by default\n* display jobs \u0026 failed_jobs lists in developer module\n* admin user permission checked on modify | POST / PUT / DELETE\n* move occore user permission changes inside OpenCore project in a separate method\n* remove getRegistry from Startup controller and let Framework handle it\n* add ocmode(on refresh) multi line changes\n* change header files comments\n* add flash messages: https://github.com/laracasts/flash\n* add menu builder: https://github.com/spatie/laravel-menu | https://github.com/harimayco/wmenu-builder | https://github.com/msurguy/laravel-shop-menu\n* add activiy logs: https://github.com/spatie/laravel-activitylog\n* add javascript validation: https://github.com/proengsoft/laravel-jsvalidation\n* add persistent settings: https://github.com/edvinaskrucas/settings\n* fix rotues shown on php artisan route:list\n* add mail eclipse https://github.com/Qoraiche/laravel-mail-editor (maybe)\n* add a MarketPlace for all OpenCore modules! IMPORTANT!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawebdesign%2Fopencore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawebdesign%2Fopencore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawebdesign%2Fopencore/lists"}