Giter VIP home page Giter VIP logo

laravel-apollo's Introduction

Laravel Apollo integration.

Installation

Install the package via composer

composer require lackhurt/laravel-apollo

Add serviceProvider

Lackhurt\Apollo\Providers\ApolloServiceProvider::class

Add facade

'Apollo' => Lackhurt\Apollo\Facades\Apollo::class

Publish ServiceProvider

php artisan vendor:publish --provider="Lackhurt\Apollo\Providers\ApolloServiceProvider"

Edit .env

APP_ID=your app id
CLUSTER=default
APOLLO_NAMESPACES="application, common_ns, others"
APOLLO_CONFIG_SERVER=http://apollometa:8090

Start agent as a daemon

php artisan apollo.start-agent

License

laravel-apollo is free software distributed under the terms of the MIT license.

laravel-apollo's People

Contributors

lackhurt avatar remoteonly avatar whistlesun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

laravel-apollo's Issues

laravel配置问题

laravel的配置文件一般都是固定名称的,现在使用这个插件,是需要去改变这些配置文件的读取地址吗?类似database.php,还是这个插件是有其他使用方式的?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.