laravel-folio
laravel-folio copied to clipboard
π A flexible Laravel content management system for developers.
A customizable Laravel content-management system.
You can see it working at Nono.MA, Getting Simple, Burns.art, RCA Media Studies, or Luis Ruiz PadrΓ³n.
Installation Β· Laravel 9.x
- Add alternate VCS repos for packages without Laravel 9.x support to
composer.json.
"repositories": [
{
"type": "vcs",
"url": "https://github.com/nonoesp/laravel-imgix"
},
{
"type": "vcs",
"url": "https://github.com/macpaw/laravel-feed"
}
],
composer require nonoesp/folio:dev-masterphp artisan folio:installphp artisan migratephp artisan migrate --path=vendor/mpociot/versionable/src/migrations- Add the following middleware to
app/Http/Kernel.php:
protected $middlewareGroups = [
'web' => [
/// nonoesp/folio
\Nonoesp\Folio\Middleware\SetLocales::class,
],
];
- Party! π₯³
Build Folio's Assets with Laravel Mix
You can fully customize the JavaScript and SCSS assets.
- Publish Folio's assets
php artisan vendor:publish --provider="Nonoesp\Folio\FolioServiceProvider" --tag=dev-assets
- Install npm dependencies
npm install nonoesp/folio-scss font-awesome vue vue-resource vue-focus lodash jquery jquery-lazy jquery-unveil validate-js vuedraggable @wordpress/wordcount animate.cssnpm install
- Build the assets with Laravel Mix and configurate it with
webpack.mix.jsnpm run prodΒ· to build for productionnpm run devΒ· to build for developmentnpm run watchΒ· to rebuild on changes with BrowserSync
Customize Folio's Config, Views, Translations & Assets
Configure Folio by publishing config/folio.php.
# Config
php artisan vendor:publish --provider="Nonoesp\Folio\FolioServiceProvider" --tag=config
# Views
php artisan vendor:publish --provider="Nonoesp\Folio\FolioServiceProvider" --tag=views
# Translations
php artisan vendor:publish --provider="Nonoesp\Folio\FolioServiceProvider" --tag=lang
# JavaScript & SCSS assets
php artisan vendor:publish --provider="Nonoesp\Folio\FolioServiceProvider" --tag=dev-assets
Other
- Subscriber email notifications can be configured in
folio.subscribersand setting up Amazon SES inservices.ses. - Backups can be configured by adding disks to
backup.destination.disks(having those disks configured infilesystems, say Dropbox, DigitalOcean, or AWS S3).
License
Folio is licensed under the MIT license.
Me
Hi. I'm Nono MartΓnez Alonso (Nono.MA), a creative technologist with a penchant for simplicity.
I host Getting Simple β a podcast about simple living, lifestyle design, technology, and culture β sketch things that call my attention, write about enjoying a slower life, and record creative coding and machine intelligence live streams on YouTube.
Join us on Discord. π£
If you find Folio useful in any way, reach out on Twitter at @nonoesp. Cheers!
Elsewhere
π Getting Simple
π Podcast
π£ Ask Questions
π¬ Discord
π¨π»βπ¨ Sketches
βπ» Blog
π¦ Twitter
πΈ Instagram
πΈ YouTube