Download the PHP package envor/one-app without Composer
On this page you can find all versions of the php package envor/one-app. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download envor/one-app
More information about envor/one-app
Files in envor/one-app
Package one-app
Short Description Database per team starter kit for Laravel based on Laravel Jetstream and Livewire
License MIT
Homepage https://github.com/envor/one-app
Informations about the package one-app
There is this one-app ...
Database per team starter kit for Laravel based on Laravel Jetstream and Livewire
Installation
First set up a fresh laravel app:
Using laravel installer
Or using composer
Then you can install the package via composer:
To Configure your platform database (aka central
or landlord
database, etc..)
Add the following key to your .env
file:
[!NOTE]
If you use a connection other than sqlite, you will have to ensure you have configured you credentials for the connection
Next, freshen your migrations, using the database/migration/platform
path, and the name of your PLATFORM_DB_CONNECTION
You can now test your application to ensure everything is working properly!
SSO (Optional)
If you need it you can set up one-app
to use laravel/passport
instead of laravel/sanctum
which will include a full OAuth2 Server, complete with self-service token and client management ui.
First follow the steps above to install one-app.
Next install headerx/laravel-jetstream-passport
[!IMPORTANT]
Do not run thejetstream-passport:install
command from headerx/laravel-jetstream-passport when setting upone-app
!one-app
has its own command for installingpassport
(shown below).
Then run one-app:passport
command
Then run migrations
Then run tests again!
Testing
or
Development
This thing installs stuff. During development the stubs will have to be tested. What follows are instructions for doing so.
requirements:
- php ^8.2
- composer
- basic working knowledge of git
1. Setup Laravel Environment in an empty directory
2. Clone the repo
SSH
HTTPS
3. Install dependencies (in root working directory, not one-app)
4. Install one-app (in root working directory, not one-app)
5. Install npm dependencies (in root working directory, not one-app)
6. Compile Assets (in root working directory, not one-app)
7. Execute tests (in root working directory, not one-app)
8. If you are green, you are good to go. You can now reset your environment to begin making changes.
9. Make your changes
Edit files in one-app/
directory
10. Test your changes by repeating steps 3-7.
11. Repeat steps 8-10
12. Repeat step 11 as many times as needed.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- inmanturbo
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of one-app with dependencies
envor/laravel-datastore Version ^1.2.14|^3.0.0
envor/laravel-schema-macros Version ^1.1
envor/platform Version ^1.6
headerx/laravel-jetstream-passport Version ^1.0
illuminate/contracts Version ^11.0
inmanturbo/turbohx Version ^1.1
laravel/jetstream Version ^5.0@dev
laravel/pennant Version ^1.7
laravel/sanctum Version ^4.0@dev
laravel/tinker Version ^2.9
livewire/livewire Version ^3.4
livewire/volt Version ^1.6
spatie/laravel-navigation Version ^1.2
spatie/laravel-package-tools Version ^1.16.2