{"id":25808160,"url":"https://github.com/nullstone-io/laravel-quickstart","last_synced_at":"2025-09-14T19:54:30.834Z","repository":{"id":107481707,"uuid":"486678148","full_name":"nullstone-io/laravel-quickstart","owner":"nullstone-io","description":"PHP Laravel Quickstart for Nullstone","archived":false,"fork":false,"pushed_at":"2023-08-18T14:53:44.000Z","size":125,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-06T08:58:39.861Z","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/nullstone-io.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":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-28T16:55:22.000Z","updated_at":"2022-05-10T14:01:11.000Z","dependencies_parsed_at":"2025-02-27T21:59:36.489Z","dependency_job_id":"ad4050d4-66a1-4a69-8776-7fbb8c0a5f2b","html_url":"https://github.com/nullstone-io/laravel-quickstart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nullstone-io/laravel-quickstart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullstone-io%2Flaravel-quickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullstone-io%2Flaravel-quickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullstone-io%2Flaravel-quickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullstone-io%2Flaravel-quickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nullstone-io","download_url":"https://codeload.github.com/nullstone-io/laravel-quickstart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullstone-io%2Flaravel-quickstart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275160087,"owners_count":25415764,"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-09-14T02:00:10.474Z","response_time":75,"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":"2025-02-27T21:59:25.905Z","updated_at":"2025-09-14T19:54:30.821Z","avatar_url":"https://github.com/nullstone-io.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# laravel-quickstart\n\nThis is a PHP Laravel Quickstart for [Nullstone](https://nullstone.io).\n\nThis is based on the Laravel [install guide](https://laravel.com/docs/8.x/installation).\n\nThis quickstart uses the production-ready docker image [nullstone/laravel](https://hub.docker.com/r/nullstone/laravel) that works locally with hot-reload.\nThe base docker image can be found at [github.com/nullstone-io/docker-laravel](https://github.com/nullstone-io/docker-laravel).\n\nThis quickstart is set up with:\n\n- PHP 8.1\n- Laravel\n- Static Assets\n    - Configured to hot-reload assets for local development\n    - Served through NGINX for docker builds\n- Postgresql Database\n- Error logs\n    - Emitted to stdout for docker builds\n    - Pretty errors for local development\n- Hot reload for local development\n\n## How to launch via Nullstone\n\n1. Create postgresql datastore.\n2. Create a public web app. (Remember `app-name` for later)\n3. Add the postgresql datastore (from step 1) to the app.\n4. Add a subdomain. (this will add a Load Balancer capability)\n5. Add the `APP_KEY for Laravel` capability to the app. (This enables encryption of cookies)\n6. Add the `Nginx Sidecar for Fargate Service` capability to the app.\n7. Provision\n  ```shell\n  nullstone up --wait --block=\u003capp-name\u003e --env=\u003cenv-name\u003e\n  ```\n8. Build, push, and deploy\n  ```shell\n  docker build -t laravel-app .\n  nullstone launch --source=laravel-app --app=\u003capp-name\u003e --env=\u003cenv-name\u003e\n  ```\n\n## Running locally\n\nYou can run this project locally inside Docker or using a dev server.\nThe docker setup is configured to hot reload; you don't have to rebuild/restart the container when you change code.\n\n### Docker\n\n```shell\ndocker compose up\n```\n\nVisit [http://localhost:9000](http://localhost:9000).\n\n### Hot reload\n\nThe `app` in `docker-compose.yml` is configured to automatically reload changes to files.\nYou do not need to rebuild/restart the app when making changes to Laravel files.\n\nHowever, when updating dependencies, you will need to restart your docker container.\nThe dependencies will be installed on boot of the docker container.\n\n## Details about quickstart\n\n1. `composer create-project laravel/laravel .`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullstone-io%2Flaravel-quickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnullstone-io%2Flaravel-quickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullstone-io%2Flaravel-quickstart/lists"}