{"id":22278023,"url":"https://github.com/enflow/component-laravel","last_synced_at":"2025-07-28T18:30:33.559Z","repository":{"id":56977808,"uuid":"205215143","full_name":"enflow/component-laravel","owner":"enflow","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-28T12:55:27.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-21T15:22:41.599Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/enflow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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":"2019-08-29T17:22:15.000Z","updated_at":"2025-02-28T12:55:30.000Z","dependencies_parsed_at":"2023-12-10T13:31:08.135Z","dependency_job_id":"dde7e8b1-b440-4f08-bfad-3101372f80a6","html_url":"https://github.com/enflow/component-laravel","commit_stats":{"total_commits":87,"total_committers":3,"mean_commits":29.0,"dds":0.05747126436781613,"last_synced_commit":"099462dfea919bc79df506c2f5b7c3af78bcaf2a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/enflow/component-laravel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enflow%2Fcomponent-laravel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enflow%2Fcomponent-laravel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enflow%2Fcomponent-laravel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enflow%2Fcomponent-laravel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enflow","download_url":"https://codeload.github.com/enflow/component-laravel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enflow%2Fcomponent-laravel/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267563486,"owners_count":24108097,"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-07-28T02:00:09.689Z","response_time":68,"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":[],"created_at":"2024-12-03T15:12:37.997Z","updated_at":"2025-07-28T18:30:33.237Z","avatar_url":"https://github.com/enflow.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Enflow's defaults for Laravel\n\nThe `component-laravel` package provides a sane-default configuration for Enflow based applications. The LaravelServiceProvider registers some classes, middleware, and enables Skyline cluster support.\n\n## Installation\nYou can install the package via composer:\n\n``` bash\ncomposer require enflow/component-laravel\n```\n\n## Configuration\nThis package registers automatically trough Laravel's autoloading.\n \n## Exception handling\n To include this ExceptionHandler to enable prettier error handling, extend the `\\Enflow\\Component\\Laravel\\AbstractExceptionHandler` from `app/Exceptions/Handler.php` file like this:\n\n```\n\u003c?php\n\nnamespace App\\Exceptions;\n\nuse Enflow\\Component\\Laravel\\AbstractExceptionHandler;\n\nclass Handler extends AbstractExceptionHandler\n{\n    protected $dontReport = [];\n\n    protected $dontFlash = [\n        'password',\n        'password_confirmation',\n    ];\n}\n```\n\nTo enable Bugsnag:\n1. Add a new Laravel project to your Bugsnag account and enable Slack notitifications to #failure\n2. Add Bugsnag to your services.php file:\n```\n    'bugsnag' =\u003e [\n        'api_key' =\u003e env('BUGSNAG_API_KEY'),\n    ],\n```\n3. Add the BUGSNAG_API_KEY to your .env file\n\n## Commands\n\n### db:sync\n\ndb:sync enabled you to mysqldump a production database to your local machine and import it automatically. \n\n#### Performance\nTo improve import time of db:sync script (tested with a 2GB database) takes ~60 min, just to import.\n\n1. Ensure you are running MySQL 8.0 or higher on your Linux machine directly (legacy systems that connect from WSL to Windows based MySQL are much slower).\n2. Change configuration settings to improve buffer sizes to allow faster importing.\n\n`sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf`\n\nAdd the following after the `[mysqld]` block:\n\n```\ninnodb_buffer_pool_size=4G\ninnodb_log_buffer_size=256M\ninnodb_log_file_size=1G\ninnodb_write_io_threads=16\ninnodb_flush_log_at_trx_commit=0\nmax_allowed_packet=1024M\nread_buffer_size=2M\n```\n\nRestart MySQL to let these variables take effect: `sudo service mysql restart`\n\nEnsure the variables are applied by checking it directly via `mysql`:\n`SHOW VARIABLES LIKE \"innodb_buffer_pool_size\";`\n\n## Contributing\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## Security\nIf you discover any security related issues, please email michel@enflow.nl instead of using the issue tracker.\n\n## Credits\n- [Michel Bardelmeijer](https://github.com/mbardelmeijer)\n- [All Contributors](../../contributors)\n\n## About Enflow\nEnflow is a digital creative agency based in Alphen aan den Rijn, Netherlands. We specialize in developing web applications, mobile applications and websites. You can find more info [on our website](https://enflow.nl/en).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenflow%2Fcomponent-laravel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenflow%2Fcomponent-laravel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenflow%2Fcomponent-laravel/lists"}