gurindersingh / icon-maker
Icon maker for Laravel webapp
1.0.6
2023-03-11 22:37 UTC
Requires
- php: ^8.1
- fabpot/goutte: ^4.0
- intervention/image: ^2.7
- laravel-zero/framework: ^9.2|^10.0
- nunomaduro/termwind: ^1.15
- spatie/image-optimizer: ^1.6
- symfony/dom-crawler: ^6.2
Requires (Dev)
- laravel/pint: ^1.2
- mockery/mockery: ^1.4.4
- pestphp/pest: ^1.21.3
README
Icon maker
Add required Icons
Add the following icons in your projectRoot/art/images/icon-maker
'favicon.png - required size 1024x1024', 'icon.png - required size 1024x1024', 'icon-maskable.png - required size 1024x1024', 'logo.png - PNG format Logo', 'logo.svg - SVG Logo', 'logo-sm.png - PNG format Logo small - just icon only', 'logo-sm.svg - SVG Logo small - just icon only', 'apple-tab-icon.svg - SVG Logo', 'splash.png - required size 8064 x 8064. We will resize it for all splash screens' // optional
Run command to create icons
In project root rOun following commands to create icons
icon-maker make:icon # to create icons icon-maker make:icon --splash # to create icons with splash icon-maker make:icon --splash --optimize # to create icons with splash
It will create following content or files
- icons in
public/assets/icons
- head.html at
public/assets/icons/head.html
- manifest.json at
public/manifest.json
- manifest.webmanifest at
public/manifest.webmanifest
Config (Optional)
Add icon-maker.json
file in root of your project. All are optional.
{ "configThemeLocation": "config/theme.php", "webManifestLocation": "public/manifest.webmanifest", "manifestJsonLocation": "public/manifest.json", "headHtmlLocation": "resources/views/common/head.blade.php", "headHtmlBladeLocation": "resources/views/common/head.blade.php", "destinationDirectory": "public/assets/icons" }