{"id":13840552,"url":"https://github.com/CleverCloud/laravel-postgresql-example","last_synced_at":"2025-07-11T09:32:13.224Z","repository":{"id":118441465,"uuid":"96991180","full_name":"CleverCloud/laravel-postgresql-example","owner":"CleverCloud","description":"Run Laravel with PostgreSQL on Clever Cloud ","archived":false,"fork":false,"pushed_at":"2020-03-17T09:54:59.000Z","size":963,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-08-04T17:08:48.800Z","etag":null,"topics":["clevercloud-example","laravel","postgresql"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/CleverCloud.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-07-12T09:41:49.000Z","updated_at":"2024-08-04T17:08:48.801Z","dependencies_parsed_at":"2024-01-31T03:57:02.132Z","dependency_job_id":null,"html_url":"https://github.com/CleverCloud/laravel-postgresql-example","commit_stats":null,"previous_names":["clevercloud/demo-laravel-pg"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Flaravel-postgresql-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Flaravel-postgresql-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Flaravel-postgresql-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Flaravel-postgresql-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CleverCloud","download_url":"https://codeload.github.com/CleverCloud/laravel-postgresql-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225712490,"owners_count":17512410,"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":["clevercloud-example","laravel","postgresql"],"created_at":"2024-08-04T17:00:50.297Z","updated_at":"2024-11-21T10:30:24.113Z","avatar_url":"https://github.com/CleverCloud.png","language":"JavaScript","funding_links":[],"categories":["Examples"],"sub_categories":["PHP"],"readme":"# Laravel as Clever Cloud demo\n\nThis sample project is a fork from [GitHub](https://github.com/evercode1/sample-project).\n\n## Configuration\n\nTo use a database (like PostgreSQL), you can link your application with an addon or manually set the following environment variables will be set.\n\n```bash\nPOSTGRESQL_ADDON_HOST\nPOSTGRESQL_ADDON_PORT\nPOSTGRESQL_ADDON_DB\nPOSTGRESQL_ADDON_USER\nPOSTGRESQL_ADDON_PASSWORD\n```\n\nTo update your database schema, add this environment variable to your Clever Cloud application:\n\n```bash\nCC_POST_BUILD_HOOK=php artisan migrate --force\n```\n\nTo enable logs retrieving on Clever console or Clever CLI, ensure that you have the following value in `./config/app.php`:\n\n```php\n'log' =\u003e env('APP_LOG'),\n```\n\nThen you can create a Clever application environment variable as following: `APP_LOG=syslog`.\n\nFinally, you have to manually set the `APP_KEY=base64:X` with `X` the result of `php artisan key:generate` on your local project.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCleverCloud%2Flaravel-postgresql-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCleverCloud%2Flaravel-postgresql-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCleverCloud%2Flaravel-postgresql-example/lists"}