mariojgt / onix
A laravel page buidler out of the box
Installs: 1 041
Dependents: 0
Suggesters: 0
Security: 0
Stars: 38
Watchers: 2
Forks: 6
Open Issues: 1
Language:Blade
Type:laravel
Requires
- php: ^8.1
- dev-main
- 3.0.1
- 3.0.0
- 2.1.0
- 2.0.10
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- v1.x-dev
- 1.6.0
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.9
- 1.4.8
- 1.4.7
- 1.4.6
- 1.4.5
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.9
- 1.3.8
- 1.3.7
- 1.3.6
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.9
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.0.9
- 1.0.8
This package is auto-updated.
Last update: 2025-03-26 02:00:29 UTC
README
Onix is a powerful page builder that integrates seamlessly with Laravel. It provides a flexible and efficient way to create reusable blocks and manage pages.
Getting Started
To get started with Onix, you need to install it via composer:
composer require mariojgt/onix
After installation, run the Onix installation command:
php artisan install:onix
Add the following line to your .env
file to avoid unwanted requests to the API:
VITE_ONIX_API_KEY=any_value
Creating Reusable Blocks
To create a new block, run the following command and follow the instructions:
php artisan onix:block
This will create a new block class and blade template in the resources/onix/blocks
folder. The PHP class will be located in the app/Onix/Blocks
folder.
Accessing the Page Builder Settings
To access the page builder, navigate to the path onix/settings
in your application.
You can protect the acess using the config onix.middleware
by default its web(public)
Commands
Onix provides several commands to help manage your application:
- Republish:
Mariojgt\Onix\Commands\Republish
- Install:
Mariojgt\Onix\Commands\Install
- CreateOnixBlock:
Mariojgt\Onix\Commands\CreateOnixBlock
Controllers
Onix includes several controllers for handling various aspects of your application:
- OnixApiController:
Mariojgt\Onix\Controllers\OnixApiController
- OnixApiDeployController:
Mariojgt\Onix\Controllers\OnixApiDeployController
- OnixBlockController:
Mariojgt\Onix\Controllers\OnixBlockController
- OnixController:
Mariojgt\Onix\Controllers\OnixController
- OnixDeployController:
Mariojgt\Onix\Controllers\OnixDeployController
- OnixPageController:
Mariojgt\Onix\Controllers\OnixPageController
- OnixSettingsController:
Mariojgt\Onix\Controllers\OnixSettingsController
- OnixSitePageController:
Mariojgt\Onix\Controllers\OnixSitePageController
Contributing
Contributions are welcome!
License
This project is licensed under the terms of the MIT License.