One-To-Many with Soft-Deletes. Deleting Parent: Restrict or Cascade?
By default, in our QuickAdminPanel we generate all models with soft-deleting feature, from experience with clients we know – it’s better to save that deleted data “just in case”, than feel sorry for some weird accident. But then there is a question of how to delete data in relationships?
AJAX Datatables: Move View/Edit/Delete Column from Right to Left Side
While generating the tables in QuickAdminPanel, our last column is the one with links to View/Edit/Delete record. One of our customers asked: what if you want to have that column as first one, in the very beginning? Tricky part is how to do that with AJAX Datatable module.
Laravel + FullCalendar: Create/Edit Recurring Events
While working on calendar applications, and using our System Calendar module, we got a few questions from our customers, how to deal with events that occur regularly – every day, week or month. There are a few ways to approach this, and this article will show one of them.
Why it’s important to change APP_URL in Laravel .env file
By default, Laravel installation comes with .env.example file, which has default value APP_URL=http://localhost. I see many people forget to change it to real URL of your app, why is it important?
Laravel BelongsTo and BelongsToMany with Same Table: Possible? Worth it?
A few of QuickAdminPanel customers asked how to implement a situation when you need both one-to-many and many-to-many relationships to the same table. Like, for example, user belongs to many organizations but only one organization is founded by him. While we don’t have this ability…
8 Tools & Tips to Deliver Laravel Projects Quicker
Have you ever been late on a project delivery? Yeah, I know that stress feeling. In this article, I will share the tools and processes that helped me in my own Laravel developer journey, to deliver quicker.
Two Free Laravel 6 Roles-Permissions Starter Projects
Today we’ve upgraded two of our popular free demo-projects on Github that we had created back in 2017.
Add Two-Factor Email Verification to Laravel Auth
This is an example project where we will add unique verification sent via email, every time user logs in. At the end of the article, you will find link to free Github repository with full project code.
Master-Detail Form in Laravel + jQuery: Create Order With Products
It’s pretty easy to create a simple form in Laravel. But it’s harder to make it dynamic – the most common case is parent-child elements, like creating invoice and adding items dynamically in the same form. In this article, we will create a similar example – creating an order and adding products to it.
Select2 Dropdowns with Big Data: Load Options via AJAX + Laravel
In our QuickAdminPanel, we generate the dropdowns with Select2 jQuery library, which gives search capabilities.
But what if you have 1,000+ or more entries in that dropdown? It could potentially even crash your browser when loading.