Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sub folder support #110

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

iMokhles
Copy link
Contributor

added support for sub folders
by passing 2nd argument Crud files will be created under this folder name
it's useful to organize your project
and added other option --rf which create a route with the name of the folder you setted

here's an example

the following command
php artisan backpack:crud DevAccount Apple --rf

will create the following files
Capture d’écran 2021-02-28 à 15 33 46
Capture d’écran 2021-02-28 à 15 33 59
Capture d’écran 2021-02-28 à 15 34 07

and here's the route ( with --rf )
Capture d’écran 2021-02-28 à 15 34 21
and here's the sidebar item
Capture d’écran 2021-02-28 à 15 34 27

without --rf the routes will be created normally without /{foldername}

@stale
Copy link

stale bot commented Jun 26, 2021

Hi there!

Is this still an issue? No activity in 60 days. I'm going to mark it as stale for now, and close it in 14 days if no further activity occurs. I know you guys are all busy, but if this is important to you please reply or something, so I know not to close it.

Thank you!

--
Justin Case
The Backpack Robot

@stale stale bot added the stale label Jun 26, 2021
@tabacitu tabacitu removed the stale label Jun 28, 2021
@stale
Copy link

stale bot commented Nov 28, 2021

Hi there!

Is this still an issue? No activity in 60 days. I'm going to mark it as stale for now, and close it in 14 days if no further activity occurs. I know you guys are all busy, but if this is important to you please reply or something, so I know not to close it.

Thank you!

--
Justin Case
The Backpack Robot

@stale stale bot added the stale label Nov 28, 2021
@tabacitu tabacitu removed the stale label Nov 28, 2021
Copy link

stale bot commented Feb 11, 2024

Hi there!

Is this still an issue? No activity in 60 days. I'm going to mark it as stale for now, and close it in 14 days if no further activity occurs. I know you guys are all busy, but if this is important to you please reply or something, so I know not to close it.

Thank you!

--
Justin Case
The Backpack Robot

@stale stale bot added the stale label Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants