2017 © Pedro Peláez
 

library pages

A Laravel 5.5+ Page model, migration and controller.

image

larapages/pages

A Laravel 5.5+ Page model, migration and controller.

  • Monday, February 26, 2018
  • by nickdekruijk
  • Repository
  • 1 Watchers
  • 2 Stars
  • 46 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 15 % Grown

The README.md

Latest Stable Version Latest Unstable Version Monthly Downloads Total Downloads License, (*1)

Pages

A Laravel 6 Page model, migration and controller. It can be used as a foundation for a website. A basic view with navigation and a footer is also included., (*2)

Installation

After a clean Laravel 6.x installation and configuring your database install the package with:, (*3)

composer require --dev nickdekruijk/pages, (*4)

Depending on your project you may need some or all of these packages too (remove what you don't need):, (*5)

composer require nickdekruijk/admin nickdekruijk/settings nickdekruijk/minify doctrine/dbal laravel/helpers arcanedev/laravel-lang, (*6)

Then run the following command to create a Page model, PageController, migration and media folder. Add -h to see more options on how to change the default names., (*7)

php artisan pages:install, (*8)

Review the new database/migrations/yyyy_mm_dd_hhmmss_create_pages_table.php migration file and adapt to your needs, then run the migration to create the pages table with:, (*9)

php artisan migrate, (*10)

Create admin user

Create a user with admin privileges using:, (*11)

php artisan admin:user user@domain.com, (*12)

Add Routes

Add Route::get('{any}', 'PageController@route')->where('any', '(.*)'); to your routes/web.php file., (*13)

Dummy data

You can add some sample pages by running php artisan db:seed --class=NickDeKruijk\\Pages\\PageSeeder, (*14)

License

Admin is open-sourced software licensed under the MIT license., (*15)

The Versions

26/02 2018

dev-master

9999999-dev http://www.larapages.nl

A Laravel 5.5+ Page model, migration and controller.

  Sources   Download

MIT

The Requires

 

by Nick de Kruijk

laravel php pages larapages

07/02 2018

1.0.0-beta

1.0.0.0-beta http://www.larapages.nl

A Laravel 5.5+ Page model, migration and controller.

  Sources   Download

MIT

The Requires

 

by Nick de Kruijk

laravel php pages larapages