Laravel: When to Use Dependency Injection, Services and Static Methods
Sometimes we need to put application logic somewhere outside of Controllers or Models, it’s usually are so-called Services. But there are a few ways to use them – as static “helpers”, as objects, or with Dependency Injection. Let’s see when each one is appropriate.
New Demo Project: Laravel School Timetable Calendar
We notice more and more use-cases for our QuickAdminPanel, and here’s a new demo-project we created to manage a school timetable. It doesn’t necessarily have to be school, it can be applied to any organization with a weekly timetable schedule.
LaraTweets: Public Twitter Feed about Laravel – Filtered to Your Needs
Twitter is the best way to read Laravel news. But it’s impossible to read all the feed, it’s massive! Also, it’s full of spam ads. So I decided to build a FILTERED Twitter feed, and today presenting to you… LaraTweets!
Laravel Notifications With “database” Driver: Internal Messages
Laravel Notifications system is a wonderful way to notify users via email or SMS. But a less-known feature is notification driver called “database”, which allows saving the messages inside the application’s DB, and then show them inside the system, as internal message alerts. This article will show you how.
Laravel: New User Registration – Seed Example “Dummy” Data
Quite often in projects, new users should see an example data, to be able to understand what exactly the system does, and how to use it. How to implement that “fake data” seeding in Laravel, on every new user registration?
Laravel Datatables: Position Re-Ordering with Drag/Drop
One of the features requested in our QuickAdminPanel, was drag’n’drop re-ordering of the entries in Datatables. For now, we decided to create a quick demo-project which would show you how to add this functionality.
Usually in every datatable there is a column with buttons – Edit, View, Delete. But often visually it’s more appealing to “hide” them and just view some icon (like three vertical dots) and show those actions only on click of this icon. How to implement that in Laravel, and specifically in QuickAdminPanel?
Laravel API Documentation with OpenAPI/Swagger
As a part of our QuickAdminPanel, we also generate APIs. But your goal is also to provide documentation for front-end who would consume that API, right? OpenAPI (ex. Swagger) is a well-known standard for that. How to apply it to a Laravel project?
Laravel AJAX Datatables: Multi-Rows Cells with Images
When we say Datatables, we mostly assume it’s a table with data. Text-based data – like name, email, description, and buttons to edit/delete. But in reality, it’s more convenient to have more complex data in one cell. Let’s take a look at how to build it.
Laravel: How to Add Background Color to Datatables Columns
Datatables are powerful to list the data, but adding some colors would help users to visually filter data better. One of the most common examples is to view status of the record, with some background color. This article will show you how.
Try our QuickAdminPanel Generator!
How it works:
1. Generate panel online
No coding required, you just choose menu items.
2. Download code & install locally
Install with simple "composer install" and "php artisan migrate".
3. Customize anything!
We give all the code, so you can change anything after download.