graham-campbell/cms-contact
graham-campbell/cms-contact adds contact form and message handling to Laravel CMS applications. It provides models, migrations, and routes for receiving enquiries, storing submissions, and integrating contact functionality into your site.
This is an early alpha (0.2.0-alpha) of a package that explicitly targets only Laravel 4.1 — treat it as a pre-1.0 library with no backwards-compatibility promise. Before anything else, confirm your app is actually on Laravel 4.1 and PHP ≥ 5.3.7; there is no 4.2/5.x support and no auto-discovery.
minimum-stability is stable, so an alpha will not resolve without one:
"vendor/package": "0.2.*@alpha"
Then composer update vendor/package.app/config/app.php (providers array), and add any facade alias to aliases if the docs list one. Laravel 4.1 has no package discovery.php artisan config:publish vendor/package. Re-read the published file after every package bump — Laravel will not overwrite it.App::make(...)) in a tinker-style route or a single test, rather than wiring it into a controller. On an alpha, prove the binding works before designing around it.If the docs are thin, run the package's own test suite locally — "tweaked unit tests" in this release usually means the tests are the most accurate description of intended behaviour available.
new. Call the provider-registered binding (App::make('package.alias')) so you can substitute a mock in tests and so a later binding-key change is a one-line fix.0.3 will break something; a single seam keeps the blast radius to one file.Config::get('package::key') (Laravel 4.1's namespaced config) instead of hardcoding values, and keep your overrides in app/config/packages/vendor/package/.php artisan migrate --package="vendor/package"; during package development use --bench.composer.lock, and avoid dev-master — an alpha plus a moving branch is two variables at once. If you must track dev, use a branch alias deliberately and re-run the suite on every pull.App::instance(...) swap plus Mockery for the package's collaborators; use the package's own tests as the behaviour spec when docs are ambiguous.composer dump-autoload -o, remove stale classmap entries, and check the namespace in your provider registration still matches. This is the most likely silent breakage in this bump.@alpha flag surfaces as an unhelpful "could not find package" solver error. Add prefer-stable: true if you mix this with other deps.src/config/ against your app/config/packages/ copy or you will silently run old defaults.app/storage/logs/laravel.log. If a binding resolves but behaves oddly, php artisan dump-autoload and a fresh config:publish clear most self-inflicted issues.composer show vendor/package) next to the README snapshot. When 0.3 arrives, that pairing is what lets you diff behaviour instead of guessing.How can I help you explore Laravel packages today?