scubaclick / pages
Static and chronological pages for Laravel 4
This package's canonical repository appears to be gone and the package has been frozen as a result.
Requires
- php: >=5.3.0
- illuminate/database: 4.0.*
- illuminate/support: 4.0.*
- mews/purifier: dev-master
- scubaclick/feeder: dev-master
This package is auto-updated.
Last update: 2020-02-11 18:48:19 UTC
README
Add static and chronological pages to Laravel 4. Still being developed for ScubaClick, so handle with care for now!
Stable Version
v1.0
General Installation
Install by adding the following to the require block in composer.json:
"scubaclick/pages": "dev-master"
Then run composer update
.
Your user model also needs to implement ScubaClick\Pages\Contracts\AuthorInterface
. It's only one method getFullName()
and should return the full name of the user, funnily enough.
Laravel-specific Installation
Add the following in app/config/app.php to the service providers array:
'ScubaClick\Pages\PagesServiceProvider',
To change the configuration values, run the following command in the console:
php artisan config:publish scubaclick/pages
Notes
Please note that ScubaClick Pages does not provide any templates or controllers, only the models, migrations and repositories. You will have to implement these yourself.
License
ScubaClick Pages is licenced under the MIT license.