helvetiapps / live-controls
Various controls for Laravel and Laravel Livewire
Requires (Dev)
- dev-main
- v1.8.23
- v1.8.22
- v1.8.21
- v1.8.20
- v1.8.19
- v1.8.18
- v1.8.17
- v1.8.16
- v1.8.15
- v1.8.14
- v1.8.13
- v1.8.12
- v1.8.11
- v1.8.10
- v1.8.9
- v1.8.8
- v1.8.7
- v1.8.6
- v1.8.5
- v1.8.4
- v1.8.3
- v1.8.2
- v1.8.1
- v1.8
- v1.7.10
- v1.7.9
- v1.7.8
- v1.7.7
- v1.7.6
- v1.7.5
- v1.7.4
- v1.7.3
- v1.7.2
- v1.7.1
- v1.7
- v1.6.8
- v1.6.7
- v1.6.6
- v1.6.5
- v1.6.4
- v1.6.3
- v1.6.2
- v1.6.1
- v1.6
- v1.5.16
- v1.5.15
- v1.5.14
- v1.5.13
- v1.5.12
- v1.5.11
- v1.5.10
- v1.5.9
- v1.5.8
- v1.5.7
- v1.5.6
- v1.5.5
- v1.5.4
- v1.5.3
- v1.5.2
- v1.5.1
- v1.5
- v1.4
- v1.3.14
- v1.3.13
- v1.3.12
- v1.3.11
- v1.3.10
- v1.3.9
- v1.3.8
- v1.3.7
- v1.3.6
- v1.3.5
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2
- v1.1.9
- v1.1.8
- v1.1.7
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1
- v1.0
- dev-nightly
This package is auto-updated.
Last update: 2023-09-27 13:13:59 UTC
README
Use https://github.com/live-controls instead! This library won't be updated any further...
Controls/Scripts/Helpers for Laravel and Livewire Those are free to use, but are mostly for my own projects so no full support guaranteed.
Check out the Documentation
Requirements
- Laravel 9+
- JetStream
- Livewire 2+
- Fortify
- JetStrap
Translations
- English (en)
- German (de)
- Brazilian Portuguese (pt_BR)
Admin Interface
A System providing an administration dashboard/interface to handle all the things here seperately
Content
- User Page where admins can add/edit/remove Users and give them Permissions
- User Group Page where admins can add/edit/remove Groups and give them Permissions
- Permissions Page where admins can add/edit/remove Permissions
- You can add custom livewire controls to the Admin Interface by adding them to the configuration file
Todo
- Add custom Dashboard (Maybe someday...)
- Add Analytics Page where admins can see analytics stuff
User Groups System
A System handling user groups
Content
- Usergroups per User
- Middleware for routes to check if user is in group (usergroup:group_key)
- Middleware for routes to check if user is admin (admin). Admin group can be set in config and Master can be set as well
- Artisan commands to add group and add/remove user from group: livecontrols:addgroup, livecontrols:setgroup, livecontrols:unsetgroup
- HasGroups trait for Users
- Colors can be asigned to User Groups
User Permissions System
A System handling permissions for users or user groups, developer can add specific permissions by keyword and specific actions based on them which will show up afterwards
Content
- Userpermissions per User/UserGroup
- PermissionsHandler Facade to check if user has permissions
- Artisan commands to add Permissions and add/remove user/usergroups from permissions: livecontrols:addpermission, livecontrols:setpermission, livecontrols:unsetpermission
- HasPermissions trait for Users
Todo
- Check if Subscription has expired inside the PermissionsHandler check
Support Tickets System
A System handling support tickets where users can send tickets and admins/moderators have access to answer them
Content
- Ticket Frontend for Users and Moderators. With route('livecontrols.support.index')
- SupportTickets with Title, Body, Priority and Status
- Configuration for "moderator" groups
- SupportTickets contain SupportMessages
- Moderators can change status of tickets
- Users can reopen tickets (sending messages will be disabled when ticket is closed)
- Configuration variable (support_reopen_tickets) if normal users can reopen ticket
Financial System
A System handling financial calculations and such
Content
- Fin class with useful functions (More functions will be added as time goes on)
- Cashflow object which handles financial cashflow (Includes CashflowItem class)
Todo
- FGTS Calculator (Maybe someday)
- ?
Payment System
A System handling different payment systems for e-commerce etc.
Content
- PagSeguro (testing) Redirect Checkout
- PagSeguro Objects with important informations: PaymentItem, PaymentReceiver, PaymentSender, ShippingInformation
- IUGU Transparent Checkout
- IUGU has the option to create a payment per PIX, Bank Slip or Credit Card and you can update a bill and remove it if it isn't already paid or due
- IUGU Objects with important informations: PaymentItem, PaymentSender
Todo
- Add IUGU Debit Card (If possible)
- Add PagSeguro Transparent Checkout (Depends on demand on projects)
- Add Sicoob/Credsete Handler (Depends on demand on projects)
- Take a look at Paymee and see if you can/want to include it
- Add PagSeguro production Redirect Checkout
Crypto
A System handling cryptography like encrypted database entries and such
Content
- Added IsEncrypted trait with createEncrypted(array $fields, array $ignoredFields = []), updateEncrypted(array $fields, array $ignoredFields = []) and decrypt(string ...$fields)
SweetAlert2
Simple implementation of SweetAlert2 popups.
Content
- Livewire Control (Blade Component didn't work). Add it to the body of your layout or the page you want to use it.
- Timer and (optional) progressbar to close the window automatically
- Added InputFields (Text, Numeric, Date, Time, Color, TextArea, Select, Radio, File) to Popups called by Livewire
- Added InputGroups which acts as a group of InputFields for easy implementation and creation
Todo
- Add option to call popup with custom options (Add a constructor for custom popups like in lagoon charts library, maybe with an aditional array $options or such)
- Add inputfields to popups called from controller (Needs callback)
- Add more types of inputfields (Radio, Checkbox, ...)
- Add to show loading spinner
didOpen: () => {
Swal.showLoading()
}
AutoCEP Input
An Input for CEP which would give you the informations for road, etc. based on CepAberto
Content
- GetCEP class
- AutoCep input - @livewire('livecontrols-autocep')
Masked Input
A masked input based on iMask
Content
- Masked Input livewire control - @livewire('livecontrols-masked-input')
Subscriptions
A system for adding subscriptions for certain "products"/plugins/systems inside the system.
Content
- Subscription System where users can subscribe to different subscriptions at once
- Config variables
- SubscriptionsHandler class to add/remove subscriptions from users, to check if subscription is valid and to check if user has a certain (valid) subscription
- Subscriptions inside Admin Interface
- Create/Edit/Delete Subscriptions in Admin Interface
- Middleware to check if user has subscription
- Subscriptions have permissions (Will fall into permissionscheck if active)
Todo
- Add subscriptions to groups
BBEditor
A BBEditor based on SCEditor (Probably generate own library out of this)
Content
- Simple BB Editor livewire control
Todo
- Add placeholders like in private system, but more dynamic
- Add ability to include the Image Gallery to the editor and when clicking on an image include it in the editor
- Add function to add images and save them to disk (Maybe someday)
Calendar
A Calendar based on FullCalendar.io
Content
- Livewire Control with @livewire('livecontrols-calendar')
- Added eventClick events
- Added different view options
Todo
- Add custom options for time shown etc.
- Add more options
- Make design better on mobile devices
Dynamic Pages
Pages with controls that can be dynamically added and positioned
Todo
- Add base system
User blocking/banning
Add a system to block users for a certain amount of time or ban them completely. This should be done not only by email, but by IP and other systems
Content
- Simple banning system with username/email blocking
Todo
- Add a blacklist of names
- Add blocking to Admin Interface
Analytics
Simple system to track user behaviour. NOT PRODUCTION READY
Content
- Analytics database table for requests
- Analytics Middleware
- Saving user informations (Identifier (IP/Hashed IP), Mobile or not, DateTime of visit, page visited, User-Agent, Preferred language, languages)
- Campaigns added which can be called by using a certain query key
- Actions added which can be called by code
Todo
- Dashboard
- Add Analytics to Admin Interface with Charts (Use lagoon-charts for it, but make it optional)
- Save cookie on user device (Optional)
Image Gallery/Handling
Content
- Simple image upload and management (get URL, get Path, remove). This is basically Storage in Laravel vanilla
- HasImages trait with ability to add avatar/image or specific images with column value
- Image Gallery with prototype design (view is publishable with livecontrols-imagegallery)
- Can select images in Image Gallery and an event 'imageSelectedForGallery{galleryId}' will be emitted
Todo
- Ability to show the images only for the user,
for a groupor for everyone - Ability to add (optional) title and description to images. Can be enabled in config
Utils Systemes
A System with different utilities to make life easier, can be everything that doesn't fit into the other Systemes
Content
- Utils class with various helpers
- Array class with various helpers
- BBCodes class with transform() method to transform bbcode to html
- ContaboHandler for simple tasks with Contabo. Read wiki for more informations
Todo
- ?