S
S
Slon2017-04-19 20:33:00
Laravel
Slon, 2017-04-19 20:33:00

How to quickly create typical sites on Laravel?

I regularly make simple sites on laravel. Type functionality: news, gallery, multilingual, contact form, etc. Every time it takes a lot of time to install all the necessary modules, the same controllers every time (which I copy from one project to another), node, bootstrap, sass, js.
I was wondering if there is any solution to automate all this. Some kind of script, at the start you specify what you need (for example, news and a gallery), and then it installs all the necessary modules, configs, migrations, controllers and models.
Haven't come across something like this? Or maybe there are ideas how to do it?

Answer the question

In order to leave comments, you need to log in

8 answer(s)
M
mamayama, 2017-04-20
@mamayama

Meaningless.
To create quickly typical is to CMS. And the technology you choose is a framework. Which involves sharpening for a specific task.
This is not a fast path a priori.

K
Konstantin B., 2017-04-19
@Kostik_1993

Can you do all this in the form of composer packages and write everything you need in composer.json

A
Alexander, 2017-04-19
@kentuck1213

You can use Laravel CRUD, or even better, write simple sites in WordPress or another CMS.

N
Nikolai Parotikov, 2017-04-27
@parotikov

Try October CMS. It works on top of Lara. Surprised you didn't google laravel+cms.
Your functionality is rendered into plugins that are modular, independent and portable (namespaces, migrations, everything)
. The whole routine is automated. Typical functionality is made in the form of plugins in the marketplace (multilanguage, contact form). New functionality (such as news, gallery, CRUD) takes from 10 minutes.
Here I already answered a similar question:
OctoberCMS - Is it suitable as a basis for a web-studio?
https://vk.com/laravel_eng?w=wall-53758340_33047

U
UksusoFF, 2017-04-19
@UksusoFF

https://github.com/nWidart/laravel-modules this looks very similar to what you need.

A
Alexey Budaev, 2017-04-27
@Markus_Kane

I will offer an option for creating your own boilerplate, in which you can immediately specify the necessary packages for typical tasks in the dependencies.
And in the project itself, you can also implement basic routing, some controllers, etc. out of the box.
For the admin panel and CRUD generation, you can use Backpack - a pretty good package, it has several additional packages, including page generation and user role management.
And, of course, make it so that you can install via composer create-project.
With all these actions, you will immediately reduce a lot of time for a routine.

A
Alexander Alexandrovich, 2017-04-20
@tatu

The admin panel with generation is most likely suitable for you, look at
https://github.com/the-control-group/voyager
https://github.com/laravel-backpack
https://github.com/TheOrchid/Platform
Write a module and bring it to the composer, and with each project, just specify it.

D
dummyman, 2017-04-20
@dummyman

I'm not sure that everything you need is there, but you can always add your plugins under this structure. Simple website generator with KeystoneJS admin panel .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question