- Aesthetic User PHP — создайте привлекательный дизайн для вашего сайта
- 30 User Blank PFP Icon (Profile Picture) Aesthetic
- Aesthetic Blank PFP (Profile Picture)
- Saved searches
- Use saved searches to filter your results more quickly
- License
- fabian-tomischka/php-avatar-generator
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
- Ава юзер
Aesthetic User PHP — создайте привлекательный дизайн для вашего сайта
«Aesthetic user» в PHP можно понимать как создание пользовательского интерфейса с приятным внешним видом. Для этого можно использовать различные инструменты и технологии, такие как CSS, Bootstrap и JQuery.
CSS — это каскадные таблицы стилей, которые используются для применения стилей к HTML коду. Они позволяют изменять цвета, шрифты, отступы и другие параметры, которые могут улучшить внешний вид интерфейса. Например, можно изменить цвет фона, шрифты и размер текста на странице с помощью следующего кода:
Bootstrap — это фреймворк для разработки веб-приложений, который содержит набор готовых компонентов для упрощения создания пользовательского интерфейса. Он также предоставляет мощный инструментарий для создания адаптивного дизайна, что позволяет вашему интерфейсу работать на любом устройстве.
Например, чтобы создать простую форму ввода с помощью Bootstrap, можно использовать следующий код:
Этот код создаст форму с меткой «Ваше имя» и полем ввода, которое будет соответствовать стилю Bootstrap.
JQuery — это библиотека JavaScript, которая упрощает взаимодействие на стороне клиента. С помощью JQuery можно легко добавлять и удалять элементы, изменять их свойства и управлять ими при помощи событий.
Например, чтобы изменить фоновый цвет элемента при наведении курсора мыши на него, можно использовать следующий код:
$(document).ready(function()< $("div").mouseover(function()< $(this).css("background-color", "yellow"); >); $("div").mouseout(function()< $(this).css("background-color", "white"); >); >);
Этот код добавит обработчик событий для элементов
на странице и будет изменять их цвет на желтый при наведении курсора мыши, а затем возвращать их на белый цвет при выходе курсора за границы элемента.
Использование этих инструментов и технологий может значительно улучшить внешний вид вашего пользовательского интерфейса и сделать его более привлекательным для пользователей.
30 User Blank PFP Icon (Profile Picture) Aesthetic
Using social media has become a common thing, not only to communicate with others people, but playing social media can also be used to express yourself or just for fun. Even, some people get a job from social media.
As a medium to express ourselves, social media has many elements that we can take advantage of, using an interesting bio, establishing new contact, reflecting on identity, or maybe just expressing our feeling via profile picture.
Talk about profile pictures, in the recent trend, many people like to use a blank profile picture, sometimes also known as a Blank PFP.
Are you one of the people interested in using a blank profile picture? here are some collections that we have and you can download them for free.
Aesthetic Blank PFP (Profile Picture)
If you look at the trends on social media, there are several blank profile picture that is widely searched, like a blank default TikTok, blank Default WhatsApp, blank Default Instagram, and also blank pfp purple anime.
And for sure, you can find what you’re looking in here.
DOWNLOAD
name: 1. Blank TikTok Default PFP.jpg
type: image/jpeg
size: 12 KB
Dimensions: 500 by 500 pixels
DOWNLOAD
name: 2. Blank PFP Icon Instagram.jpg
type: image/jpeg
size: 14 KB
Dimensions: 635 by 629 pixels
DOWNLOAD
name: 3. Blank Profile Picture with The Question Mark.jpg
type: image/jpeg
size: 16 KB
Dimensions: 627 by 607 pixels
DOWNLOAD
name: 4. Green Blank Profile Picture with the Hearth.jpg
type: image/jpeg
size: 15 KB
Dimensions: 561 by 555 pixels
DOWNLOAD
name: 5 Blank Profile Picture with Heart like a Default.jpg
type: image/jpeg
size: 13 KB
Dimensions: 563 by 541 pixels
DOWNLOAD
name: 6. Couple Blank PFP with Heart.jpg
type: image/jpeg
size: 14 KB
Dimensions: 537 by 559 pixels
DOWNLOAD
name: 7. No Profile Picture Icon Aesthetic.jpg
type: image/jpeg
size: 99 KB
Dimensions: 552 by 545 pixels
DOWNLOAD
name: 8. Purple Blank PFP Devil Mode.jpg
type: image/jpeg
size: 129 KB
Dimensions: 560 by 563 pixels
DOWNLOAD
name: 9. Brown Blank Profile Picture.jpg
File type: image/jpeg
File size: 91 KB
Dimensions: 552 by 547 pixels
DOWNLOAD
name: 10. Blank Profile Picture with Hat.jpg
type: image/jpeg
size: 19 KB
Dimensions: 555 by 555 pixels
DOWNLOAD
name: 11. Blank Profile Picture Black.jpg
type: image/jpeg
size: 19 KB
Dimensions: 562 by 573 pixels
DOWNLOAD
name: 12. Blank PFP with text Game Over.jpg
File type: image/jpeg
File size: 33 KB
Dimensions: 561 by 561 pixels
DOWNLOAD
name: 13 The Heartbroken Devil Blank PFP.jpg
type: image/jpeg
size: 25 KB
Dimensions: 563 by 559 pixels
DOWNLOAD
name: 14. Blank PFP Anime Version.jpg
type: image/jpeg
size: 73 KB
Dimensions: 563 by 561 pixels
DOWNLOAD
name: 15. Blank Profile Picture for Boy with The Hat.jpg
type: image/jpeg
size: 24 KB
Dimensions: 563 by 557 pixels
DOWNLOAD
name: 16. Itachi Have no Face.jpg
type: image/jpeg
size: 24 KB
Dimensions: 559 by 555 pixels
DOWNLOAD
Name: 17. Blank PFP for KPOP Fans.jpg
type: image/jpeg
size: 38 KB
Dimensions: 561 by 557 pixels
DOWNLOAD
name: 18. NCT User PFP Blank Profile Picture.jpg
type: image/jpeg
size: 32 KB
Dimensions: 563 by 559 pixels
DOWNLOAD
name: 19. Blank Profile Picture Moon Version.jpg
type: image/jpeg
size: 43 KB
Dimensions: 561 by 559 pixels
DOWNLOAD
name: 20. Funny Blank Profile Picture.jpg
type: image/jpeg
size: 36 KB
Dimensions: 558 by 558 pixels
DOWNLOAD
name: 21. Blank Profile Picture for Girl Aesthetic.jpg
type: image/jpeg
size: 18 KB
Dimensions: 539 by 531 pixels
DOWNLOAD
name: 22. Beautiful Blank Profile Picture.jpg
type: image/jpeg
size: 35 KB
Dimensions: 561 by 553 pixels
DOWNLOAD
name: 23 Black Blank PFP Lunar eclipse Versioan.jpg
type: image/jpeg
size: 44 KB
Dimensions: 563 by 551 pixels
DOWNLOAD
name: 24. MV Perry Blank Icon Profil.jpg
type: image/jpeg
size: 15 KB
Dimensions: 420 by 413 pixels
DOWNLOAD
name: 25. Tanjiro Kamado Blank Icon.jpg
type: image/jpeg
size: 22 KB
Dimensions: 420 by 414 pixels
DOWNLOAD
name: 26. Mushroom Bunny for Cute Profile Picture.jpg
type: image/jpeg
size: 36 KB
Dimensions: 561 by 553 pixels
DOWNLOAD
name: 27. Mikey Sano Manjirou Blank Profile Picture.jpg
type: image/jpeg
size: 69 KB
Dimensions: 559 by 563 pixels
DOWNLOAD
name: 28. Takashi Mitsuya Blank Profile Picture.jpg
type: image/jpeg
size: 66 KB
Dimensions: 559 by 553 pixels
DOWNLOAD
name: 29. Blank PFP Anime Versioan.jpg
type: image/jpeg
size: 47 KB
Dimensions: 561 by 529 pixels
DOWNLOAD
name: 30. Anya Forger Have no Face.jpg
type: image/jpeg
size: 55 KB
Dimensions: 561 by 545 pixels
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Create colored avatars with letters in PHP
License
fabian-tomischka/php-avatar-generator
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
Display unique avatars based on the initials of your users names. Easy to use with loads of options to extend by yourself.
Require from composer and start using it!
composer require fabian-tomischka/php-avatar-generator
Quick-start with a simple line of code
use Fabito\AvatarGenerator\Avatar; $generator = new Avatar(); $avatar = $generator->name('Fabian Tomischka')->toJpeg();
You can also use a string instead of a given name. However, when providing a string, it will ignore any given whitespaces and always take the characters from the string directly.
// Will result in Fa on the avatar instead of FT $avatar = $generator->string('Fabian Tomischka')->toJpeg();
You can also access the image manager or canvas of the underlying Intervention/Image in case you need it
$manager = $generator->getImageManager(); $canvas = $generator->name('Fabian Tomischka')->getImageCanvas();
The package offers multiple ways of adjusting and tweaking the settings.
driver(‘driver’)
The driver which is used for generating the images. Currently supported: gd and imagick. Default: gd
$avatar = $generator->driver($generator::DRIVER_IMAGICK)->toBase64();
Change the dimensions of the avatar. Usually size will do the job. Default: 100px
$avatar = $generator->size(100)->toBase64();
backgroundColor(‘color’)
In case you do not want to use the default colors provided by the package you can manually set the color here
$avatar = $generator->backgroundColor('#000000')->toBase64();
fontColor(‘color’)
Change the font color. Default: #F7F7F7
$avatar = $generator->fontColor('#000000')->toBase64();
Change the font size on the avatar. Default: 42px
$avatar = $generator->fontSize(42)->toBase64();
In case you require less or more characters to be on the avatar. Default: 2
// Output: F $avatar = $generator->name('Fabian Tomischka')->length(1)->toBase64(); $avatar = $generator->string('FT')->length(1)->toBase64();
By default, the package comes with pre-installed OpenSans Light and Regular fonts. They usually do the job. In case you want to change your font, you can do that by calling the font method and providing a path to the new font:
$avatar = $generator->font('/dir/to/the/font.ttf')->name('Fabian Tomischka')->toBase64();
Make sure that the font is available as TTF!
For easy access the package offers multiple direct methods to access the image in different file formats.
$avatar = $generator->name('Fabian Tomischka')->toBase64(); // Base 64 $avatar = $generator->name('Fabian Tomischka')->toPng(); // PNG $avatar = $generator->name('Fabian Tomischka')->toJpeg(); // JPEG $avatar = $generator->name('Fabian Tomischka')->toWebp; // WebP
As mentioned above, in case you need access to the underlying manager or image, you can access them via
$manager = $generator->getImageManager(); $canvas = $generator->name('Fabian Tomischka')->getImageCanvas();
The package potentially offers you an option to generate rounded avatars.
$avatar = $generator->rounded()->name('Fabian Tomischka')->toBase64();
However I do highly suggest using border radius in CSS to display your avatar as a circle. Generating rounded avatars will always result in a lower quality.
- PHP 7.1.7 or higher
- Intervention/Image 2.4 or higher
- Imagick extension (in case you do not use the default GD)
About
Create colored avatars with letters in PHP
Ава юзер
Ава Юзер — это современный инструмент для работы с пользователями в социальных сетях. Он позволяет управлять аккаунтами и анализировать данные, чтобы повысить эффективность маркетинга. Ава Юзер помогает автоматизировать процессы, такие как постинг и мониторинг, а также предоставляет продвинутые инструменты для аналитики. С его помощью можно повысить эффективность работы и получить больше возможностей для успешного маркетинга.