derduesseldorf / fontello
fontello api package for laravel 4.x
Requires
- php: >=5.3.0
- illuminate/support: 4.1.*
This package is not auto-updated.
Last update: 2024-12-17 08:44:56 UTC
README
#Fontello API Package for Laravel A simple module for Laravel in early status.
##Usage This package gives you the ability to use fontello api directly in your laravel application.
###Basic Setup Require this package in your composer.json
"derduesseldorf/fontello" : "1.1.1.0"
After updating composer add the ServiceProvider to the providers in your app/config/app.php
"Derduesseldord\Fontello\FontelloServiceProvider"
Add the Facade to the aliases in app/config/app.php
"Fontello" => "Derduesseldorf\Fontello\FontelloFacade"
###Create basic directory structure
-
config.json
the config.json will be placed in "public/assets/fontello" -
Css files
All css files will be placed in "public/assets/fontello/css" -
Font files
All font files will be placed in "public/assets/fontello/font" -
Temp folder
The temporary data will be placed in "public/uploads/"
Make sure to setup "public/assets" and "public/uploads"
##Examples Open "derduesseldorf/fontello/controllers/FontelloImportController" to see how fontello for Laravel works. You are free to choose where you want to place your app logic.