├── .gitignore ├── publishes ├── acacia │ ├── Core │ │ ├── Js │ │ │ ├── .gitkeep │ │ │ ├── images │ │ │ │ ├── logo.png │ │ │ │ ├── pay-bg.jpg │ │ │ │ ├── favicon.png │ │ │ │ ├── auth-image.jpg │ │ │ │ ├── avatar-01.jpg │ │ │ │ ├── avatar-02.jpg │ │ │ │ ├── avatar-03.jpg │ │ │ │ ├── avatar-04.jpg │ │ │ │ ├── avatar-05.jpg │ │ │ │ ├── avatar-06.jpg │ │ │ │ ├── channel-01.png │ │ │ │ ├── channel-02.png │ │ │ │ ├── channel-03.png │ │ │ │ ├── chat-image.jpg │ │ │ │ ├── inbox-image.jpg │ │ │ │ ├── modal-image.jpg │ │ │ │ ├── profile-bg.jpg │ │ │ │ ├── user-128-01.jpg │ │ │ │ ├── user-28-01.jpg │ │ │ │ ├── user-28-02.jpg │ │ │ │ ├── user-28-03.jpg │ │ │ │ ├── user-28-04.jpg │ │ │ │ ├── user-28-05.jpg │ │ │ │ ├── user-28-06.jpg │ │ │ │ ├── user-28-07.jpg │ │ │ │ ├── user-28-08.jpg │ │ │ │ ├── user-28-09.jpg │ │ │ │ ├── user-28-10.jpg │ │ │ │ ├── user-28-11.jpg │ │ │ │ ├── user-28-12.jpg │ │ │ │ ├── user-32-01.jpg │ │ │ │ ├── user-32-02.jpg │ │ │ │ ├── user-32-03.jpg │ │ │ │ ├── user-32-04.jpg │ │ │ │ ├── user-32-05.jpg │ │ │ │ ├── user-32-06.jpg │ │ │ │ ├── user-32-07.jpg │ │ │ │ ├── user-32-08.jpg │ │ │ │ ├── user-36-01.jpg │ │ │ │ ├── user-36-02.jpg │ │ │ │ ├── user-36-03.jpg │ │ │ │ ├── user-36-04.jpg │ │ │ │ ├── user-40-01.jpg │ │ │ │ ├── user-40-02.jpg │ │ │ │ ├── user-40-03.jpg │ │ │ │ ├── user-40-04.jpg │ │ │ │ ├── user-40-05.jpg │ │ │ │ ├── user-40-06.jpg │ │ │ │ ├── user-40-07.jpg │ │ │ │ ├── user-40-08.jpg │ │ │ │ ├── user-40-09.jpg │ │ │ │ ├── user-40-10.jpg │ │ │ │ ├── user-40-11.jpg │ │ │ │ ├── user-40-12.jpg │ │ │ │ ├── user-64-01.jpg │ │ │ │ ├── user-64-02.jpg │ │ │ │ ├── user-64-03.jpg │ │ │ │ ├── user-64-04.jpg │ │ │ │ ├── user-64-05.jpg │ │ │ │ ├── user-64-06.jpg │ │ │ │ ├── user-64-07.jpg │ │ │ │ ├── user-64-08.jpg │ │ │ │ ├── user-64-09.jpg │ │ │ │ ├── user-64-10.jpg │ │ │ │ ├── user-64-11.jpg │ │ │ │ ├── user-64-12.jpg │ │ │ │ ├── user-64-13.jpg │ │ │ │ ├── user-header.png │ │ │ │ ├── product-image.jpg │ │ │ │ ├── task-image-01.jpg │ │ │ │ ├── task-image-02.jpg │ │ │ │ ├── auth-decoration.png │ │ │ │ ├── onboarding-image.jpg │ │ │ │ ├── user-avatar-32.png │ │ │ │ ├── user-avatar-80.png │ │ │ │ ├── related-product-01.jpg │ │ │ │ ├── related-product-02.jpg │ │ │ │ ├── related-product-03.jpg │ │ │ │ ├── applications-image-01.jpg │ │ │ │ ├── applications-image-02.jpg │ │ │ │ ├── applications-image-03.jpg │ │ │ │ ├── applications-image-04.jpg │ │ │ │ ├── applications-image-05.jpg │ │ │ │ ├── applications-image-06.jpg │ │ │ │ ├── applications-image-07.jpg │ │ │ │ ├── applications-image-08.jpg │ │ │ │ ├── applications-image-09.jpg │ │ │ │ ├── applications-image-10.jpg │ │ │ │ ├── applications-image-11.jpg │ │ │ │ ├── applications-image-12.jpg │ │ │ │ ├── applications-image-13.jpg │ │ │ │ ├── applications-image-14.jpg │ │ │ │ ├── applications-image-15.jpg │ │ │ │ ├── applications-image-16.jpg │ │ │ │ ├── applications-image-17.jpg │ │ │ │ ├── applications-image-18.jpg │ │ │ │ ├── applications-image-19.jpg │ │ │ │ ├── applications-image-20.jpg │ │ │ │ ├── applications-image-21.jpg │ │ │ │ ├── applications-image-22.jpg │ │ │ │ ├── applications-image-23.jpg │ │ │ │ ├── applications-image-24.jpg │ │ │ │ ├── applications-image-25.jpg │ │ │ │ ├── applications-image-26.jpg │ │ │ │ ├── applications-image-27.jpg │ │ │ │ ├── applications-image-28.jpg │ │ │ │ ├── applications-image-29.jpg │ │ │ │ ├── applications-image-30.jpg │ │ │ │ ├── applications-image-31.jpg │ │ │ │ └── applications-image-32.jpg │ │ │ ├── Components │ │ │ │ ├── InputError.vue │ │ │ │ ├── Label.vue │ │ │ │ ├── DropdownLink.vue │ │ │ │ ├── BackLink.vue │ │ │ │ ├── Input.vue │ │ │ │ ├── Button.vue │ │ │ │ ├── ValidationErrors.vue │ │ │ │ ├── Checkbox.vue │ │ │ │ ├── AcaciaDd.vue │ │ │ │ ├── NavLink.vue │ │ │ │ └── ResponsiveNavLink.vue │ │ │ ├── composables │ │ │ │ └── debounce.ts │ │ │ ├── Pages │ │ │ │ ├── Auth │ │ │ │ │ └── Profile.vue │ │ │ │ └── Backend │ │ │ │ │ ├── Index.vue │ │ │ │ │ └── AcaciaMenu │ │ │ │ │ └── Edit.vue │ │ │ ├── partials │ │ │ │ ├── actions │ │ │ │ │ ├── DeleteButton.vue │ │ │ │ │ └── SearchForm.vue │ │ │ │ ├── SidebarLinkGroup.vue │ │ │ │ ├── tasks │ │ │ │ │ └── TasksGroups.vue │ │ │ │ └── PaginationClassic.vue │ │ │ ├── Layouts │ │ │ │ └── Guest.vue │ │ │ ├── components │ │ │ │ ├── SearchForm.vue │ │ │ │ └── PaginationClassic.vue │ │ │ └── bootstrap.ts │ │ ├── Config │ │ │ ├── .gitkeep │ │ │ └── config.php │ │ ├── Console │ │ │ └── .gitkeep │ │ ├── Models │ │ │ ├── .gitkeep │ │ │ ├── Field.php │ │ │ ├── Relationship.php │ │ │ ├── Schematic.php │ │ │ └── AcaciaMenu.php │ │ ├── Routes │ │ │ └── .gitkeep │ │ ├── Providers │ │ │ └── .gitkeep │ │ ├── Tests │ │ │ ├── Unit │ │ │ │ └── .gitkeep │ │ │ └── Feature │ │ │ │ └── .gitkeep │ │ ├── Database │ │ │ ├── Seeders │ │ │ │ ├── .gitkeep │ │ │ │ └── CoreDatabaseSeeder.php │ │ │ ├── Migrations │ │ │ │ └── .gitkeep │ │ │ ├── factories │ │ │ │ ├── .gitkeep │ │ │ │ └── AcaciaMenuFactory.php │ │ │ └── .gitignore │ │ ├── Http │ │ │ ├── Controllers │ │ │ │ └── .gitkeep │ │ │ ├── Middleware │ │ │ │ └── .gitkeep │ │ │ └── Requests │ │ │ │ └── .gitkeep │ │ ├── Resources │ │ │ ├── lang │ │ │ │ └── .gitkeep │ │ │ ├── views │ │ │ │ ├── .gitkeep │ │ │ │ ├── components │ │ │ │ │ ├── label.blade.php │ │ │ │ │ ├── card.blade.php │ │ │ │ │ ├── auth-session-status.blade.php │ │ │ │ │ ├── dropdown-link.blade.php │ │ │ │ │ ├── input.blade.php │ │ │ │ │ ├── auth-card.blade.php │ │ │ │ │ ├── button.blade.php │ │ │ │ │ ├── auth-validation-errors.blade.php │ │ │ │ │ ├── nav-link.blade.php │ │ │ │ │ ├── responsive-nav-link.blade.php │ │ │ │ │ ├── css-header.blade.php │ │ │ │ │ ├── stats-card.blade.php │ │ │ │ │ └── guest.blade.php │ │ │ │ ├── index.blade.php │ │ │ │ ├── dashboard.blade.php │ │ │ │ ├── layouts │ │ │ │ │ └── master.blade.php │ │ │ │ └── app.blade.php │ │ │ └── css │ │ │ │ ├── app.css │ │ │ │ └── additional-styles │ │ │ │ └── theme.scss │ │ ├── jsconfig.json │ │ ├── module.json │ │ ├── composer.json │ │ ├── Constants │ │ │ └── FormFields.php │ │ └── Traits │ │ │ └── ProcessesColumns.php │ ├── Roles │ │ ├── Config │ │ │ ├── .gitkeep │ │ │ └── config.php │ │ ├── Jobs │ │ │ └── .gitkeep │ │ ├── Models │ │ │ └── .gitkeep │ │ ├── Routes │ │ │ ├── .gitkeep │ │ │ ├── web.php │ │ │ └── api.php │ │ ├── Console │ │ │ └── .gitkeep │ │ ├── Js │ │ │ └── Pages │ │ │ │ └── .gitkeep │ │ ├── Policies │ │ │ └── .gitkeep │ │ ├── Providers │ │ │ ├── .gitkeep │ │ │ └── AuthServiceProvider.php │ │ ├── tests │ │ │ ├── Unit │ │ │ │ └── .gitkeep │ │ │ └── Feature │ │ │ │ └── .gitkeep │ │ ├── Database │ │ │ ├── Seeders │ │ │ │ └── .gitkeep │ │ │ ├── Factories │ │ │ │ ├── .gitkeep │ │ │ │ └── RoleFactory.php │ │ │ └── Migrations │ │ │ │ └── .gitkeep │ │ ├── Http │ │ │ ├── Controllers │ │ │ │ ├── .gitkeep │ │ │ │ └── Api │ │ │ │ │ └── .gitkeep │ │ │ ├── Middleware │ │ │ │ └── .gitkeep │ │ │ └── Requests │ │ │ │ └── .gitkeep │ │ ├── Repositories │ │ │ └── .gitkeep │ │ ├── resources │ │ │ ├── assets │ │ │ │ ├── .gitkeep │ │ │ │ ├── js │ │ │ │ │ └── app.js │ │ │ │ └── sass │ │ │ │ │ └── app.scss │ │ │ ├── lang │ │ │ │ └── .gitkeep │ │ │ └── views │ │ │ │ ├── .gitkeep │ │ │ │ ├── index.blade.php │ │ │ │ └── layouts │ │ │ │ └── master.blade.php │ │ ├── module.json │ │ ├── composer.json │ │ └── webpack.mix.js │ ├── Users │ │ ├── Config │ │ │ ├── .gitkeep │ │ │ └── config.php │ │ ├── Jobs │ │ │ └── .gitkeep │ │ ├── Models │ │ │ └── .gitkeep │ │ ├── Routes │ │ │ ├── .gitkeep │ │ │ ├── web.php │ │ │ └── api.php │ │ ├── Console │ │ │ └── .gitkeep │ │ ├── Js │ │ │ └── Pages │ │ │ │ └── .gitkeep │ │ ├── Policies │ │ │ └── .gitkeep │ │ ├── Providers │ │ │ ├── .gitkeep │ │ │ └── AuthServiceProvider.php │ │ ├── tests │ │ │ ├── Unit │ │ │ │ └── .gitkeep │ │ │ └── Feature │ │ │ │ └── .gitkeep │ │ ├── Database │ │ │ ├── Seeders │ │ │ │ └── .gitkeep │ │ │ ├── Factories │ │ │ │ ├── .gitkeep │ │ │ │ └── UserFactory.php │ │ │ └── Migrations │ │ │ │ └── .gitkeep │ │ ├── Http │ │ │ ├── Controllers │ │ │ │ ├── .gitkeep │ │ │ │ └── Api │ │ │ │ │ └── .gitkeep │ │ │ ├── Middleware │ │ │ │ └── .gitkeep │ │ │ └── Requests │ │ │ │ └── .gitkeep │ │ ├── Repositories │ │ │ └── .gitkeep │ │ ├── resources │ │ │ ├── assets │ │ │ │ ├── .gitkeep │ │ │ │ ├── js │ │ │ │ │ └── app.js │ │ │ │ └── sass │ │ │ │ │ └── app.scss │ │ │ ├── lang │ │ │ │ └── .gitkeep │ │ │ └── views │ │ │ │ ├── .gitkeep │ │ │ │ ├── index.blade.php │ │ │ │ └── layouts │ │ │ │ └── master.blade.php │ │ ├── module.json │ │ ├── composer.json │ │ └── webpack.mix.js │ ├── acacia.sqlite.latest │ ├── .prettierrc.json │ ├── AcaciaFields │ │ ├── Jobs │ │ │ └── .gitkeep │ │ ├── Config │ │ │ ├── .gitkeep │ │ │ └── config.php │ │ ├── Console │ │ │ └── .gitkeep │ │ ├── Js │ │ │ └── Pages │ │ │ │ └── .gitkeep │ │ ├── Models │ │ │ └── .gitkeep │ │ ├── Policies │ │ │ └── .gitkeep │ │ ├── Providers │ │ │ ├── .gitkeep │ │ │ └── AuthServiceProvider.php │ │ ├── Routes │ │ │ ├── .gitkeep │ │ │ ├── web.php │ │ │ └── api.php │ │ ├── Http │ │ │ ├── Requests │ │ │ │ └── .gitkeep │ │ │ ├── Controllers │ │ │ │ ├── .gitkeep │ │ │ │ └── Api │ │ │ │ │ └── .gitkeep │ │ │ └── Middleware │ │ │ │ └── .gitkeep │ │ ├── Repositories │ │ │ └── .gitkeep │ │ ├── resources │ │ │ ├── lang │ │ │ │ └── .gitkeep │ │ │ ├── assets │ │ │ │ ├── .gitkeep │ │ │ │ ├── js │ │ │ │ │ └── app.js │ │ │ │ └── sass │ │ │ │ │ └── app.scss │ │ │ └── views │ │ │ │ ├── .gitkeep │ │ │ │ ├── index.blade.php │ │ │ │ └── layouts │ │ │ │ └── master.blade.php │ │ ├── tests │ │ │ ├── Feature │ │ │ │ └── .gitkeep │ │ │ └── Unit │ │ │ │ └── .gitkeep │ │ ├── Database │ │ │ ├── Factories │ │ │ │ ├── .gitkeep │ │ │ │ └── FieldFactory.php │ │ │ ├── Migrations │ │ │ │ └── .gitkeep │ │ │ └── Seeders │ │ │ │ └── .gitkeep │ │ ├── module.json │ │ ├── composer.json │ │ └── webpack.mix.js │ ├── AcaciaMenus │ │ ├── Jobs │ │ │ └── .gitkeep │ │ ├── Config │ │ │ ├── .gitkeep │ │ │ └── config.php │ │ ├── Console │ │ │ └── .gitkeep │ │ ├── Js │ │ │ └── Pages │ │ │ │ └── .gitkeep │ │ ├── Models │ │ │ └── .gitkeep │ │ ├── Policies │ │ │ └── .gitkeep │ │ ├── Providers │ │ │ ├── .gitkeep │ │ │ └── AuthServiceProvider.php │ │ ├── Routes │ │ │ ├── .gitkeep │ │ │ ├── web.php │ │ │ └── api.php │ │ ├── tests │ │ │ ├── Unit │ │ │ │ └── .gitkeep │ │ │ └── Feature │ │ │ │ └── .gitkeep │ │ ├── Http │ │ │ ├── Middleware │ │ │ │ └── .gitkeep │ │ │ ├── Requests │ │ │ │ └── .gitkeep │ │ │ └── Controllers │ │ │ │ ├── .gitkeep │ │ │ │ └── Api │ │ │ │ └── .gitkeep │ │ ├── Repositories │ │ │ └── .gitkeep │ │ ├── resources │ │ │ ├── lang │ │ │ │ └── .gitkeep │ │ │ ├── views │ │ │ │ ├── .gitkeep │ │ │ │ ├── index.blade.php │ │ │ │ └── layouts │ │ │ │ │ └── master.blade.php │ │ │ └── assets │ │ │ │ ├── .gitkeep │ │ │ │ ├── js │ │ │ │ └── app.js │ │ │ │ └── sass │ │ │ │ └── app.scss │ │ ├── Database │ │ │ ├── Factories │ │ │ │ ├── .gitkeep │ │ │ │ └── MenuFactory.php │ │ │ ├── Migrations │ │ │ │ └── .gitkeep │ │ │ └── Seeders │ │ │ │ └── .gitkeep │ │ ├── module.json │ │ ├── composer.json │ │ └── webpack.mix.js │ ├── Permissions │ │ ├── Jobs │ │ │ └── .gitkeep │ │ ├── Config │ │ │ ├── .gitkeep │ │ │ └── config.php │ │ ├── Console │ │ │ └── .gitkeep │ │ ├── Js │ │ │ └── Pages │ │ │ │ └── .gitkeep │ │ ├── Models │ │ │ └── .gitkeep │ │ ├── Policies │ │ │ └── .gitkeep │ │ ├── Providers │ │ │ ├── .gitkeep │ │ │ └── AuthServiceProvider.php │ │ ├── Routes │ │ │ ├── .gitkeep │ │ │ ├── web.php │ │ │ └── api.php │ │ ├── tests │ │ │ ├── Unit │ │ │ │ └── .gitkeep │ │ │ └── Feature │ │ │ │ └── .gitkeep │ │ ├── Http │ │ │ ├── Middleware │ │ │ │ └── .gitkeep │ │ │ ├── Requests │ │ │ │ └── .gitkeep │ │ │ └── Controllers │ │ │ │ ├── .gitkeep │ │ │ │ └── Api │ │ │ │ └── .gitkeep │ │ ├── Repositories │ │ │ └── .gitkeep │ │ ├── resources │ │ │ ├── lang │ │ │ │ └── .gitkeep │ │ │ ├── views │ │ │ │ ├── .gitkeep │ │ │ │ ├── index.blade.php │ │ │ │ └── layouts │ │ │ │ │ └── master.blade.php │ │ │ └── assets │ │ │ │ ├── .gitkeep │ │ │ │ ├── js │ │ │ │ └── app.js │ │ │ │ └── sass │ │ │ │ └── app.scss │ │ ├── Database │ │ │ ├── Factories │ │ │ │ ├── .gitkeep │ │ │ │ └── PermissionFactory.php │ │ │ ├── Migrations │ │ │ │ └── .gitkeep │ │ │ └── Seeders │ │ │ │ └── .gitkeep │ │ ├── module.json │ │ ├── composer.json │ │ └── webpack.mix.js │ ├── AcaciaSchematics │ │ ├── Jobs │ │ │ └── .gitkeep │ │ ├── Config │ │ │ ├── .gitkeep │ │ │ └── config.php │ │ ├── Console │ │ │ └── .gitkeep │ │ ├── Js │ │ │ └── Pages │ │ │ │ └── .gitkeep │ │ ├── Models │ │ │ └── .gitkeep │ │ ├── Policies │ │ │ └── .gitkeep │ │ ├── Providers │ │ │ ├── .gitkeep │ │ │ └── AuthServiceProvider.php │ │ ├── Routes │ │ │ ├── .gitkeep │ │ │ ├── web.php │ │ │ └── api.php │ │ ├── tests │ │ │ ├── Unit │ │ │ │ └── .gitkeep │ │ │ └── Feature │ │ │ │ └── .gitkeep │ │ ├── Http │ │ │ ├── Middleware │ │ │ │ └── .gitkeep │ │ │ ├── Requests │ │ │ │ └── .gitkeep │ │ │ └── Controllers │ │ │ │ ├── .gitkeep │ │ │ │ └── Api │ │ │ │ └── .gitkeep │ │ ├── Repositories │ │ │ └── .gitkeep │ │ ├── resources │ │ │ ├── lang │ │ │ │ └── .gitkeep │ │ │ ├── views │ │ │ │ ├── .gitkeep │ │ │ │ ├── index.blade.php │ │ │ │ └── layouts │ │ │ │ │ └── master.blade.php │ │ │ └── assets │ │ │ │ ├── .gitkeep │ │ │ │ ├── js │ │ │ │ └── app.js │ │ │ │ └── sass │ │ │ │ └── app.scss │ │ ├── Database │ │ │ ├── Factories │ │ │ │ ├── .gitkeep │ │ │ │ └── SchematicFactory.php │ │ │ ├── Migrations │ │ │ │ └── .gitkeep │ │ │ └── Seeders │ │ │ │ └── .gitkeep │ │ ├── module.json │ │ ├── composer.json │ │ └── webpack.mix.js │ ├── AcaciaRelationships │ │ ├── Config │ │ │ ├── .gitkeep │ │ │ └── config.php │ │ ├── Console │ │ │ └── .gitkeep │ │ ├── Jobs │ │ │ └── .gitkeep │ │ ├── Models │ │ │ └── .gitkeep │ │ ├── Routes │ │ │ ├── .gitkeep │ │ │ ├── web.php │ │ │ └── api.php │ │ ├── Js │ │ │ └── Pages │ │ │ │ └── .gitkeep │ │ ├── Policies │ │ │ └── .gitkeep │ │ ├── Providers │ │ │ ├── .gitkeep │ │ │ └── AuthServiceProvider.php │ │ ├── Repositories │ │ │ └── .gitkeep │ │ ├── tests │ │ │ ├── Unit │ │ │ │ └── .gitkeep │ │ │ └── Feature │ │ │ │ └── .gitkeep │ │ ├── Database │ │ │ ├── Seeders │ │ │ │ └── .gitkeep │ │ │ ├── Factories │ │ │ │ ├── .gitkeep │ │ │ │ └── RelationshipFactory.php │ │ │ └── Migrations │ │ │ │ └── .gitkeep │ │ ├── Http │ │ │ ├── Controllers │ │ │ │ ├── .gitkeep │ │ │ │ └── Api │ │ │ │ │ └── .gitkeep │ │ │ ├── Middleware │ │ │ │ └── .gitkeep │ │ │ └── Requests │ │ │ │ └── .gitkeep │ │ ├── resources │ │ │ ├── assets │ │ │ │ ├── .gitkeep │ │ │ │ ├── js │ │ │ │ │ └── app.js │ │ │ │ └── sass │ │ │ │ │ └── app.scss │ │ │ ├── lang │ │ │ │ └── .gitkeep │ │ │ └── views │ │ │ │ ├── .gitkeep │ │ │ │ ├── index.blade.php │ │ │ │ └── layouts │ │ │ │ └── master.blade.php │ │ ├── module.json │ │ ├── composer.json │ │ └── webpack.mix.js │ ├── .gitignore │ ├── .prettierignore │ └── tsconfig.json └── config │ └── config.php ├── src ├── Commands │ ├── stubs │ │ ├── assets │ │ │ ├── js │ │ │ │ └── app.stub │ │ │ └── sass │ │ │ │ └── app.stub │ │ ├── component-view.stub │ │ ├── scaffold │ │ │ └── config.stub │ │ ├── partials │ │ │ ├── pages │ │ │ │ ├── dt-column.stub │ │ │ │ ├── dt-column.date.stub │ │ │ │ ├── dt-column.datetime.stub │ │ │ │ └── dt-column.boolean.stub │ │ │ ├── morph-to.stub │ │ │ ├── belongs-to.stub │ │ │ └── seeder │ │ │ │ └── permissions.stub │ │ ├── js │ │ │ └── pages │ │ │ │ ├── fields │ │ │ │ ├── text.stub │ │ │ │ ├── number.stub │ │ │ │ ├── checkbox.stub │ │ │ │ ├── switch.stub │ │ │ │ ├── textarea.stub │ │ │ │ ├── mask.stub │ │ │ │ ├── date.stub │ │ │ │ ├── rich-select.stub │ │ │ │ ├── datetime.stub │ │ │ │ ├── autocomplete.stub │ │ │ │ └── password.stub │ │ │ │ └── show-fields │ │ │ │ ├── default.stub │ │ │ │ ├── relationship.stub │ │ │ │ ├── date.stub │ │ │ │ ├── datetime.stub │ │ │ │ └── boolean.stub │ │ ├── controller-plain.stub │ │ ├── views │ │ │ ├── index.stub │ │ │ └── master.stub │ │ ├── json.stub │ │ ├── policy.plain.stub │ │ ├── seeder.stub │ │ ├── resource.stub │ │ ├── unit-test.stub │ │ ├── middleware.stub │ │ ├── resource-collection.stub │ │ ├── feature-test.stub │ │ ├── composer.stub │ │ ├── webpack.stub │ │ ├── provider.stub │ │ ├── migration │ │ │ ├── plain.stub │ │ │ ├── add.stub │ │ │ ├── delete.stub │ │ │ ├── create.stub │ │ │ └── drop.stub │ │ ├── event.stub │ │ ├── factory.stub │ │ ├── job.stub │ │ ├── listener-duck.stub │ │ ├── component-class.stub │ │ ├── listener.stub │ │ ├── listener-queued-duck.stub │ │ ├── listener-queued.stub │ │ ├── mail.stub │ │ ├── routes │ │ │ ├── web.stub │ │ │ ├── web.roles.stub │ │ │ ├── web.users.stub │ │ │ ├── web.permissions.stub │ │ │ ├── api.stub │ │ │ ├── api.users.stub │ │ │ ├── api.permissions.stub │ │ │ └── api.roles.stub │ │ ├── job-queued.stub │ │ ├── auth-provider.stub │ │ ├── rule.stub │ │ ├── repository.stub │ │ ├── repository.users.stub │ │ ├── repository.permissions.stub │ │ └── repository.roles.stub │ └── UnUseCommand.php ├── Generators │ └── Generator.php ├── Exceptions │ ├── InvalidJsonException.php │ ├── ModuleNotFoundException.php │ ├── FileAlreadyExistException.php │ ├── InvalidAssetPath.php │ └── InvalidActivatorClass.php ├── Contracts │ ├── PublisherInterface.php │ └── RunableInterface.php ├── Support │ └── Config │ │ └── GenerateConfigReader.php ├── Lumen │ ├── LumenFileRepository.php │ └── Module.php ├── Laravel │ └── LaravelFileRepository.php ├── Facades │ └── Module.php ├── Traits │ ├── CanClearModulesCache.php │ ├── MigrationLoaderTrait.php │ └── ModuleCommandTrait.php ├── Routing │ └── Controller.php ├── Providers │ ├── ContractsServiceProvider.php │ └── BootstrapServiceProvider.php ├── Process │ └── Runner.php ├── Publishing │ ├── AssetPublisher.php │ ├── LangPublisher.php │ └── MigrationPublisher.php ├── Collection.php └── helpers.php ├── .github ├── FUNDING.yml └── workflows │ └── php.yml ├── .travis.yml ├── CHANGELOG.md ├── .idea ├── workspace.xml ├── acacia.iml └── modules.xml └── .editorconfig /.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Config/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Console/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Routes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/Config/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/Jobs/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/Models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/Routes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/Config/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/Jobs/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/Models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/Routes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/acacia.sqlite.latest: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Commands/stubs/assets/js/app.stub: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/.prettierrc.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/Jobs/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Jobs/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Providers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Tests/Unit/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/Jobs/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/Console/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/Js/Pages/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/Policies/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/Providers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/tests/Unit/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/Console/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/Js/Pages/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/Policies/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/Providers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/tests/Unit/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Commands/stubs/assets/sass/app.stub: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/Config/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/Console/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/Js/Pages/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/Models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/Policies/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/Providers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/Routes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Config/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Console/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Js/Pages/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Policies/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Providers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Routes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/tests/Unit/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/Jobs/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Database/Seeders/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Http/Controllers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Http/Middleware/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Http/Requests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Resources/lang/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Resources/views/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Tests/Feature/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/Config/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/Console/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/Js/Pages/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/Models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/Policies/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/Providers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/Routes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/tests/Unit/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/Database/Seeders/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/Http/Controllers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/Http/Middleware/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/Http/Requests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/Repositories/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/resources/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/resources/lang/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/resources/views/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/tests/Feature/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/Database/Seeders/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/Http/Controllers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/Http/Middleware/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/Http/Requests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/Repositories/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/resources/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/resources/lang/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/resources/views/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/tests/Feature/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/Http/Requests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/Repositories/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/resources/lang/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/tests/Feature/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/tests/Unit/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Http/Middleware/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Http/Requests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Repositories/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/resources/lang/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/resources/views/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/tests/Feature/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/Config/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/Console/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/Jobs/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/Models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/Routes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/Config/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/Console/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/Js/Pages/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/Models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/Policies/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/Providers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/Routes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/tests/Unit/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Database/Migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Database/factories/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/Http/Middleware/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/Http/Requests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/Repositories/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/resources/lang/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/resources/views/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/tests/Feature/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/Database/Factories/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/Database/Migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/Http/Controllers/Api/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/resources/assets/js/app.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/resources/assets/sass/app.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/Database/Factories/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/Database/Migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/Http/Controllers/Api/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/resources/assets/js/app.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Users/resources/assets/sass/app.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | vendor 3 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/Database/Factories/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/Database/Migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/Database/Seeders/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/Http/Controllers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/Http/Middleware/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/resources/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/resources/assets/js/app.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/resources/views/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Database/Factories/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Database/Migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Database/Seeders/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Http/Controllers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Http/Controllers/Api/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/resources/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/resources/assets/js/app.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/Js/Pages/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/Policies/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/Providers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/Repositories/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/tests/Unit/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/Http/Middleware/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/Http/Requests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/Repositories/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/resources/lang/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/resources/views/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/tests/Feature/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/Database/Factories/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/Database/Migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/Database/Seeders/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/Http/Controllers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/Http/Controllers/Api/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/resources/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/resources/assets/js/app.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/Http/Controllers/Api/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/resources/assets/sass/app.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/resources/assets/sass/app.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/Database/Seeders/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/Http/Controllers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/Http/Middleware/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/Http/Requests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/resources/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/resources/assets/js/app.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/resources/lang/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/resources/views/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/tests/Feature/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/Database/Factories/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/Database/Migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/Database/Seeders/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/Http/Controllers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/Http/Controllers/Api/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/resources/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/resources/assets/js/app.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Database/.gitignore: -------------------------------------------------------------------------------- 1 | acacia.sqlite 2 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/resources/assets/sass/app.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/Database/Factories/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/Database/Migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/Http/Controllers/Api/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/resources/assets/sass/app.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/resources/assets/sass/app.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /publishes/acacia/.prettierignore: -------------------------------------------------------------------------------- 1 | # Ignore artifacts: 2 | build 3 | coverage 4 | -------------------------------------------------------------------------------- /src/Commands/stubs/component-view.stub: -------------------------------------------------------------------------------- 1 |
2 | 3 |
4 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: coolsam726 4 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Config/config.php: -------------------------------------------------------------------------------- 1 | 'Acacia' 5 | ]; 6 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/Config/config.php: -------------------------------------------------------------------------------- 1 | "Roles", 5 | ]; 6 | -------------------------------------------------------------------------------- /publishes/acacia/Users/Config/config.php: -------------------------------------------------------------------------------- 1 | "Users", 5 | ]; 6 | -------------------------------------------------------------------------------- /src/Commands/stubs/scaffold/config.stub: -------------------------------------------------------------------------------- 1 | '$STUDLY_NAME$' 5 | ]; 6 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/Config/config.php: -------------------------------------------------------------------------------- 1 | "AcaciaFields", 5 | ]; 6 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Config/config.php: -------------------------------------------------------------------------------- 1 | "AcaciaMenus", 5 | ]; 6 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/Config/config.php: -------------------------------------------------------------------------------- 1 | "Permissions", 5 | ]; 6 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | php: 3 | - '8.0' 4 | - '8.1' 5 | - hhvm # on Trusty only 6 | - nightly 7 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/Config/config.php: -------------------------------------------------------------------------------- 1 | "AcaciaSchematics", 5 | ]; 6 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | All Notable changes to `acacia-generator` will be documented in this file. 4 | 5 | ## Next 6 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/Config/config.php: -------------------------------------------------------------------------------- 1 | "AcaciaRelationships", 5 | ]; 6 | -------------------------------------------------------------------------------- /src/Commands/stubs/partials/pages/dt-column.stub: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/savannabits/acacia/HEAD/publishes/acacia/Core/Js/images/logo.png -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/images/pay-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/savannabits/acacia/HEAD/publishes/acacia/Core/Js/images/pay-bg.jpg -------------------------------------------------------------------------------- /src/Generators/Generator.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/Commands/stubs/js/pages/show-fields/default.stub: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ $MODEL_FIELD$ || '-'}} 4 | 5 | -------------------------------------------------------------------------------- /src/Exceptions/ModuleNotFoundException.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/Commands/stubs/js/pages/show-fields/relationship.stub: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{$MODEL_FIELD$ || '-'}} 4 | 5 | -------------------------------------------------------------------------------- /src/Exceptions/FileAlreadyExistException.php: -------------------------------------------------------------------------------- 1 | morphTo(); 4 | } 5 | -------------------------------------------------------------------------------- /src/Commands/stubs/controller-plain.stub: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/Commands/stubs/js/pages/fields/switch.stub: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 |
5 | -------------------------------------------------------------------------------- /src/Commands/stubs/js/pages/fields/textarea.stub: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 |
5 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Resources/views/components/label.blade.php: -------------------------------------------------------------------------------- 1 | @props(['value']) 2 | 3 | 6 | -------------------------------------------------------------------------------- /src/Commands/stubs/js/pages/fields/mask.stub: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 |
5 | -------------------------------------------------------------------------------- /src/Commands/stubs/partials/belongs-to.stub: -------------------------------------------------------------------------------- 1 | public function $METHOD$() : \Illuminate\Database\Eloquent\Relations\BelongsTo 2 | { 3 | return $this->belongsTo($MODEL$::class, '$FK$','$RELATED_KEY$'); 4 | } 5 | -------------------------------------------------------------------------------- /src/Commands/stubs/js/pages/show-fields/date.stub: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ $MODEL_FIELD$ ? dayjs($MODEL_FIELD$).format("MMM DD, YYYY") : "-" }} 4 | 5 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Resources/views/components/card.blade.php: -------------------------------------------------------------------------------- 1 |
2 |
3 | {{$slot}} 4 |
5 |
6 | -------------------------------------------------------------------------------- /src/Commands/stubs/js/pages/show-fields/datetime.stub: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ $MODEL_FIELD$ ? dayjs($MODEL_FIELD$).format("MMM DD, YYYY hh:mm A") : "-" }} 4 | 5 | -------------------------------------------------------------------------------- /src/Commands/stubs/js/pages/fields/date.stub: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 |
5 | -------------------------------------------------------------------------------- /src/Commands/stubs/js/pages/fields/rich-select.stub: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 |
5 | -------------------------------------------------------------------------------- /publishes/acacia/Core/jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": ".", 4 | "paths": { 5 | "@/*": ["Resources/js/*"] 6 | } 7 | }, 8 | "exclude": ["node_modules", "public"] 9 | } 10 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Resources/css/additional-styles/theme.scss: -------------------------------------------------------------------------------- 1 | .form-input, 2 | .form-textarea, 3 | .form-multiselect, 4 | .form-select, 5 | .form-checkbox, 6 | .form-radio { 7 | 8 | &:focus { 9 | @apply ring-0; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /.idea/workspace.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Resources/views/components/auth-session-status.blade.php: -------------------------------------------------------------------------------- 1 | @props(['status']) 2 | 3 | @if ($status) 4 |
merge(['class' => 'font-medium text-sm text-green-600']) }}> 5 | {{ $status }} 6 |
7 | @endif 8 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Resources/views/components/dropdown-link.blade.php: -------------------------------------------------------------------------------- 1 | merge(['class' => 'block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out']) }}>{{ $slot }} 2 | -------------------------------------------------------------------------------- /src/Commands/stubs/views/index.stub: -------------------------------------------------------------------------------- 1 | @extends('$LOWER_NAME$::layouts.master') 2 | 3 | @section('content') 4 |

Hello World

5 | 6 |

7 | This view is loaded from acacia: {!! config('$LOWER_NAME$.name') !!} 8 |

9 | @endsection 10 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/resources/views/index.blade.php: -------------------------------------------------------------------------------- 1 | @extends('roles::layouts.master') 2 | 3 | @section('content') 4 |

Hello World

5 | 6 |

7 | This view is loaded from acacia: {!! config('roles.name') !!} 8 |

9 | @endsection 10 | -------------------------------------------------------------------------------- /publishes/acacia/Users/resources/views/index.blade.php: -------------------------------------------------------------------------------- 1 | @extends('users::layouts.master') 2 | 3 | @section('content') 4 |

Hello World

5 | 6 |

7 | This view is loaded from acacia: {!! config('users.name') !!} 8 |

9 | @endsection 10 | -------------------------------------------------------------------------------- /src/Commands/stubs/js/pages/fields/datetime.stub: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 |
5 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/resources/views/index.blade.php: -------------------------------------------------------------------------------- 1 | @extends('menus::layouts.master') 2 | 3 | @section('content') 4 |

Hello World

5 | 6 |

7 | This view is loaded from acacia: {!! config('menus.name') !!} 8 |

9 | @endsection 10 | -------------------------------------------------------------------------------- /src/Contracts/PublisherInterface.php: -------------------------------------------------------------------------------- 1 | Hello World 5 | 6 |

7 | This view is loaded from acacia: {!! config('fields.name') !!} 8 |

9 | @endsection 10 | -------------------------------------------------------------------------------- /src/Commands/stubs/js/pages/show-fields/boolean.stub: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/resources/views/index.blade.php: -------------------------------------------------------------------------------- 1 | @extends('permissions::layouts.master') 2 | 3 | @section('content') 4 |

Hello World

5 | 6 |

7 | This view is loaded from acacia: {!! config('permissions.name') !!} 8 |

9 | @endsection 10 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/resources/views/index.blade.php: -------------------------------------------------------------------------------- 1 | @extends('schematics::layouts.master') 2 | 3 | @section('content') 4 |

Hello World

5 | 6 |

7 | This view is loaded from acacia: {!! config('schematics.name') !!} 8 |

9 | @endsection 10 | -------------------------------------------------------------------------------- /src/Contracts/RunableInterface.php: -------------------------------------------------------------------------------- 1 | false]) 2 | 3 | merge(['class' => 'rounded-md shadow-sm border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50']) !!}> 4 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/resources/views/index.blade.php: -------------------------------------------------------------------------------- 1 | @extends('relationships::layouts.master') 2 | 3 | @section('content') 4 |

Hello World

5 | 6 |

7 | This view is loaded from acacia: {!! config('relationships.name') !!} 8 |

9 | @endsection 10 | -------------------------------------------------------------------------------- /src/Commands/stubs/partials/pages/dt-column.date.stub: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/Components/InputError.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 14 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/module.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Roles", 3 | "alias": "roles", 4 | "description": "", 5 | "keywords": [], 6 | "priority": 0, 7 | "providers": ["Acacia\\Roles\\Providers\\RolesServiceProvider"], 8 | "aliases": {}, 9 | "files": [], 10 | "requires": [] 11 | } 12 | -------------------------------------------------------------------------------- /publishes/acacia/Users/module.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Users", 3 | "alias": "users", 4 | "description": "", 5 | "keywords": [], 6 | "priority": 0, 7 | "providers": ["Acacia\\Users\\Providers\\UsersServiceProvider"], 8 | "aliases": {}, 9 | "files": [], 10 | "requires": [] 11 | } 12 | -------------------------------------------------------------------------------- /.idea/acacia.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Resources/views/index.blade.php: -------------------------------------------------------------------------------- 1 | 2 | Acacia Core Module 3 |
4 |

5 | This view is loaded from acacia 6 |

7 |
8 |
9 | -------------------------------------------------------------------------------- /src/Commands/stubs/partials/pages/dt-column.datetime.stub: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/composables/debounce.ts: -------------------------------------------------------------------------------- 1 | export const useDebounce = () => { 2 | let timeout:any = null; 3 | return function (fn: Function, delayMs: number = 500) { 4 | clearTimeout(timeout); 5 | timeout = setTimeout(() => { 6 | fn(); 7 | }, delayMs); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/Exceptions/InvalidAssetPath.php: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 13 | -------------------------------------------------------------------------------- /src/Commands/stubs/partials/pages/dt-column.boolean.stub: -------------------------------------------------------------------------------- 1 | 3 | 7 | 8 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/module.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AcaciaFields", 3 | "alias": "acacia-fields", 4 | "description": "", 5 | "keywords": [], 6 | "priority": 0, 7 | "providers": ["Acacia\\AcaciaFields\\Providers\\FieldsServiceProvider"], 8 | "aliases": {}, 9 | "files": [], 10 | "requires": [] 11 | } 12 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/module.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Permissions", 3 | "alias": "permissions", 4 | "description": "", 5 | "keywords": [], 6 | "priority": 0, 7 | "providers": ["Acacia\\Permissions\\Providers\\PermissionsServiceProvider"], 8 | "aliases": {}, 9 | "files": [], 10 | "requires": [] 11 | } 12 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/module.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AcaciaSchematics", 3 | "alias": "acacia-schematics", 4 | "description": "", 5 | "keywords": [], 6 | "priority": 0, 7 | "providers": ["Acacia\\AcaciaSchematics\\Providers\\SchematicsServiceProvider"], 8 | "aliases": {}, 9 | "files": [], 10 | "requires": [] 11 | } 12 | -------------------------------------------------------------------------------- /src/Lumen/LumenFileRepository.php: -------------------------------------------------------------------------------- 1 | 2 |
3 | {{ $logo }} 4 |
5 | 6 |
7 | {{ $slot }} 8 |
9 | 10 | -------------------------------------------------------------------------------- /src/Laravel/LaravelFileRepository.php: -------------------------------------------------------------------------------- 1 | belongsTo(Schematic::class); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Traits/CanClearModulesCache.php: -------------------------------------------------------------------------------- 1 | forget(config('modules.cache.key')); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Resources/views/dashboard.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ __('Dashboard') }} 4 | 5 | 6 |
7 |
8 | 9 | Welcome to your dashboard, powered by Acacia 10 | 11 |
12 |
13 |
14 | -------------------------------------------------------------------------------- /src/Commands/stubs/seeder.stub: -------------------------------------------------------------------------------- 1 | call("OthersTableSeeder"); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/Routing/Controller.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | -------------------------------------------------------------------------------- /src/Commands/stubs/resource.stub: -------------------------------------------------------------------------------- 1 | assertTrue(true); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Resources/views/components/button.blade.php: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/Components/DropdownLink.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 16 | -------------------------------------------------------------------------------- /publishes/acacia/Core/module.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "Sam Maosa ", 3 | "title": "Core", 4 | "name": "Core", 5 | "alias": "core", 6 | "description": "Acacia's core module", 7 | "keywords": [], 8 | "priority": 0, 9 | "providers": [ 10 | "Acacia\\Core\\Providers\\AcaciaServiceProvider" 11 | ], 12 | "aliases": {}, 13 | "files": [ 14 | "Utilities/helpers.php" 15 | ], 16 | "requires": [] 17 | } 18 | -------------------------------------------------------------------------------- /src/Commands/stubs/middleware.stub: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Models/Relationship.php: -------------------------------------------------------------------------------- 1 | belongsTo(Schematic::class); 15 | } 16 | public function related(): BelongsTo 17 | { 18 | return $this->belongsTo(Schematic::class,"related_id"); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/webpack.mix.js: -------------------------------------------------------------------------------- 1 | const dotenvExpand = require("dotenv-expand"); 2 | dotenvExpand( 3 | require("dotenv").config({ path: "../../.env" /*, debug: true*/ }) 4 | ); 5 | 6 | const mix = require("laravel-mix"); 7 | require("laravel-mix-merge-manifest"); 8 | 9 | mix.setPublicPath("../../public").mergeManifest(); 10 | 11 | mix.js(__dirname + "/Resources/assets/js/app.js", "js/relationships.js").sass( 12 | __dirname + "/Resources/assets/sass/app.scss", 13 | "css/relationships.css" 14 | ); 15 | 16 | if (mix.inProduction()) { 17 | mix.version(); 18 | } 19 | -------------------------------------------------------------------------------- /src/Commands/stubs/factory.stub: -------------------------------------------------------------------------------- 1 | call(AcaciaMenuSeeder::class); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/Components/Button.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 17 | -------------------------------------------------------------------------------- /src/Commands/stubs/listener.stub: -------------------------------------------------------------------------------- 1 | app[RepositoryInterface::class]->boot(); 16 | } 17 | 18 | /** 19 | * Register the provider. 20 | */ 21 | public function register(): void 22 | { 23 | $this->app[RepositoryInterface::class]->register(); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Database/Factories/MenuFactory.php: -------------------------------------------------------------------------------- 1 | 2 |
3 |
Whoops! Something went wrong.
4 | 5 |
    6 |
  • {{ error }}
  • 7 |
8 |
9 | 10 | 11 | 24 | -------------------------------------------------------------------------------- /publishes/config/config.php: -------------------------------------------------------------------------------- 1 | env('ACACIA_ROUTE_PREFIX','admin'), 8 | 'sidebar' => [ 9 | 'heading' => env("ACACIA_SIDEBAR_HEADING","Acacia Backend"), 10 | ], 11 | "seeder" => [ 12 | "seed_menu" => env('ACACIA_SEED_MENU',true), 13 | ], 14 | 'dev_modules' => explode(",", env('ACACIA_DEV_MODULES','AcaciaFields,AcaciaSchematics,AcaciaRelationships')), 15 | 'special_modules' => explode(",", env('ACACIA_SPECIAL_MODULES','Core')), 16 | 'finished_modules' => explode(",", env('ACACIA_FINISHED_MODULES','')), 17 | ]; 18 | -------------------------------------------------------------------------------- /src/Commands/stubs/views/master.stub: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Module $STUDLY_NAME$ 8 | 9 | {{-- Laravel Mix - CSS File --}} 10 | {{-- --}} 11 | 12 | 13 | 14 | @yield('content') 15 | 16 | {{-- Laravel Mix - JS File --}} 17 | {{-- --}} 18 | 19 | 20 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/Database/Factories/PermissionFactory.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Module Roles 8 | 9 | {{-- Laravel Mix - CSS File --}} 10 | {{-- --}} 11 | 12 | 13 | 14 | @yield('content') 15 | 16 | {{-- Laravel Mix - JS File --}} 17 | {{-- --}} 18 | 19 | 20 | -------------------------------------------------------------------------------- /publishes/acacia/Users/resources/views/layouts/master.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Module Users 8 | 9 | {{-- Laravel Mix - CSS File --}} 10 | {{-- --}} 11 | 12 | 13 | 14 | @yield('content') 15 | 16 | {{-- Laravel Mix - JS File --}} 17 | {{-- --}} 18 | 19 | 20 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Resources/views/layouts/master.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Module Acacia 8 | 9 | {{-- Laravel Mix - CSS File --}} 10 | {{-- --}} 11 | 12 | 13 | 14 | @yield('content') 15 | 16 | {{-- Laravel Mix - JS File --}} 17 | {{-- --}} 18 | 19 | 20 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/resources/views/layouts/master.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Module Fields 8 | 9 | {{-- Laravel Mix - CSS File --}} 10 | {{-- --}} 11 | 12 | 13 | 14 | @yield('content') 15 | 16 | {{-- Laravel Mix - JS File --}} 17 | {{-- --}} 18 | 19 | 20 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/resources/views/layouts/master.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Module Menus 8 | 9 | {{-- Laravel Mix - CSS File --}} 10 | {{-- --}} 11 | 12 | 13 | 14 | @yield('content') 15 | 16 | {{-- Laravel Mix - JS File --}} 17 | {{-- --}} 18 | 19 | 20 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/Database/Factories/SchematicFactory.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Module Permissions 8 | 9 | {{-- Laravel Mix - CSS File --}} 10 | {{-- --}} 11 | 12 | 13 | 14 | @yield('content') 15 | 16 | {{-- Laravel Mix - JS File --}} 17 | {{-- --}} 18 | 19 | 20 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/Routes/web.php: -------------------------------------------------------------------------------- 1 | middleware(["auth:sanctum"]) 16 | ->as("acacia.auth.") 17 | ->group(function () { 18 | Route::resource("roles", "RoleController"); 19 | }); 20 | -------------------------------------------------------------------------------- /publishes/acacia/Users/Routes/web.php: -------------------------------------------------------------------------------- 1 | middleware(["auth:sanctum"]) 16 | ->as("acacia.auth.") 17 | ->group(function () { 18 | Route::resource("users", "UserController"); 19 | }); 20 | -------------------------------------------------------------------------------- /src/Commands/stubs/listener-queued.stub: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Module Schematics 8 | 9 | {{-- Laravel Mix - CSS File --}} 10 | {{-- --}} 11 | 12 | 13 | 14 | @yield('content') 15 | 16 | {{-- Laravel Mix - JS File --}} 17 | {{-- --}} 18 | 19 | 20 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Resources/views/components/nav-link.blade.php: -------------------------------------------------------------------------------- 1 | @props(['active']) 2 | 3 | @php 4 | $classes = ($active ?? false) 5 | ? 'inline-flex items-center px-1 pt-1 border-b-2 border-primary bg-primary text-sm font-bold leading-5 text-gray-200 focus:outline-none focus:border-gray-300 transition duration-150 ease-in-out' 6 | : 'inline-flex items-center px-1 pt-1 border-b-2 border-transparent text-sm font-medium leading-5 text-gray-50 hover:text-gray-300 hover:border-gray-300 focus:outline-none focus:text-gray-700 focus:border-gray-300 transition duration-150 ease-in-out'; 7 | @endphp 8 | 9 | merge(['class' => $classes]) }}> 10 | {{ $slot }} 11 | 12 | -------------------------------------------------------------------------------- /src/Commands/stubs/mail.stub: -------------------------------------------------------------------------------- 1 | view('view.name'); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Process/Runner.php: -------------------------------------------------------------------------------- 1 | module = $module; 19 | } 20 | 21 | /** 22 | * Run the given command. 23 | * 24 | * @param string $command 25 | */ 26 | public function run($command) 27 | { 28 | passthru($command); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/resources/views/layouts/master.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Module Relationships 8 | 9 | {{-- Laravel Mix - CSS File --}} 10 | {{-- --}} 11 | 12 | 13 | 14 | @yield('content') 15 | 16 | {{-- Laravel Mix - JS File --}} 17 | {{-- --}} 18 | 19 | 20 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/Routes/web.php: -------------------------------------------------------------------------------- 1 | middleware(["auth:sanctum"]) 16 | ->as("acacia.auth.") 17 | ->group(function () { 18 | Route::resource("permissions", "PermissionController"); 19 | }); 20 | -------------------------------------------------------------------------------- /src/Commands/stubs/routes/web.stub: -------------------------------------------------------------------------------- 1 | middleware(['auth:sanctum']) 16 | ->as('acacia.backend.') 17 | ->group(function() { 18 | Route::resource('$LOWER_NAME$', '$STUDLY_SINGULAR_NAME$Controller'); 19 | }); 20 | -------------------------------------------------------------------------------- /src/Commands/stubs/routes/web.roles.stub: -------------------------------------------------------------------------------- 1 | middleware(['auth:sanctum']) 16 | ->as('acacia.auth.') 17 | ->group(function() { 18 | Route::resource('$LOWER_NAME$', '$STUDLY_SINGULAR_NAME$Controller'); 19 | }); 20 | -------------------------------------------------------------------------------- /src/Commands/stubs/routes/web.users.stub: -------------------------------------------------------------------------------- 1 | middleware(['auth:sanctum']) 16 | ->as('acacia.auth.') 17 | ->group(function() { 18 | Route::resource('$LOWER_NAME$', '$STUDLY_SINGULAR_NAME$Controller'); 19 | }); 20 | -------------------------------------------------------------------------------- /src/Commands/stubs/routes/web.permissions.stub: -------------------------------------------------------------------------------- 1 | middleware(['auth:sanctum']) 16 | ->as('acacia.auth.') 17 | ->group(function() { 18 | Route::resource('$LOWER_NAME$', '$STUDLY_SINGULAR_NAME$Controller'); 19 | }); 20 | -------------------------------------------------------------------------------- /src/Commands/stubs/migration/add.stub: -------------------------------------------------------------------------------- 1 | model_class); 14 | } 15 | 16 | 17 | /** 18 | * @return HasMany 19 | */ 20 | public function fields(): HasMany 21 | { 22 | return $this->hasMany(Field::class); 23 | } 24 | 25 | public function relationships(): HasMany 26 | { 27 | return $this->hasMany(Relationship::class,"schematic_id","id"); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Resources/views/app.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {{ config('app.name', 'Acacia') }} 9 | 10 | 11 | 12 | 13 | 14 | @routes 15 | {{ vite_assets() }} 16 | 17 | 18 | @inertia 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/Commands/stubs/migration/create.stub: -------------------------------------------------------------------------------- 1 | id(); 18 | $FIELDS$ 19 | $table->timestamps(); 20 | }); 21 | } 22 | 23 | /** 24 | * Reverse the migrations. 25 | * 26 | * @return void 27 | */ 28 | public function down() 29 | { 30 | Schema::dropIfExists('$TABLE$'); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Routes/web.php: -------------------------------------------------------------------------------- 1 | middleware(["auth:sanctum"]) 16 | ->as("acacia.g-panel.") 17 | ->group(function () { 18 | Route::resource("acacia-menus", "AcaciaMenuController")->parameters(["acacia-menus" => "menu"]); 19 | }); 20 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Resources/views/components/responsive-nav-link.blade.php: -------------------------------------------------------------------------------- 1 | @props(['active']) 2 | 3 | @php 4 | $classes = ($active ?? false) 5 | ? 'block pl-3 pr-4 py-2 border-l-4 border-indigo-400 text-base font-medium text-indigo-700 bg-indigo-50 focus:outline-none focus:text-indigo-800 focus:bg-indigo-100 focus:border-indigo-700 transition duration-150 ease-in-out' 6 | : 'block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300 focus:outline-none focus:text-gray-800 focus:bg-gray-50 focus:border-gray-300 transition duration-150 ease-in-out'; 7 | @endphp 8 | 9 | merge(['class' => $classes]) }}> 10 | {{ $slot }} 11 | 12 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/Routes/web.php: -------------------------------------------------------------------------------- 1 | middleware(["auth:sanctum"]) 16 | ->as("acacia.g-panel.") 17 | ->group(function () { 18 | Route::resource("acacia-fields", "AcaciaFieldController")->parameters(["acacia-fields" => "field"]); 19 | }); 20 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Traits/ProcessesColumns.php: -------------------------------------------------------------------------------- 1 | listTableIndexes($table); 16 | foreach ($indexListing as $index) { 17 | if (count($cols = $index->getColumns()) === 2) { 18 | if (\Str::endsWith($cols[0],"_type") && \Str::endsWith($cols[1],"_id")) { 19 | $morphs[] = $index; 20 | } 21 | } 22 | } 23 | return $morphs; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/Commands/stubs/migration/drop.stub: -------------------------------------------------------------------------------- 1 | bigIncrements('id'); 28 | $FIELDS$ 29 | $table->timestamps(); 30 | }); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Commands/stubs/job-queued.stub: -------------------------------------------------------------------------------- 1 | middleware(["auth:sanctum"]) 16 | ->as("acacia.g-panel.") 17 | ->group(function () { 18 | Route::resource("acacia-schematics", "AcaciaSchematicController")->parameters(["acacia-schematics" => "schematic"]); 19 | }); 20 | -------------------------------------------------------------------------------- /src/Commands/stubs/auth-provider.stub: -------------------------------------------------------------------------------- 1 | 14 | */ 15 | protected $policies = [ 16 | $MODEL$::class => $MODEL$Policy::class, 17 | ]; 18 | 19 | /** 20 | * Register any authentication / authorization services. 21 | * 22 | * @return void 23 | */ 24 | public function boot() 25 | { 26 | // $this->registerPolicies(); 27 | // 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/Routes/web.php: -------------------------------------------------------------------------------- 1 | middleware(["auth:sanctum"]) 16 | ->as("acacia.g-panel.") 17 | ->group(function () { 18 | Route::resource("acacia-relationships", "AcaciaRelationshipController")->parameters(["acacia-relationships" => "relationship"]); 19 | }); 20 | -------------------------------------------------------------------------------- /src/Commands/UnUseCommand.php: -------------------------------------------------------------------------------- 1 | laravel['modules']->forgetUsed(); 29 | 30 | $this->info('Previous module used successfully forgotten.'); 31 | 32 | return 0; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/Layouts/Guest.vue: -------------------------------------------------------------------------------- 1 | 14 | 15 | 26 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Resources/views/components/css-header.blade.php: -------------------------------------------------------------------------------- 1 | {{----}} 2 | get('css')[0]; 8 | return $prefix.$css; 9 | } 10 | ?> 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/Providers/AuthServiceProvider.php: -------------------------------------------------------------------------------- 1 | 14 | */ 15 | protected $policies = [ 16 | Role::class => RolePolicy::class, 17 | ]; 18 | 19 | /** 20 | * Register any authentication / authorization services. 21 | * 22 | * @return void 23 | */ 24 | public function boot() 25 | { 26 | // $this->registerPolicies(); 27 | // 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /publishes/acacia/Users/Providers/AuthServiceProvider.php: -------------------------------------------------------------------------------- 1 | 14 | */ 15 | protected $policies = [ 16 | User::class => UserPolicy::class, 17 | ]; 18 | 19 | /** 20 | * Register any authentication / authorization services. 21 | * 22 | * @return void 23 | */ 24 | public function boot() 25 | { 26 | // $this->registerPolicies(); 27 | // 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /publishes/acacia/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | "compilerOptions": { 4 | 5 | "target": "esnext", 6 | 7 | "module": "es2022", 8 | 9 | "moduleResolution": "node", 10 | 11 | "baseUrl": "./", 12 | 13 | "strict": true, // Enable strict type-checking options 14 | 15 | "skipLibCheck": true, // Skip type checking of declaration files 16 | 17 | "noImplicitAny": false, // Bypass raising errors on `any` type 18 | "paths": { 19 | "@/*": ["./Core/Js/*"], 20 | "~/*": ["./Core/Resources/*"], 21 | "@Acacia/*": ["./*"] 22 | }, 23 | "allowSyntheticDefaultImports": true, 24 | }, 25 | "exclude": ["node_modules"], 26 | "include": ["/**/*"] // Frontend paths pattern 27 | 28 | } 29 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Providers/AuthServiceProvider.php: -------------------------------------------------------------------------------- 1 | 14 | */ 15 | protected $policies = [ 16 | Menu::class => MenuPolicy::class, 17 | ]; 18 | 19 | /** 20 | * Register any authentication / authorization services. 21 | * 22 | * @return void 23 | */ 24 | public function boot() 25 | { 26 | // $this->registerPolicies(); 27 | // 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/Commands/stubs/routes/api.stub: -------------------------------------------------------------------------------- 1 | middleware(['auth:sanctum']) 18 | ->as('api.v1.') 19 | ->group(function() { 20 | Route::get('$LOWER_NAME$/dt','Api\$STUDLY_SINGULAR_NAME$Controller@dt')->name('$LOWER_NAME$.dt'); 21 | Route::apiResource('$LOWER_NAME$', 'Api\$STUDLY_SINGULAR_NAME$Controller'); 22 | }); 23 | -------------------------------------------------------------------------------- /src/Commands/stubs/routes/api.users.stub: -------------------------------------------------------------------------------- 1 | middleware(['auth:sanctum']) 18 | ->as('api.v1.') 19 | ->group(function() { 20 | Route::get('$LOWER_NAME$/dt','Api\$STUDLY_SINGULAR_NAME$Controller@dt')->name('$LOWER_NAME$.dt'); 21 | Route::apiResource('$LOWER_NAME$', 'Api\$STUDLY_SINGULAR_NAME$Controller'); 22 | }); 23 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/Providers/AuthServiceProvider.php: -------------------------------------------------------------------------------- 1 | 14 | */ 15 | protected $policies = [ 16 | Field::class => FieldPolicy::class, 17 | ]; 18 | 19 | /** 20 | * Register any authentication / authorization services. 21 | * 22 | * @return void 23 | */ 24 | public function boot() 25 | { 26 | // $this->registerPolicies(); 27 | // 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/Commands/stubs/routes/api.permissions.stub: -------------------------------------------------------------------------------- 1 | middleware(['auth:sanctum']) 18 | ->as('api.v1.') 19 | ->group(function() { 20 | Route::get('$LOWER_NAME$/dt','Api\$STUDLY_SINGULAR_NAME$Controller@dt')->name('$LOWER_NAME$.dt'); 21 | Route::apiResource('$LOWER_NAME$', 'Api\$STUDLY_SINGULAR_NAME$Controller'); 22 | }); 23 | -------------------------------------------------------------------------------- /src/Commands/stubs/rule.stub: -------------------------------------------------------------------------------- 1 | middleware(["auth:sanctum"]) 18 | ->as("api.v1.") 19 | ->group(function () { 20 | Route::get("permissions/dt", "Api\PermissionController@dt")->name( 21 | "permissions.dt" 22 | ); 23 | Route::apiResource("permissions", "Api\PermissionController"); 24 | }); 25 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaMenus/Routes/api.php: -------------------------------------------------------------------------------- 1 | middleware(["auth:sanctum"]) 18 | ->as("api.v1.") 19 | ->group(function () { 20 | Route::get("acacia-menus/dt", "Api\AcaciaMenuController@dt")->name("acacia-menus.dt"); 21 | Route::apiResource("acacia-menus", "Api\AcaciaMenuController")->parameters(["acacia-menus" => "menu"]); 22 | }); 23 | -------------------------------------------------------------------------------- /publishes/acacia/Permissions/Providers/AuthServiceProvider.php: -------------------------------------------------------------------------------- 1 | 14 | */ 15 | protected $policies = [ 16 | Permission::class => PermissionPolicy::class, 17 | ]; 18 | 19 | /** 20 | * Register any authentication / authorization services. 21 | * 22 | * @return void 23 | */ 24 | public function boot() 25 | { 26 | // $this->registerPolicies(); 27 | // 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/Lumen/Module.php: -------------------------------------------------------------------------------- 1 | getSnakeName() . '_module.php', $this->app->basePath('storage/app/') . 'services.php'); 16 | } 17 | 18 | /** 19 | * {@inheritdoc} 20 | */ 21 | public function registerProviders(): void 22 | { 23 | foreach ($this->get('providers', []) as $provider) { 24 | $this->app->register($provider); 25 | } 26 | } 27 | 28 | /** 29 | * {@inheritdoc} 30 | */ 31 | public function registerAliases(): void 32 | { 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaFields/Routes/api.php: -------------------------------------------------------------------------------- 1 | middleware(["auth:sanctum"]) 18 | ->as("api.v1.") 19 | ->group(function () { 20 | Route::get("acacia-fields/dt", "Api\AcaciaFieldController@dt")->name("acacia-fields.dt"); 21 | Route::apiResource("acacia-fields", "Api\AcaciaFieldController")->parameters(["acacia-fields" => "field"]); 22 | }); 23 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/Providers/AuthServiceProvider.php: -------------------------------------------------------------------------------- 1 | 14 | */ 15 | protected $policies = [ 16 | Schematic::class => SchematicPolicy::class, 17 | ]; 18 | 19 | /** 20 | * Register any authentication / authorization services. 21 | * 22 | * @return void 23 | */ 24 | public function boot() 25 | { 26 | // $this->registerPolicies(); 27 | // 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/Components/Checkbox.vue: -------------------------------------------------------------------------------- 1 | 5 | 6 | 33 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/Pages/Backend/Index.vue: -------------------------------------------------------------------------------- 1 | 14 | 15 | 27 | 28 | 31 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/partials/SidebarLinkGroup.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 31 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/Providers/AuthServiceProvider.php: -------------------------------------------------------------------------------- 1 | 14 | */ 15 | protected $policies = [ 16 | Relationship::class => RelationshipPolicy::class, 17 | ]; 18 | 19 | /** 20 | * Register any authentication / authorization services. 21 | * 22 | * @return void 23 | */ 24 | public function boot() 25 | { 26 | // $this->registerPolicies(); 27 | // 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/Commands/stubs/js/pages/fields/password.stub: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 | 14 | 15 |
16 |
17 | 18 | 19 |
20 | 21 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/Components/AcaciaDd.vue: -------------------------------------------------------------------------------- 1 | 17 | 18 | 30 | 31 | 34 | -------------------------------------------------------------------------------- /src/Commands/stubs/repository.stub: -------------------------------------------------------------------------------- 1 | relationships = $BELONGS_TO_ARRAY$; 22 | } 23 | public static function init($MODEL_NAME$ $model): static 24 | { 25 | $instance = new static(); 26 | $instance->model = $model; 27 | return $instance; 28 | } 29 | public function setModel($MODEL_NAME$ $model): static 30 | { 31 | $this->model = $model; 32 | return $this; 33 | } 34 | $METHODS$ 35 | } 36 | -------------------------------------------------------------------------------- /src/Traits/MigrationLoaderTrait.php: -------------------------------------------------------------------------------- 1 | laravel['modules']->getModulePath($module) . $this->getMigrationGeneratorPath(); 15 | 16 | $files = $this->laravel['files']->glob($path . '/*_*.php'); 17 | 18 | foreach ($files as $file) { 19 | $this->laravel['files']->requireOnce($file); 20 | } 21 | } 22 | 23 | /** 24 | * Get migration generator path. 25 | * 26 | * @return string 27 | */ 28 | protected function getMigrationGeneratorPath() 29 | { 30 | return $this->laravel['modules']->config('paths.generator.migration'); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/partials/tasks/TasksGroups.vue: -------------------------------------------------------------------------------- 1 | 20 | 21 | -------------------------------------------------------------------------------- /src/Commands/stubs/repository.users.stub: -------------------------------------------------------------------------------- 1 | relationships = $BELONGS_TO_ARRAY$; 22 | } 23 | public static function init($MODEL_NAME$ $model): static 24 | { 25 | $instance = new static(); 26 | $instance->model = $model; 27 | return $instance; 28 | } 29 | public function setModel($MODEL_NAME$ $model): static 30 | { 31 | $this->model = $model; 32 | return $this; 33 | } 34 | $METHODS$ 35 | } 36 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaSchematics/Routes/api.php: -------------------------------------------------------------------------------- 1 | middleware(["auth:sanctum"]) 18 | ->as("api.v1.") 19 | ->group(function () { 20 | Route::get("acacia-schematics/dt", "Api\AcaciaSchematicController@dt")->name( 21 | "acacia-schematics.dt" 22 | ); 23 | Route::apiResource("acacia-schematics", "Api\AcaciaSchematicController")->parameters(["acacia-schematics" => "schematic"]); 24 | }); 25 | -------------------------------------------------------------------------------- /src/Publishing/AssetPublisher.php: -------------------------------------------------------------------------------- 1 | repository->assetPath($this->module->getLowerName()); 24 | } 25 | 26 | /** 27 | * Get source path. 28 | * 29 | * @return string 30 | */ 31 | public function getSourcePath() 32 | { 33 | return $this->getModule()->getExtraPath( 34 | GenerateConfigReader::read('assets')->getPath() 35 | ); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/Commands/stubs/repository.permissions.stub: -------------------------------------------------------------------------------- 1 | relationships = $BELONGS_TO_ARRAY$; 21 | } 22 | public static function init($MODEL_NAME$ $model): static 23 | { 24 | $instance = new static(); 25 | $instance->model = $model; 26 | return $instance; 27 | } 28 | public function setModel($MODEL_NAME$ $model): static 29 | { 30 | $this->model = $model; 31 | return $this; 32 | } 33 | $METHODS$ 34 | } 35 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Resources/views/components/stats-card.blade.php: -------------------------------------------------------------------------------- 1 | @props(['borderClass' => 'border-green-400','backgroundClass' => 'bg-green-400']) 2 |
merge(['class' => "widget w-full p-4 rounded-lg bg-white border-l-4 $borderClass"])}}> 3 |
4 |
merge(['class' => "icon w-14 h-14 p-2 flex items-center justify-center text-white rounded-full mr-3 $backgroundClass"])}}> 5 | @if(isset($icon)) 6 | {{$icon}} 7 | @else 8 | 9 | 10 | 11 | @endif 12 |
13 |
14 | {{$slot}} 15 |
16 |
17 |
18 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Models/AcaciaMenu.php: -------------------------------------------------------------------------------- 1 | belongsTo(static::class,'parent_id'); 26 | } 27 | public function children() : HasMany { 28 | return $this->hasMany(static::class,"parent_id"); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /publishes/acacia/Users/Routes/api.php: -------------------------------------------------------------------------------- 1 | middleware(["auth:sanctum"]) 18 | ->as("api.v1.") 19 | ->group(function () { 20 | Route::match(['put','post'],'users/{user}/role',[\Acacia\Users\Http\Controllers\Api\UserController::class,'toggleRole'])->name('users.user.toggle-role'); 21 | Route::get("users/dt", "Api\UserController@dt")->name("users.dt"); 22 | Route::apiResource("users", "Api\UserController"); 23 | }); 24 | -------------------------------------------------------------------------------- /publishes/acacia/AcaciaRelationships/Routes/api.php: -------------------------------------------------------------------------------- 1 | middleware(["auth:sanctum"]) 18 | ->as("api.v1.") 19 | ->group(function () { 20 | Route::get("acacia-relationships/dt", "Api\AcaciaRelationshipController@dt")->name( 21 | "acacia-relationships.dt" 22 | ); 23 | Route::apiResource("acacia-relationships", "Api\AcaciaRelationshipController")->parameters(["acacia-relationships" => "relationship"]); 24 | }); 25 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/Components/NavLink.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 26 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/partials/actions/SearchForm.vue: -------------------------------------------------------------------------------- 1 | 13 | 14 | -------------------------------------------------------------------------------- /src/Publishing/LangPublisher.php: -------------------------------------------------------------------------------- 1 | module->getLowerName(); 24 | 25 | return base_path("resources/lang/{$name}"); 26 | } 27 | 28 | /** 29 | * Get source path. 30 | * 31 | * @return string 32 | */ 33 | public function getSourcePath() 34 | { 35 | return $this->getModule()->getExtraPath( 36 | GenerateConfigReader::read('lang')->getPath() 37 | ); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /publishes/acacia/Roles/Routes/api.php: -------------------------------------------------------------------------------- 1 | middleware(["auth:sanctum"]) 18 | ->as("api.v1.") 19 | ->group(function () { 20 | Route::post( 21 | "roles/{role}/assign-permission", 22 | "Api\RoleController@assignPermission" 23 | )->name("roles.role.assign-permission"); 24 | Route::get("roles/dt", "Api\RoleController@dt")->name("roles.dt"); 25 | Route::apiResource("roles", "Api\RoleController"); 26 | }); 27 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Resources/views/components/guest.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {{ config('app.name', 'Laravel') }} 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | {{ $slot }} 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /src/Commands/stubs/repository.roles.stub: -------------------------------------------------------------------------------- 1 | relationships = $BELONGS_TO_ARRAY$; 23 | } 24 | public static function init($MODEL_NAME$ $model): static 25 | { 26 | $instance = new static(); 27 | $instance->model = $model; 28 | return $instance; 29 | } 30 | public function setModel($MODEL_NAME$ $model): static 31 | { 32 | $this->model = $model; 33 | return $this; 34 | } 35 | $METHODS$ 36 | } 37 | -------------------------------------------------------------------------------- /.github/workflows/php.yml: -------------------------------------------------------------------------------- 1 | name: PHP Composer 2 | 3 | on: 4 | push: 5 | branches: [ main ] 6 | pull_request: 7 | branches: [ main ] 8 | 9 | jobs: 10 | build: 11 | 12 | runs-on: ubuntu-latest 13 | 14 | steps: 15 | - uses: actions/checkout@v2 16 | 17 | - name: Validate composer.json and composer.lock 18 | run: composer validate --strict 19 | 20 | - name: Cache Composer packages 21 | id: composer-cache 22 | uses: actions/cache@v2 23 | with: 24 | path: vendor 25 | key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} 26 | restore-keys: | 27 | ${{ runner.os }}-php- 28 | 29 | - name: Install dependencies 30 | run: composer install --prefer-dist --no-progress 31 | 32 | # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit" 33 | # Docs: https://getcomposer.org/doc/articles/scripts.md 34 | 35 | # - name: Run test suite 36 | # run: composer run-script test 37 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/Components/ResponsiveNavLink.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 26 | -------------------------------------------------------------------------------- /src/Collection.php: -------------------------------------------------------------------------------- 1 | items; 18 | } 19 | 20 | /** 21 | * Get the collection of items as a plain array. 22 | * 23 | * @return array 24 | */ 25 | public function toArray() 26 | { 27 | return array_map(function ($value) { 28 | if ($value instanceof Module) { 29 | $attributes = $value->json()->getAttributes(); 30 | $attributes["path"] = $value->getPath(); 31 | 32 | return $attributes; 33 | } 34 | 35 | return $value instanceof Arrayable ? $value->toArray() : $value; 36 | }, $this->items); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/Commands/stubs/routes/api.roles.stub: -------------------------------------------------------------------------------- 1 | middleware(['auth:sanctum']) 18 | ->as('api.v1.') 19 | ->group(function() { 20 | Route::post('$LOWER_NAME$/{role}/assign-permission', 'Api\$STUDLY_SINGULAR_NAME$Controller@assignPermission')->name('$LOWER_NAME$.role.assign-permission'); 21 | Route::get('$LOWER_NAME$/dt','Api\$STUDLY_SINGULAR_NAME$Controller@dt')->name('$LOWER_NAME$.dt'); 22 | Route::apiResource('$LOWER_NAME$', 'Api\$STUDLY_SINGULAR_NAME$Controller'); 23 | }); 24 | -------------------------------------------------------------------------------- /src/Publishing/MigrationPublisher.php: -------------------------------------------------------------------------------- 1 | migrator = $migrator; 21 | parent::__construct($migrator->getModule()); 22 | } 23 | 24 | /** 25 | * Get destination path. 26 | * 27 | * @return string 28 | */ 29 | public function getDestinationPath() 30 | { 31 | return $this->repository->config('paths.migration'); 32 | } 33 | 34 | /** 35 | * Get source path. 36 | * 37 | * @return string 38 | */ 39 | public function getSourcePath() 40 | { 41 | return $this->migrator->getPath(); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/Pages/Backend/AcaciaMenu/Edit.vue: -------------------------------------------------------------------------------- 1 | 14 | 15 | 22 | 30 | 31 | 34 | -------------------------------------------------------------------------------- /src/helpers.php: -------------------------------------------------------------------------------- 1 | findOrFail($name); 7 | 8 | return $module->getPath() . ($path ? DIRECTORY_SEPARATOR . $path : $path); 9 | } 10 | } 11 | 12 | if (! function_exists('config_path')) { 13 | /** 14 | * Get the configuration path. 15 | * 16 | * @param string $path 17 | * @return string 18 | */ 19 | function config_path($path = '') 20 | { 21 | return app()->basePath() . '/config' . ($path ? DIRECTORY_SEPARATOR . $path : $path); 22 | } 23 | } 24 | 25 | if (! function_exists('public_path')) { 26 | /** 27 | * Get the path to the public folder. 28 | * 29 | * @param string $path 30 | * @return string 31 | */ 32 | function public_path($path = '') 33 | { 34 | return app()->make('path.public') . ($path ? DIRECTORY_SEPARATOR . ltrim($path, DIRECTORY_SEPARATOR) : $path); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/partials/PaginationClassic.vue: -------------------------------------------------------------------------------- 1 | 18 | 19 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/components/SearchForm.vue: -------------------------------------------------------------------------------- 1 | 13 | 14 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/components/PaginationClassic.vue: -------------------------------------------------------------------------------- 1 | 18 | 19 | -------------------------------------------------------------------------------- /src/Traits/ModuleCommandTrait.php: -------------------------------------------------------------------------------- 1 | argument('module') ?: app('modules')->getUsedNow(); 15 | 16 | $module = app('modules')->findOrFail($module); 17 | 18 | return $module->getStudlyName(); 19 | } 20 | 21 | public function getSpecialModules(): array { 22 | return [ 23 | "Users", 24 | "Roles", 25 | "Permissions" 26 | ]; 27 | } 28 | public function isSpecial(): bool 29 | { 30 | return in_array($this->getModuleName(),$this->getSpecialModules()); 31 | } 32 | public function deriveSpecialStub($baseStub): string 33 | { 34 | $specialName = \Str::slug($this->getModuleName()); 35 | return $this->isSpecial() ? "/$baseStub.$specialName.stub" : "/$baseStub.stub"; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /publishes/acacia/Core/Js/bootstrap.ts: -------------------------------------------------------------------------------- 1 | import lodash from "lodash"; 2 | import axios0 from "axios"; 3 | 4 | window._ = lodash; 5 | 6 | /** 7 | * We'll load the axios HTTP library which allows us to easily issue requests 8 | * to our Laravel back-end. This library automatically handles sending the 9 | * CSRF token as a header based on the value of the "XSRF" token cookie. 10 | */ 11 | 12 | window.axios = axios0; 13 | window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; 14 | 15 | /** 16 | * Echo exposes an expressive API for subscribing to channels and listening 17 | * for events that are broadcast by Laravel. Echo and event broadcasting 18 | * allows your team to easily build robust real-time web applications. 19 | */ 20 | 21 | // import Echo from 'laravel-echo'; 22 | 23 | // window.Pusher = require('pusher-js'); 24 | 25 | // window.Echo = new Echo({ 26 | // broadcaster: 'pusher', 27 | // key: process.env.MIX_PUSHER_APP_KEY, 28 | // cluster: process.env.MIX_PUSHER_APP_CLUSTER, 29 | // forceTLS: true 30 | // }); 31 | --------------------------------------------------------------------------------