easy admin bunfle symfony modify login page
namespace App\Controller\Admin;
use EasyCorp\Bundle\EasyAdminBundle\Config\Dashboard;
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractDashboardController;
class DashboardController extends AbstractDashboardController
{
// ...
public function configureDashboard(): Dashboard
{
return Dashboard::new()
// the name visible to end users
->setTitle('ACME Corp.')
// you can include HTML contents too (e.g. to link to an image)
->setTitle('<img src="..."> ACME <span class="text-small">Corp.</span>')
// the domain used by default is 'messages'
->setTranslationDomain('my-custom-domain')
// etc.
;
}
}
Also in PHP:
- SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; m ax key length is 767 bytes (SQL: alter table `users` add unique `users_email_unique`(`e mail`))
- console log php variable
- date remove 7 days php
- array reverse sequence pp
- Class 'App\Http\Controllers\Admin\Route' not found
- display date format in php
- cannot use font awesome in php mvc
- date increase 1 day
- core php redirect to page
- eloquent firstOrCreate
- apt-get install php 7.4
- check if date is within range php
- composer create-project laravel/laravel 8
- PHP Fatal error: Uncaught Error: Class 'IntlDateFormatter' not found in /var/www/html/magento/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121
- check if string has this word php
- console value in php
- convert a image to base64 data in php and show image
- check key exist array php
- artisan clear cahce
- Allowed memory size of 1610612736 bytes exhausted laragon
- extract the domain name from the current url in php
- a format of unique string to be generated in php
- console.log php variables
- create a directory in php if not exists