Comments (1)
Hi,
the package adds those methods to the app container, so a way (not the only) to use them is
app()->domain()
which simply display the current domain and
app()->domainsList()
which lists all the domains registered in the config/domain.php
file
Please note that there is an error in the doc which I will fix in the next release: the second method is called domainsList()
and not domainList()
Cheers
Giacomo
P.S.: If you like the package and you haven't done yet, please leave a star :)
from laravel-multidomain.
Related Issues (20)
- PHPUnit Problems with multiple Domains HOT 2
- Issue with storage:link
- add a landing page with a different domain HOT 1
- Horizon without documentation HOT 3
- .env.domain.com doesnt get loaded or read HOT 6
- Installation problem HOT 1
- Laravel/horizon is not working when trying to implement in windows environment. HOT 1
- Worker with 50 domains - memory leak? one horizon to many clients? HOT 1
- Change the database from the code HOT 3
- Public storage issue HOT 2
- Laravel 11 Compatibility HOT 3
- --domain option not exist HOT 2
- Artisan publish error Call to undefined function Laravel\Prompts\Concerns\mb_strimwidth() HOT 1
- Question: config helper HOT 1
- Console Commands has no .env, and no --domain option, so they can not working if needed HOT 2
- Feature/Unit Tests have no --domain option, so no .env loaded, so they can not working if needed HOT 2
- Commands not recognised in v11 HOT 2
- Domain Detection function not working in v11 HOT 2
- All my written commands stopped working HOT 4
- Is it possible to have everything done automatically? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-multidomain.