{"id":21001510,"url":"https://github.com/divio/php-laravel6-boilerplate","last_synced_at":"2026-04-29T07:32:44.728Z","repository":{"id":42952972,"uuid":"211287846","full_name":"divio/php-laravel6-boilerplate","owner":"divio","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-02T07:45:11.000Z","size":110,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-01-01T02:38:15.509Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/divio.png","metadata":{"files":{"readme":"readme.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-09-27T09:48:26.000Z","updated_at":"2022-11-22T14:05:33.000Z","dependencies_parsed_at":"2025-01-20T09:42:29.153Z","dependency_job_id":"4398bf78-fe30-420c-8ccb-68f5b97fb3eb","html_url":"https://github.com/divio/php-laravel6-boilerplate","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/divio/php-laravel6-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Fphp-laravel6-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Fphp-laravel6-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Fphp-laravel6-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Fphp-laravel6-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divio","download_url":"https://codeload.github.com/divio/php-laravel6-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Fphp-laravel6-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32416145,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-11-19T08:15:35.819Z","updated_at":"2026-04-29T07:32:44.711Z","avatar_url":"https://github.com/divio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n.. raw:: html\n\n   \u003cp align=\"center\"\u003e\u003cimg src=\"https://laravel.com/assets/img/components/logo-laravel.svg\"\u003e\u003c/p\u003e\n\n\nLaravel for Divio Cloud\n-----------------------\n\nThis is a boilerplate template to integrate Laravel with Divio Cloud.\n\n\n* `Laravel for Divio Cloud \u003c#laravel-for-divio-cloud\u003e`_\n* `About Laravel \u003c#about-laravel\u003e`_\n* `Divio Cloud \u003c#divio-cloud\u003e`_\n* `Installation \u003c#installation\u003e`_\n\n  * `Development \u003c#development\u003e`_\n  * `Divio Cloud distinctions \u003c#divio-cloud-distinctions\u003e`_\n\nAbout Laravel\n-------------\n\nLaravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:\n\n* `Simple, fast routing engine \u003chttps://laravel.com/docs/routing\u003e`_.\n* `Powerful dependency injection container \u003chttps://laravel.com/docs/container\u003e`_.\n* Multiple back-ends for `session \u003chttps://laravel.com/docs/session\u003e`_ and `cache \u003chttps://laravel.com/docs/cache\u003e`_ storage.\n* Expressive, intuitive `database ORM \u003chttps://laravel.com/docs/eloquent\u003e`_.\n* Database agnostic `schema migrations \u003chttps://laravel.com/docs/migrations\u003e`_.\n* `Robust background job processing \u003chttps://laravel.com/docs/queues\u003e`_.\n* `Real-time event broadcasting \u003chttps://laravel.com/docs/broadcasting\u003e`_.\n\nLaravel is accessible, powerful, and provides tools required for large, robust applications.\n\nDivio Cloud\n-----------\n\nDivio Cloud is cloud native service to quickly and easily deploy web projects with a no-fuss easy-to-use platform. The service seamlessly integrates with Laravel due to Laravel`s flexible configuration and its wide support for databases and cloud services. However, the default configuration of Laravel has to be slightly extended to automatically get all the benefits from Divio Cloud like painless and zero-downtime deployments, auto-scaling, backups etc.\n\nBy using Divio Cloud you automatically get all the tools you are (or want to be ;)) used to out-of-the-box:\n\n\n* a Docker setup for production and development\n* a private git repository\n* complete Laravel setup with all dependencies\n* preinstalled and seamless AWS S3 integration\n* composer on steroids with `prestissimo \u003chttps://github.com/hirak/prestissimo\u003e`_\n* a production environment using nginx and php-fpm\n* the necessary frontend tools in the correct version\n\nInstallation\n------------\n\nAfter creating your project in the divio cloud interface, enter your applications dashboard and press ``DEPLOY`` to deploy the initial version on a test server. This will deploy a single server instance with your boilerplate ready to work in the cloud. Just click the link provided on the dashboard and the laravel default home will welcome you with a complete installation. You're new Laravel app is already deployed to the cloud, using your database and a cloud storage.\n\nDevelopment\n^^^^^^^^^^^\n\nFirst, you should install the ``divio-cli`` `command line application \u003chttp://docs.divio.com/en/latest/reference/divio-cli.html\u003e`_ or the `Divio GUI \u003chttp://docs.divio.com/en/latest/reference/divio-app.html\u003e`_ to get started. Please read the docs carefully and make sure the client is configured and ready to use before you continue as it will make sure all dependencies are present. The ``divio-cli`` makes use of docker to provide a local development environment. In the background ``docker-compose`` is used to provide all the services needed for development in an environment as similar as possible to the cloud running you production application. After making sure ``divio-cli`` is working fine, please tun the installation commands as follows and replace ``SLUG`` with the name you chose for your application:\n\n.. code-block::\n\n   $ divio project setup SLUG\n\nThis will clone the boilerplate to your local computer, download the database and setup your environment. To complete the php installation please enter the newly create directory (\\ ``cd SLUG``\\ ) named after your application, created by the ``git clone`` during the setup to enter the application root containing your laravel application sources and run\n\n.. code-block::\n\n   $ docker-compose run web php /app/divio/setup.php\n\nThis will make sure all directories needed are created, permissions are set correctly for development, run ``composer install`` to install all your requirements and migrate your database if necessary. *If you did NOT deploy to test prior to running the setup, your setup will complete but show an error message that the migrations have failed. This happens because your dependencies are missing during the setup and which is automatically fixed by running the ``setup.php`` script from above.*\n\nYou can now launch your development server by using\n\n.. code-block::\n\n   $ divio project up\n\nwhich will open your browser with the welcome screen already opened.\n\nIf you need to use ``artisan`` or ``composer`` commands you can now either enter your docker container containing your web application or run a command directly like we did with ``setup.php``.\n\n.. code-block::\n\n   # To enter the running container and get a bash session\n   $ docker-compose exec web bash\n\n   # To directly run commands in your application\n   $ docker-compose run web php artisan migrate\n\nDivio Cloud distinctions\n^^^^^^^^^^^^^^^^^^^^^^^^\n\nThere are are few minor differences from a default Laravel setup that you should be aware of when starting to develop your application.\n\nThe container running your application already contains everything you need for development, there is no need to install additional software. The provided source code is a plain Laravel installation, equal to what you would get by installing Laravel directly via ``composer``. We just added a few scripts that ease interaction with Divio Cloud. They are either located in the root directory or the divio folder. The only package that is installed in addition to a clean Laravel application is ``league/flysystem-aws-s3-v3`` which provides the support for Laravel`s native storage engine.\n\nThe biggest difference is the use of your environment variables, which are typically held in a file called ``.env``. This behaviour is slightly different in our setup and uses native environment variables over the ``.env`` file. All credentials needed by your application are automatically injected into your environment and mapped onto the correct environment variables. You therefore don't need to configure anything to run your application in production, everything happens automatically. Of course you might want to override specific values or add configuration options, that are different from the defaults:\nFor local development you can set the environment variables in ``divio/.env-local``\\ , for test and production environments you can either set them in the Divio Cloud web interface or in the ``.env.example`` file. Please make sure you *never* store secrets in this file, because it is added to source control. Only use it to store configuration values. For secrets only use the web interface.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivio%2Fphp-laravel6-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivio%2Fphp-laravel6-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivio%2Fphp-laravel6-boilerplate/lists"}