Comments (5)
I think it is already have this functionality by default, did you try it?
from avatar.
yes, and i got this error
Trying to access array offset on value of type int
@ vendor/laravolt/avatar/src/Avatar.php:419
from avatar.
What about pass string "123" instead of int 123 ? Is it possible to do it in your code?
from avatar.
Or you can cast the number into string:
Avatar::create((string)135)->toBase64();
from avatar.
Avatar::create((string)135)->toBase64();
yeah that did work, thanx for the quick help.
from avatar.
Related Issues (20)
- Class name must be a valid object or a string HOT 16
- Text is not centered horizontally HOT 2
- How heavy is the process? HOT 2
- Right to left script support HOT 8
- Laravel 8.x Support HOT 3
- Serialization of 'GdImage' is not allowed HOT 4
- setTheme() border size bug HOT 3
- config is empty when using facade HOT 1
- Arabic (utf8) not working HOT 6
- Generates only default "background" and "foreground" color
- Laravel 9 support HOT 4
- Using SVG with & (ampersand) breaks XML
- font error HOT 1
- got this error HOT 3
- error while install Laravolt HOT 2
- SVGs have their width and height set rendering them unresponsive HOT 1
- Error using in Laravel Framework 9.47.0, Please help !!! HOT 1
- Laravel 10 HOT 12
- Install/usage help HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avatar.