Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2024-08-27 (1 month ago) | Not enough user ratings | Total: 20 | All time: 11,286 This week: 41 |
Version | License | PHP version | Categories | |||
nibiru 1.0.0 | Custom (specified... | 5 | PHP 5, Libraries, Code Generation, De... |
Description | Author | ||||||||
This package can generate code for rapid application prototyping. |
|
Welcome to the nibiru framework, a powerful MMVC (Modular Model-View-Controller) PHP Framework designed specifically for rapid prototyping. Whether you're building a quick prototype or a large-scale application, nibiru framework provides the tools and structure you need to get up and running in no time.
MMVC in the nibiru framework stands for Modular Model-View-Controller. Modules, have the observer
pattern, and are comprehensive entities that encompass not just the MVC components but also traits, interfaces, plugins, and settings. These modules are designed for loose coupling, promoting modularity and ease of integration. Each module can be loaded through its namespace, offering a flexible way to add and manage functionalities in your application. The built-in observer ensures seamless communication between these modules.
_ _ _ _ _ ______ _
| \ | (_) | (_) | ____| | |
| \| |_| |__ _ _ __ _ _ | |__ _ __ __ _ _ __ ___ _____ _____ _ __| | __
| . ` | | '_ \| | '__| | | | | __| '__/ _` | '_ ` _ \ / _ \ \ /\ / / _ \| '__| |/ /
| |\ | | |_) | | | | |_| | | | | | | (_| | | | | | | __/\ V V / (_) | | | <
|_| \_|_|_.__/|_|_| \__,_| |_| |_| \__,_|_| |_| |_|\___| \_/\_/ \___/|_| |_|\_
----------------------------------------------------------------------------------------------
Usage: ./nibiru [-m <module_name>] [-c <controller_name>] [-h]
-m {name}: create a new module with the given name.
-c {name}: create a new controller with the given name.
-p {name} -m {name}: create a new plugin with the given name in the given name for the module.
add -g switch if a Graylog Server present.
-cache-clear: will clear the cache of the applications template_c folder.
-s: check framework folders and permissions, and set them if they are not present.
-mi {local|staging|production}: run migration files from application/settings/config/database/.
-mi-reset {local|staging|production}: will reset the migrations table, use only if you know what you are doing.
-mi-reset-file {filename} {local|staging|production}: will reset the migration entry for a filename e.g. mytable.sql, use only if you know what you are doing.
-ws {URL} -wp {PORT}: connect to a WebSocket at the given URL and port.
-h: display this help message.
-version or -v: display the version of the nibiru binary, and the current framework version.
For a more detailed explanation and additional functionalities, please refer to the official documentation.
In the nibiru framework, database migrations play a crucial role in managing and versioning your database schema. Migrations allow developers to define sets of changes that modify the database schema, making it easier to track, roll back, or apply updates as needed.
With the nibiru
binary tool, managing these migrations becomes even more effortless:
It's essential to use migrations to ensure that your database schema remains consistent across different environments and stages of your application's lifecycle.
Using the nibiru
binary tool, developers can effortlessly generate controllers for their applications:
Upon generation, the controller will be located in:
/application/controllers/{controller_name}.php
Additionally, a corresponding view file will be generated and placed in:
/application/views/{controller_name}/
This structure ensures that the logic in the controller and its associated views are neatly organized and easy to manage.
The nibiru
binary tool also facilitates the generation of modules:
The generated module will have its own directory structure, encompassing traits, interfaces, plugins, settings, and a main PHP file. The structure will resemble:
/modules/{module_name}/
??? {module_name}.php
??? interfaces/
??? plugins/
??? settings/
??? traits/
This modular approach allows for clear separation of concerns and promotes scalability and maintainability of the application.
Created by Stephan Kasdorf, 2023
Happy Coding! :computer:
Files (136) |
File | Role | Description | ||
---|---|---|---|---|
application (4 directories) | ||||
core (1 file, 5 directories) | ||||
public (3 directories) | ||||
.htaccess | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
favicon.ico | Data | Auxiliary data | ||
index.php | Aux. | Configuration script | ||
LICENSE | Lic. | License text | ||
README.md | Doc. | Documentation | ||
vhost.conf | Data | Auxiliary data |
Files (136) | / | application |
File | Role | Description | ||
---|---|---|---|---|
controller (3 files) | ||||
model (1 file) | ||||
settings (2 directories) | ||||
view (1 directory) |
Files (136) | / | application | / | controller |
File | Role | Description |
---|---|---|
controllerController.php | Class | Class source |
formsController.php | Class | Class source |
indexController.php | Class | Class source |
Files (136) | / | application | / | settings | / | config |
File | Role | Description |
---|---|---|
navigation.json | Data | Auxiliary data |
settings.cli.ini | Data | Auxiliary data |
settings.development.ini | Data | Auxiliary data |
Files (136) | / | application | / | view | / | templates |
File | Role | Description | ||
---|---|---|---|---|
shared (4 files) | ||||
controller.tpl | Data | Auxiliary data | ||
forms.tpl | Data | Auxiliary data | ||
index.tpl | Data | Auxiliary data | ||
navigation.tpl | Data | Auxiliary data | ||
pageination.tpl | Data | Auxiliary data |
Files (136) | / | core |
Files (136) | / | core | / | a |
File | Role | Description |
---|---|---|
controller.php | Class | Class source |
module.php | Class | Class source |
mysql.db.php | Class | Class source |
pageination.php | Class | Class source |
postgres.db.php | Class | Class source |
postgresql.db.php | Class | Class source |
Files (136) | / | core | / | c |
File | Role | Description |
---|---|---|
auth.php | Class | Class source |
auto.php | Class | Class source |
autoloader.php | Class | Class source |
config.php | Class | Class source |
controller.php | Class | Class source |
debug.php | Class | Class source |
dispatcher.php | Class | Class source |
display.php | Class | Class source |
engine.php | Class | Class source |
form.php | Class | Class source |
formattributes.php | Class | Class source |
jsonnavigation.php | Class | Class source |
model.php | Class | Class source |
module.php | Class | Class source |
mysql.php | Class | Class source |
nibiru.php | Class | Class source |
odbc.php | Class | Class source |
pdo.php | Class | Class source |
postgres.php | Class | Class source |
postgresql.php | Class | Class source |
psql.php | Class | Class source |
registry.php | Class | Class source |
router.php | Class | Class source |
settings.php | Class | Class source |
table.php | Class | Class source |
typebutton.php | Class | Class source |
typecheckbox.php | Class | Class source |
typecloseany.php | Class | Class source |
typeclosediv.php | Class | Class source |
typecolor.php | Class | Class source |
typedate.php | Class | Class source |
typedatetime.php | Class | Class source |
typeemail.php | Class | Class source |
typefileupload.php | Class | Class source |
typehidden.php | Class | Class source |
typeimagesubmit.php | Class | Class source |
typelabel.php | Class | Class source |
typenumber.php | Class | Class source |
typeopenany.php | Class | Class source |
typeopendiv.php | Class | Class source |
typeoption.php | Class | Class source |
typepassword.php | Class | Class source |
typeradio.php | Class | Class source |
typerange.php | Class | Class source |
typereset.php | Class | Class source |
typesearch.php | Class | Class source |
typeselect.php | Class | Class source |
typesubmit.php | Class | Class source |
typetelefon.php | Class | Class source |
typetext.php | Class | Class source |
typetextarea.php | Class | Class source |
typeurl.php | Class | Class source |
view.php | Class | Class source |
Files (136) | / | core | / | i |
File | Role | Description |
---|---|---|
IAuth.php | Class | Class source |
IController.php | Class | Class source |
IDb.php | Class | Class source |
IEngine.php | Class | Class source |
IForm.php | Class | Class source |
IModule.php | Class | Class source |
IMysql.php | Class | Class source |
IOdbc.php | Class | Class source |
IPageination.php | Class | Class source |
IPdo.php | Class | Class source |
IPostgres.php | Class | Class source |
IPostgresql.php | Class | Class source |
IPsql.php | Class | Class source |
IVersion.php | Class | Class source |
IView.php | Class | Class source |
Files (136) | / | core | / | t |
File | Role | Description |
---|---|---|
form.php | Class | Class source |
messages.php | Class | Class source |
pageination.php | Class | Class source |
Files (136) | / | public |
Files (136) | / | public | / | css | / | v3 |
File | Role | Description |
---|---|---|
application.css | Data | Auxiliary data |
docs.css | Data | Auxiliary data |
jquery-ui.css | Data | Auxiliary data |
nibiru-debug.css | Data | Auxiliary data |
roboto.css | Data | Auxiliary data |
tiamat-form.css | Data | Auxiliary data |
toolkit-inverse.css | Data | Auxiliary data |
toolkit-light.css | Data | Auxiliary data |
Files (136) | / | public | / | img |
File | Role | Description | ||
---|---|---|---|---|
logos (8 files) | ||||
module_table_bottom.png | Icon | Icon image | ||
module_table_top.png | Icon | Icon image | ||
ui-icons_444444_256x240.png | Icon | Icon image | ||
ui-icons_555555_256x240.png | Icon | Icon image | ||
ui-icons_777620_256x240.png | Icon | Icon image | ||
ui-icons_777777_256x240.png | Icon | Icon image | ||
ui-icons_cc0000_256x240.png | Icon | Icon image | ||
ui-icons_ffffff_256x240.png | Icon | Icon image |
Files (136) | / | public | / | img | / | logos |
File | Role | Description |
---|---|---|
400dpiLogo.png | Icon | Icon image |
400dpiLogoCropped.png | Icon | Icon image |
FaviconLogo.png | Icon | Icon image |
MediumSquareLogo.png | Icon | Icon image |
nibiru-bar-logo.png | Icon | Icon image |
nibiru-logo.png | Icon | Icon image |
SmallLogo.png | Icon | Icon image |
SmallLogoBW.png | Icon | Icon image |
Files (136) | / | public | / | js | / | v3 |
File | Role | Description |
---|---|---|
application.js | Data | Auxiliary data |
chart.js | Data | Auxiliary data |
jquery-ui.js | Data | Auxiliary data |
jquery.min.js | Data | Auxiliary data |
nibiru-debug.js | Data | Auxiliary data |
tablesorter.min.js | Data | Auxiliary data |
tether.min.js | Data | Auxiliary data |
toolkit.js | Data | Auxiliary data |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.