Download the PHP package elegantmedia/oxygen-foundation without Composer
On this page you can find all versions of the php package elegantmedia/oxygen-foundation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elegantmedia/oxygen-foundation
More information about elegantmedia/oxygen-foundation
Files in elegantmedia/oxygen-foundation
Package oxygen-foundation
Short Description Foundation for Oxygen framework projects.
License MIT
Homepage https://github.com/elegantmedia/oxygen-foundation
Informations about the package oxygen-foundation
Oxygen Foundation
Version Compatibility and Upgrading
If you're upgrading or want to find an older version, please review the CHANGELOG for notable changes and upgrade notes.
| Laravel Version | Package Version | PHP Version | Branch |
|---|---|---|---|
| v13 | 6.x | ^8.3 | 6.x |
| v12 | 5.x | ^8.2 | 5.x |
Install
Install via Composer
Install the Foundation
How to use
Run all extension seeders
Available Functions
Models
Make a model searchable (Laravel Scout "keyword" engine)
Note: The package registers a secure in-database Scout engine under the keyword driver.
Implementing getSearchableFields() is required for searchable models.
Database Traits
Add a secure UUID and token to your models with built-in traits:
Deprecated: CreatesUniqueTokens is kept for BC but should be replaced with HasSecureToken.
Components
Menu Navigator
Navigation Menu Developer Guide
Schema Macros
Convenience macros are available on Blueprint once the service provider is loaded:
Testing
Run the test suite:
Code Coverage
To generate code coverage reports, you need to install a coverage driver. We recommend using PCOV for better performance:
Installing PCOV (Recommended)
On macOS with Homebrew:
On Ubuntu/Debian:
After installation, run tests with coverage:
Alternative: Using Xdebug
If you already have Xdebug installed, you can use it for coverage:
Coverage reports will be generated in the build/coverage directory.
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.
Copyright (c) Elegant Media.
All versions of oxygen-foundation with dependencies
ext-json Version *
elegantmedia/laravel-simple-repository Version ^6.0
elegantmedia/php-toolkit Version ^2.0
laravel/scout Version ^11.0